5be304c4bdd41bd4452a4b9f1b8fcf37930079e4 braney Fri Feb 3 11:09:59 2017 -0800 allow arbitrary fields with a bigBed file to be used for labels. #18782 diff --git src/inc/basicBed.h src/inc/basicBed.h index 9388613..4d89dc1 100644 --- src/inc/basicBed.h +++ src/inc/basicBed.h @@ -24,30 +24,31 @@ /* The following items are not loaded by the bedLoad routines. */ int score; /* Score - 0-1000 */ /* Should be uint but there are still some ct users with neg values, .as DOES say uint */ char strand[2]; /* + or -. */ 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. */ + char *label; /* Label to use on element if bigBed. */ }; #define bedKnownFields 15 /* Maximum known fields in bed */ #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 */ };