diff humann2_renorm_table.xml @ 0:3d6f37e7e3a8 draft

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 7aadbbdef6da644837f62ea428cb859eeff34f04-dirty
author bebatut
date Thu, 26 May 2016 10:20:59 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/humann2_renorm_table.xml	Thu May 26 10:20:59 2016 -0400
@@ -0,0 +1,60 @@
+<tool id="humann2_renorm_table" name="Renormalize" version="0.6.1">
+    <description>a HUMAnN2 generated table</description>
+
+    <macros>
+        <import>humann2_macros.xml</import>
+    </macros>
+
+    <expand macro="requirements"/>
+    <expand macro="stdio"/>
+
+    <version_command>
+<![CDATA[
+    humann2_renorm_table --version
+]]>
+    </version_command>
+
+    <command><![CDATA[
+        humann2_renorm_table
+            -i $input_table
+            -o $output_table
+            --norm $norm
+    ]]></command>
+
+    <inputs>
+        <param name="input_table" type="data" format="tsv" label="Gene/pathway table" help="(-i)"/>
+
+        <param name="norm" type="select" label="Normalization scheme" help="(--norm)">
+            <option value="cpm" selected="true">Copies per million</option>
+            <option value="relab">Relative abundance</option>
+        </param>
+    </inputs>
+
+    <outputs>
+        <data format="tsv" name="output_table" label="${tool.name} on ${on_string}: Normalized table" />
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="input_table" value="expected_pathway_abundance.tsv"/>
+            <param name="norm" value="cpm"/>
+            <output name="output_table" file="cpm_renormalized_pathway_abundance.tsv"/>
+        </test>
+        <test>
+            <param name="input_table" value="expected_pathway_abundance.tsv"/>
+            <param name="norm" value="relab"/>
+            <output name="output_table" file="relab_renormalized_pathway_abundance.tsv"/>
+        </test>
+    </tests>
+
+    <help><![CDATA[
+**What it does**
+
+HUMAnN is a pipeline for efficiently and accuretly profiling the presence/absence and abundance of microbial pathways in a community from metagenomic or metatranscriptomic sequencing data. `Read more about the tool <http://huttenhower.sph.harvard.edu/humann2/manual>`_.
+
+Renorm HUMAnN2 table is a tool to renormalize a table, either in copies per million or in relative abundance. Each level of a stratified table will be normalized using the desired scheme.
+
+    ]]></help>
+
+    <expand macro="citations"/>
+</tool>
\ No newline at end of file