changeset 16:25e8f4cf2a81

allele-counts.xml: Fix bug causing failure when no seed is provided.
author nicksto <nmapsy@gmail.com>
date Wed, 09 Dec 2015 11:31:13 -0500
parents 2aa561f29da4
children 44c3abd1b767
files allele-counts.xml
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/allele-counts.xml	Wed Dec 09 11:13:51 2015 -0500
+++ b/allele-counts.xml	Wed Dec 09 11:31:13 2015 -0500
@@ -1,6 +1,10 @@
 <tool id="allele_counts_1" version="1.2" name="Variant Annotator">
   <description> process variant counts</description>
-  <command interpreter="python">allele-counts.py -i $input -o $output -f $freq -c $covg $header $stranded $nofilt -r $seed</command>
+  <command interpreter="python">allele-counts.py -i $input -o $output -f $freq -c $covg $header $stranded $nofilt
+  #if $seed:
+    -r $seed
+  #end if
+  </command>
   <inputs>
     <param name="input" type="data" format="vcf" label="Input variants from Naive Variants Detector"/>
     <param name="freq" type="float" value="1.0" min="0" max="100" label="Minor allele frequency threshold" help="in percent"/>