Repository 'allele_counts'
hg clone https://toolshed.g2.bx.psu.edu/repos/nick/allele_counts

Changeset 7:a72277535a2c (2015-12-09)
Previous changeset 6:df3b28364cd2 (2015-12-09) Next changeset 8:411adeff1eec (2016-08-23)
Commit message:
allele-counts.xml: Fix bug causing crash when no seed is given.
modified:
allele-counts.xml
b
diff -r df3b28364cd2 -r a72277535a2c allele-counts.xml
--- a/allele-counts.xml Wed Dec 09 11:20:51 2015 -0500
+++ b/allele-counts.xml Wed Dec 09 11:37:02 2015 -0500
b
@@ -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"/>