Skip to content

Commit

Permalink
Remove -p from mash for compat with v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tseemann committed Oct 8, 2018
1 parent 2dd22d1 commit 3fe8e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/shovill
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use POSIX qw(strftime);

# Globals
my $EXE = basename($PROGRAM_NAME);
my $VERSION = "1.0.3";
my $VERSION = "1.0.4";
my $AUTHOR = "Torsten Seemann";
my $URL = "https://github.com/tseemann/shovill";
my $BAM = "$EXE.bam";
Expand Down Expand Up @@ -148,7 +148,7 @@ unless ($gsize) {
my $minkc = 3;
my $mincov = 25;
my $tmpout = File::Temp->newdir();
run_cmd("mash sketch -o $tmpout/sketch -p $cpus -k 32 -m $minkc -r \Q$R1\E");
run_cmd("mash sketch -o $tmpout/sketch -k 32 -m $minkc -r \Q$R1\E");
unlink "$tmpout/sketch.msh";
my($bp) = grep { m/Estimated genome size/i } read_lines($LOGFILE);
$bp =~ m/(\S+)$/ or err("Could not determine genome size from '$bp'");
Expand Down

0 comments on commit 3fe8e19

Please sign in to comment.