3ba9819d796643362d5bdbc6996b21ee16dfd6eb braney Tue Sep 24 15:08:16 2019 -0700 add a new function to bigBed to get any field's column diff --git src/inc/bigBed.h src/inc/bigBed.h index 9ee6f0b..28165d3 100644 --- src/inc/bigBed.h +++ src/inc/bigBed.h @@ -131,17 +131,19 @@ // Get asObject associated with bigBed file, or the default. boolean bigBedFileCheckSigs(char *fileName); /* check file signatures at beginning and end of file */ struct bptFile *bigBedOpenExtraIndex(struct bbiFile *bbi, char *fieldName, int *retFieldIx); /* Return index associated with fieldName. Aborts if no such index. Optionally return * index in a row of this field. */ struct slName *bigBedListExtraIndexes(struct bbiFile *bbi); /* Return list of names of extra indexes beyond primary chrom:start-end one" */ int bbExtraFieldIndex(struct bbiFile *bbi, char* fieldName); /* return the index of a given extra field */ +int bbFieldIndex(struct bbiFile *bbi, char* fieldName); +/* return the index of a given field. Return -1 if not found. */ #endif /* BIGBED_H */