Skip to content

Commit

Permalink
print message and changed -e output file
Browse files Browse the repository at this point in the history
  • Loading branch information
mshakya committed Jul 31, 2020
1 parent 4358f96 commit 2f05cbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/phame/nucmer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ sub run_show_snps {
File::Spec->catpath( $outdir, "nucmer", $prefix . '.snpfilter' );
my $snp_file = File::Spec->catpath( $outdir, "nucmer", $prefix . '.snps' );
if ( -e $snp_file ) {
print "nucmer already complete for $prefix.\n";
print "show-snps already complete for $prefix.\n";
}
else {
my $snp_command1 = "show-snps -CT $snpfilter_file > $snp_file";
Expand All @@ -122,8 +122,8 @@ sub run_show_coords {

my $coord_file =
File::Spec->catpath( $outdir, "nucmer", $prefix . '.coords' );
if ( -e $gfilt_file ) {
print "nucmer already complete for $prefix.\n";
if ( -e $coord_file ) {
print "show-coords already complete for $prefix.\n";
}
else {
my $coords_command1 = "show-coords -clTr $gfilt_file > $coord_file";
Expand Down

0 comments on commit 2f05cbf

Please sign in to comment.