2521d696f5073ce8cee3f59f423f161fdb77d550 max Fri Sep 25 02:48:37 2026 -0700 VCF tracks: the bigBed trackDb filters (filter.*, filterByRange, filterLimits, filterValues, filterType, filterText, filterLabel) now work on INFO fields, plus ID and QUAL. The field list and types come from the VCF header; the bigBed filter code is reused, bigBed behavior unchanged, refs #37617 diff --git src/hg/inc/vcfUi.h src/hg/inc/vcfUi.h index f19e1554fd6..757c2e547a6 100644 --- src/hg/inc/vcfUi.h +++ src/hg/inc/vcfUi.h @@ -75,16 +75,22 @@ void vcfCfgHaplotypeCenter(struct cart *cart, struct trackDb *tdb, char *track, boolean parentLevel, struct vcfFile *vcff, char *thisName, char *thisChrom, int thisPos, char *formName); /* If vcff has genotype data, show status and controls for choosing the center variant * for haplotype clustering/sorting in hgTracks. */ struct slPair *vcfPhasedGetSampleOrder(struct cart *cart, struct trackDb *tdb, boolean parentLevel, boolean hideOtherSamples); /* Parse out a trio sample order from trackDb */ void vcfCfgUi(struct cart *cart, struct trackDb *tdb, char *name, char *title, boolean boxed); /* Complete track controls for VCF. */ char *vcfHaplotypeOrSample(struct cart *cart); /* Return "Sample" if the current organism is uniploid (like SARS-CoV-2), "Haplotype" otherwise. */ +struct asObject *vcfInfoAsObj(struct cart *cart, struct trackDb *tdb); +/* Return a pseudo-autoSql object that describes the fields of a VCF track that can be used by the + * generic trackDb filters (filter.*, filterText.*, filterValues.* etc): one column per INFO + * definition in the VCF header, named by the INFO key, with the header's Description as comment, + * followed by the fixed columns ID and QUAL. Returns NULL if the file cannot be opened. */ + #endif//def VCF_UI