diff macros.xml @ 0:d1116f934d3d draft

planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/freebayes commit fa47457b312f36cead164f993d46bcc31d13fe57
author sanbi-uwc
date Thu, 25 Jan 2018 06:52:44 -0500
parents
children f4b99437b6b3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Thu Jan 25 06:52:44 2018 -0500
@@ -0,0 +1,49 @@
+<macros>
+    <token name="@DEPENDENCY_VERSION@">1.1.0.46</token>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="@DEPENDENCY_VERSION@">freebayes</requirement>
+            <requirement type="package" version="0.1.19">samtools</requirement>
+            <yield />
+        </requirements>
+    </xml>
+    <xml name="citations">
+        <citations>
+            <citation type="bibtex">
+                @misc{1207.3907,
+                    Author = {Erik Garrison},
+                    Title = {Haplotype-based variant detection from short-read sequencing},
+                    Year = {2012},
+                    Eprint = {arXiv:1207.3907},
+                    url = {http://arxiv.org/abs/1207.3907}
+                }
+            </citation>
+            <yield />
+        </citations>
+    </xml>
+    <xml name="validation">
+        <validator type="unspecified_build" />
+        <validator type="dataset_metadata_in_data_table" table_name="fasta_indexes" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." />
+    </xml>
+    <xml name="input_bam">
+        <conditional name="batchmode">
+            <param name="processmode" type="select" label="Run in batch mode?" help="Selecting individual mode will generate one VCF dataset for each input BAM dataset. Selecting the merge option will produce one VCF dataset for all input BAM datasets" display="radio">
+                <option value="individual" selected="true">Run individually</option>
+                <option value="merge">Merge output VCFs</option>
+            </param>
+            <when value="individual">
+                <param name="input_bams" type="data" format="bam" label="BAM dataset">
+                    <yield />
+                </param>
+            </when>
+            <when value="merge">
+                <param name="input_bams" type="data" format="bam" multiple="true" label="BAM dataset(s)">
+                    <yield />
+                </param>
+            </when>
+        </conditional>
+    </xml>
+    <xml name="par_min_cov">
+        <param name="min_coverage" argument="--coverage" type="integer" value="0" label="Require at least this coverage to process a site" />
+    </xml>
+</macros>