Skip to content

Commit

Permalink
Merge pull request #77 from hkchi/patch-2
Browse files Browse the repository at this point in the history
Update EDTA_raw.pl
  • Loading branch information
oushujun authored Apr 4, 2020
2 parents 42e05af + f7c68ae commit 07c90c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EDTA_raw.pl
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,11 @@
chdir '../..';

# check results
$date=`date`;
chomp ($date);
die "Error: TIR results not found!\n\n" unless -e "$genome.EDTA.raw/$genome.TIR.raw.fa";
if (-s "$genome.EDTA.raw/$genome.TIR.raw.fa"){
print STDERR "Finish finding TIR candidates.\n\n";
print STDERR "$date\tFinish finding TIR candidates.\n\n";
} else {
`touch "$genome.EDTA.raw/$genome.TIR.raw.fa"`;
print STDERR "Warning: The TIR result file has 0 bp!\n\n";
Expand Down

0 comments on commit 07c90c2

Please sign in to comment.