84fc7dd7df5303df374f00530a8d590ae550e5db angie Wed Aug 10 08:12:11 2011 -0700 Feature #3710 (vcfTabix UI options): added option to use pgSnp colors instead of blueRef/redAlt in haplotype sorting display. diff --git src/hg/inc/vcfUi.h src/hg/inc/vcfUi.h index fa28053..02e5afd 100644 --- src/hg/inc/vcfUi.h +++ src/hg/inc/vcfUi.h @@ -1,23 +1,27 @@ /* vcfUi - Variant Call Format user interface controls that are shared * between more than one CGI. */ #ifndef VCFUI_H #define VCFUI_H #include "cart.h" #include "trackDb.h" #include "vcf.h" #define VCF_HAP_HEIGHT_VAR "hapClusterHeight" #define VCF_DEFAULT_HAP_HEIGHT 128 #define VCF_HAP_ENABLED_VAR "hapClusterEnabled" +#define VCF_HAP_COLORBY_VAR "hapClusterColorBy" +#define VCF_HAP_COLORBY_REFALT "refAlt" +#define VCF_HAP_COLORBY_BASE "base" + void vcfCfgHaplotypeCenter(struct cart *cart, struct trackDb *tdb, 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. */ void vcfCfgUi(struct cart *cart, struct trackDb *tdb, char *name, char *title, boolean boxed); /* Complete track controls for VCF. */ #endif//def VCF_UI