diff complexity_fasta.xml @ 0:1f1214983a1c draft default tip

planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
author nml
date Mon, 20 Jun 2022 20:05:57 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/complexity_fasta.xml	Mon Jun 20 20:05:57 2022 +0000
@@ -0,0 +1,43 @@
+<tool id="complexity_fasta" name="Complexity FASTA" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">    
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <command detect_errors="exit_code"><![CDATA[
+
+        quasitools complexity fasta '$input_fasta' -o output.csv
+
+    ]]></command>
+    <inputs>
+        <param name="input_fasta" type="data" format="fasta" optional="false" label="input file" />  
+    </inputs>
+    <outputs>
+        <data format="csv" name="output" from_work_dir="output.csv" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="input_fasta" value="msa.fasta" />
+            <output name="output">
+                <assert_contents>
+                    <has_text text="Number of Haplotypes" />
+		    <has_text text="8" />
+                    <has_text text="0.75" />
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
+   
+    <help><![CDATA[
+Quasispecies Complexity
+=======================
+
+Measure the complexity of quasispecies reads using a variety of measures. The input must be an aligned FASTA file, representing a particular reqion of quasispcies from which to measure the complexity.
+
+The measures of complexity are taken from the following work:
+
+Gregori, Josep, et al. "Viral quasispecies complexity measures." Virology 493 (2016): 227-237.
+
+
+]]></help>
+    <expand macro="citations" />
+</tool>