47beb398a400ba09b5c9b101d744268b1701e84d
angie
Mon Aug 3 16:44:18 2015 -0700
Doh, wgEncodeRegDnaseClusteredV3 is out on the RR and wgEncodeRegDnaseClusteredV2
is not, so hgVai wasn't showing a DNase option.
TODO: use the new columns in wgEncodeRegDnaseClusteredV3 to support filtering
by cell type.
diff --git src/hg/hgVai/hgVai.c src/hg/hgVai/hgVai.c
index 1ce2da0..e0c731e 100644
--- src/hg/hgVai/hgVai.c
+++ src/hg/hgVai/hgVai.c
@@ -726,31 +726,31 @@
{
if (!gotSnp)
return;
startCollapsibleSection("dbSnp", "Known variation", TRUE);
cartMakeCheckBox(cart, "hgva_rsId", TRUE);
printf("Include dbSNP "
"rs# ID if one exists
\n");
puts("
");
endCollapsibleSection();
}
boolean isRegulatoryTrack(struct trackDb *tdb, void *filterData)
/* For now, just look for a couple specific tracks by tableName. */
{
//#*** NEED METADATA
-return (sameString("wgEncodeRegDnaseClusteredV2", tdb->table) ||
+return (sameString("wgEncodeRegDnaseClusteredV3", tdb->table) ||
sameString("wgEncodeRegTfbsClusteredV3", tdb->table));
}
struct slRef *findRegulatoryTracks()
/* Look for the very limited set of Regulation tracks that hgVai offers. */
{
struct slRef *regTrackRefList = NULL;
tdbFilterGroupTrack(fullTrackList, fullGroupList, isRegulatoryTrack,
NULL, NULL, ®TrackRefList);
return regTrackRefList;
}
void selectRegulatory()
/* If trackRefList is non-NULL, make a section with a checkbox for each track,
* labelled with longLabel, and optionally some filtering options. */