Mercurial > repos > dfornika > snippy
diff snippy_core_wrapper.pl @ 20:3bbfe41787af draft
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
author | dfornika |
---|---|
date | Fri, 08 Mar 2019 20:46:56 -0500 |
parents | 8a6b951f6ec2 |
children |
line wrap: on
line diff
--- a/snippy_core_wrapper.pl Thu Jan 24 14:19:32 2019 -0500 +++ b/snippy_core_wrapper.pl Fri Mar 08 20:46:56 2019 -0500 @@ -18,7 +18,7 @@ use File::Copy; use File::Basename; -my(@Options, $indirs, $noref); +my(@Options, $indirs, $ref); setOptions(); my @list_of_dirs = split /\s+/, $indirs; @@ -44,7 +44,7 @@ my $commandline = "snippy-core "; -$commandline .= "--noref " if $noref; +$commandline .= " --ref $ref " if $ref; $commandline .= join(" ", @snippy_outs); print STDERR "snippy-core commandline: $commandline\n"; @@ -58,7 +58,7 @@ @Options = ( {OPT=>"help", VAR=>\&usage, DESC=>"This help"}, - {OPT=>"noref!", VAR=>\$noref, DEFAULT=>0, DESC=>"Don't include the reference in the alignment."}, + {OPT=>"ref=s", VAR=>\$ref, DEFAULT=>"", DESC=>"Reference genome."}, {OPT=>"indirs=s", VAR=>\$indirs, DEFAULT=>"", DESC=>"A whitespace delimited list of the snippy output zipped dirs."}, );