Skip to content

Commit

Permalink
fixed --paired option and the build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Zimin committed Jun 14, 2022
1 parent ddd8083 commit 44fbd89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/krakenuniq
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,15 @@ if ($paired) {
}

my $cmd = $use_exact_counting? $CLASSIFY_EXACT : $CLASSIFY;
print STDERR "$cmd @flags @ARGV\n";
print STDERR "$cmd @flags\n";
if (defined $report_file) {
my $mycmd = qx/ps -o args= $$/;
open(my $RF, ">", $report_file) or die "Could not open report file for writing";
print $RF "# KrakenUniq v#####=VERSION=##### DATE:$date DB:@db_prefix DB_SIZE:$db_size WD:$wd\n# CL:$mycmd\n";
close($RF)
}
exec $cmd, @flags, @ARGV;
die "$PROG: exec error: $!\n";
system("$cmd @flags @ARGV");
#die "$PROG: exec error: $!\n";
if ($paired) {
unlink("$DIR/merged.fa");
unlink("$DIR/merged.err");
Expand Down

0 comments on commit 44fbd89

Please sign in to comment.