diff humann2_reduce_table.xml @ 0:947012405a6e draft

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit dd6f3fda4d992efa4a91ee0823ecc3af8a9532d3-dirty
author bebatut
date Thu, 17 Dec 2015 08:58:05 -0500
parents
children 0d3d44f13122
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/humann2_reduce_table.xml	Thu Dec 17 08:58:05 2015 -0500
@@ -0,0 +1,72 @@
+<tool id="humann2_reduce_table" name="Reduce HUMAnN2 table" version="0.1.0">
+    <description></description>
+
+    <requirements>
+        <requirement type="package" version="2.2.4">bowtie2</requirement>
+        <requirement type="package" version="2.0">metaphlan2</requirement>
+        <requirement type="package" version="0.6.13">diamond</requirement>
+        <requirement type="package" version="2.0">humann2</requirement>
+    </requirements>
+
+    <stdio>
+        <exit_code range="1:" />
+    </stdio>
+
+    <version_command>
+<![CDATA[
+    humann2_reduce_table --version
+]]>
+    </version_command>
+
+    <command><![CDATA[
+        humann2_reduce_table
+            -i $input_table
+            -o $output_table
+            --function $function
+            --sort-by $sort 
+    ]]></command>
+
+    <inputs>
+        <param name="input_table" type="data" format="tsv" label="Gene/pathway 
+            table" help=""/>
+
+        <param name="function" type="select" label="Function to apply" help="(--function)">
+            <option value="max" selected="true">Max</option>
+            <option value="sum">Sum</option>
+            <option value="mean">Mean</option>
+            <option value="min">Min</option>
+        </param>
+
+        <param name="sort" type="select" label="How to sort the output" help="(--sort-by)">
+            <option value="name" selected="true">Name</option>
+            <option value="value">value</option>
+            <option value="level">level</option>
+        </param>
+    </inputs>
+
+    <outputs>
+        <data format="tsv" name="output_table" label="Reduced table for 
+            ${on_string} (HUMAnN2)" />
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="input_table" value="humann2_sam_pathcoverage.tsv"/>
+            <param name="function" value="max"/>
+            <param name="sort" value="name"/>
+            <output name="output_table" file="humann2_sam_reduced_pathcoverage.tsv"/>
+        </test>
+    </tests>
+
+    <help><![CDATA[
+        **What it does**
+
+        Reduce HUMAnN2 table is a tool to reduce the table given a function (max, sum, mean or min).
+
+        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>`_.
+
+    ]]></help>
+
+    <citations>
+    </citations>
+</tool>
\ No newline at end of file