src/hg/encode/encodeValidate/doEncodeValidate.pl 1.168
1.168 2009/03/15 02:00:04 larrym
validate all of wiggle files
Index: src/hg/encode/encodeValidate/doEncodeValidate.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeValidate/doEncodeValidate.pl,v
retrieving revision 1.167
retrieving revision 1.168
diff -b -B -U 4 -r1.167 -r1.168
--- src/hg/encode/encodeValidate/doEncodeValidate.pl 14 Mar 2009 07:26:56 -0000 1.167
+++ src/hg/encode/encodeValidate/doEncodeValidate.pl 15 Mar 2009 02:00:04 -0000 1.168
@@ -511,16 +511,10 @@
doTime("beginning validateWig") if $opt_timing;
HgAutomate::verbose(2, "validateWig($file,$type) -> wigEncode\n");
my @cmds;
- if(Encode::isZipped($filePath)) {
- # wigEncode knows how to handle zipped files.
+ # wigEncode knows how to handle zipped files so we do not need to special case them.
push(@cmds, "/cluster/bin/x86_64/wigEncode -noOverlapSpanData $filePath /dev/null /dev/null");
- } else {
- # XXXX why not do the whole thing, rather than just 1000 lines?
- push(@cmds, "head -1000 $filePath");
- push(@cmds, "/cluster/bin/x86_64/wigEncode -noOverlapSpanData stdin /dev/null /dev/null");
- }
# This can produce /data/tmp/SafePipe_NNN_.err files
my $safe = SafePipe->new(CMDS => \@cmds, STDOUT => "/dev/null", DEBUG => $opt_verbose - 1);
if(my $err = $safe->exec()) {
my $err = $safe->stderr();