a94512d116a2da4614b3115ed210101f30fbbbd2 braney Mon Jan 23 12:39:13 2017 -0800 make max length of chromosome name be 255 instead of 32. diff --git src/inc/basicBed.h src/inc/basicBed.h index cf9fe9f..9388613 100644 --- src/inc/basicBed.h +++ src/inc/basicBed.h @@ -28,31 +28,31 @@ unsigned thickStart; /* Start of where display should be thick (start codon for genes) */ unsigned thickEnd; /* End of where display should be thick (stop codon for genes) */ unsigned itemRgb; /* RGB 8 bits each */ unsigned blockCount; /* Number of blocks. */ int *blockSizes; /* Comma separated list of block sizes. */ int *chromStarts; /* Start positions inside chromosome. Relative to chromStart*/ int expCount; /* Experiment count */ int *expIds; /* Comma separated list of Experiment ids */ float *expScores; /* Comma separated list of Experiment scores. */ }; #define bedKnownFields 15 /* Maximum known fields in bed */ -#define BB_MAX_CHROM_STRING 32 /* Maximum string length for chromosome length */ +#define BB_MAX_CHROM_STRING 255 /* Maximum string length for chromosome length */ struct bed3 /* Browser extensible data - first three fields */ { struct bed3 *next; /* Next in singly linked list. */ char *chrom; /* Human chromosome or FPC contig */ unsigned chromStart; /* Start position in chromosome */ unsigned chromEnd; /* End position in chromosome */ }; struct bed3 *bed3New(char *chrom, int start, int end); /* Make new bed3. */ void bed3Free(struct bed3 **pBed); /* Free up bed3 */