diff allele-counts.xml @ 7:a72277535a2c

allele-counts.xml: Fix bug causing crash when no seed is given.
author nicksto <nmapsy@gmail.com>
date Wed, 09 Dec 2015 11:37:02 -0500
parents df3b28364cd2
children 6cc488e11544
line wrap: on
line diff
--- a/allele-counts.xml	Wed Dec 09 11:20:51 2015 -0500
+++ b/allele-counts.xml	Wed Dec 09 11:37:02 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"/>