8a0946dd6870f10cde056ba243f1fb4ec1fd16b4 angie Thu Feb 27 11:58:33 2014 -0800 Adding support for plain VCF custom tracks (as opposed to VCF+tabix),since users seem to want to upload VCF, and as long as the file is not too big it will work OK. This means adding a new track type vcf (as opposed to vcfTabix) and supporting it in hgTracks, hgTrackUi, hgc, hgTables and hgVai. (and others I've forgotten?) refs #12416 diff --git src/hg/hgc/hgc.h src/hg/hgc/hgc.h index f5731f2..746f71f 100644 --- src/hg/hgc/hgc.h +++ src/hg/hgc/hgc.h @@ -414,30 +414,33 @@ /* Wrapper to call printCustomUrlWithLabel using the url setting in trackDb */ void printDbSnpRsUrl(char *rsId, char *labelFormat, ...) /* Print a link to dbSNP's report page for an rs[0-9]+ ID. */ #ifdef __GNUC__ __attribute__((format(printf, 2, 3))) #endif ; void doBamDetails(struct trackDb *tdb, char *item); /* Show details of an alignment from a BAM file. */ void doVcfTabixDetails(struct trackDb *tdb, char *item); /* Show details of an alignment from a VCF file compressed and indexed by tabix. */ +void doVcfDetails(struct trackDb *tdb, char *item); +/* Show details of an alignment from an uncompressed VCF file. */ + void doMakeItemsDetails(struct customTrack *ct, char *itemIdString); /* Show details of a makeItems item. */ void doBedDetail(struct trackDb *tdb, struct customTrack *ct, char *itemName); /* generate the detail page for a custom track of bedDetail type */ void doPgSnp(struct trackDb *tdb, char *itemName, struct customTrack *ct); /* print detail page for personal genome track (pgSnp) */ void doGvf(struct trackDb *tdb, char *item); /* Show details for variants represented as GVF, stored in a bed8Attrs table */ void doGeneReviews(struct trackDb *tdb, char *itemName); /* generate the detail page for geneReviews */