src/hg/encode/encodeValidate/doEncodeValidate.pl 1.161
1.161 2009/03/05 21:33:21 mikep
readType validator for Wold/Caltech
Index: src/hg/encode/encodeValidate/doEncodeValidate.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeValidate/doEncodeValidate.pl,v
retrieving revision 1.160
retrieving revision 1.161
diff -b -B -U 4 -r1.160 -r1.161
--- src/hg/encode/encodeValidate/doEncodeValidate.pl 5 Mar 2009 21:30:39 -0000 1.160
+++ src/hg/encode/encodeValidate/doEncodeValidate.pl 5 Mar 2009 21:33:21 -0000 1.161
@@ -165,8 +165,9 @@
mapAlgorithm => \&validateMapAlgorithm,
ripAntibody => \&validateRipAntibody,
ripTgtProtein => \&validateRipTgtProtein,
fragSize => \&validateFragSize,
+ readType => \&validateReadType,
freezeDate => \&validateFreezeDate,
replicate => \&validateReplicate,
species => \&validateSpecies,
);
@@ -274,8 +275,13 @@
my ($val) = @_;
return defined($terms{'fragSize'}{$val}) ? () : ("fragSize \'$val\' is not known");
}
+sub validateReadType {
+ my ($val) = @_;
+ return defined($terms{'readType'}{$val}) ? () : ("readType \'$val\' is not known");
+}
+
sub validateGeneType {
my ($val) = @_;
return defined($terms{'Gene Type'}{$val}) ? () : ("Gene type \'$val\' is not known");
}