diff snippy_core_wrapper.pl @ 2:1a3c85497d96 draft

planemo upload for repository https://github.com/tseemann/snippy commit 73ec6ea773b1b88f7c32a2e8bc57b644b82f7ff9-dirty
author dfornika
date Fri, 18 Jan 2019 22:46:34 -0500
parents 0276bb8bd561
children 8a6b951f6ec2
line wrap: on
line diff
--- a/snippy_core_wrapper.pl	Fri Jan 18 19:35:46 2019 -0500
+++ b/snippy_core_wrapper.pl	Fri Jan 18 22:46:34 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."},
   );