src/hg/encode/encodeValidate/doEncodeValidate.pl 1.197
1.197 2009/10/07 23:29:25 kate
Add support for specifying track group in DAF
Index: src/hg/encode/encodeValidate/doEncodeValidate.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeValidate/doEncodeValidate.pl,v
retrieving revision 1.196
retrieving revision 1.197
diff -b -B -U 4 -r1.196 -r1.197
--- src/hg/encode/encodeValidate/doEncodeValidate.pl 6 Oct 2009 00:53:03 -0000 1.196
+++ src/hg/encode/encodeValidate/doEncodeValidate.pl 7 Oct 2009 23:29:25 -0000 1.197
@@ -1041,9 +1041,13 @@
}
}
print OUT_FILE "shortLabel " . $daf->{lab} . " " . $daf->{dataType} . "\n"; # Default to lab datatype
print OUT_FILE "longLabel ENCODE " . $daf->{lab} . " " . $daf->{grant} . " " . $daf->{dataType} . "\n"; # Default to lab grant datatype
- print OUT_FILE "group regulation\n"; # This is just a guess. Buyer beware
+ my $group = "regulation"; # default (common case for ENCODE)
+ if (defined($daf->{group})) {
+ $group = $daf->{group};
+ }
+ print OUT_FILE "group $group\n";
print OUT_FILE $setting . "\n"; # "subGroup1 view Views Peaks=Peaks Signal=Signal RawSignal=Raw_Signal\n";
# Need to create N subgroups with M members each
if (defined($daf->{variables})) {