Mercurial > repos > erasmus-medical-center > mycrobiota
diff make_multi_otutable.xml @ 0:607c5e7e0a64 draft
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/galaxytools-emc/tree/master/tools/mycrobiota commit 1c4c58018b64ff3531a719e789ce71cb0a1244c5
author | erasmus-medical-center |
---|---|
date | Wed, 13 Dec 2017 10:09:50 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make_multi_otutable.xml Wed Dec 13 10:09:50 2017 -0500 @@ -0,0 +1,37 @@ +<tool id="mycrobiota-make-multi-otutable" name="Make multisample OTUtable" version="0.1"> + <description>from a shared and taxonomy file</description> + <macros> + <import>macros.xml</import> + </macros> + <command detect_errors="aggressive"><![CDATA[ + python '$__tool_directory__/mycrobiota.py' + --command make_multi_otutable + --shared_file '$shared_file' + --taxonomy '$taxonomy' + --level $level + ]]></command> + <inputs> + <param argument="--taxonomy" type="data" format="mothur.ref.taxonomy,mothur.seq.taxonomy,mothur.cons.taxonomy" label="Select mothur taxonomy file" help=""/> + <param argument="--shared_file" type="data" optional="true" format="mothur.shared" label="Supply a mothur shared file" help=""/> + <param argument="--level" type="select" optional="true" label="label - pick (one) OTU Label" help="leave blank for collections, will try to determine level from element names"> + <options> + <filter type="data_meta" ref="shared_file" key="labels"/> + </options> + </param> + </inputs> + <outputs> + <data name="multi_otutable" format="tabular" from_work_dir="multi_otutable.tsv" label="Multisample otutable on ${on_string}"/> + </outputs> + <tests> + <test> + <param name="taxonomy" value="multisample.taxonomy"/> + <param name="shared_file" ftype="mothur.shared" value="example.mothur.shared"/> + <param name="level" value="0.03"/> + <output name="multi_otutable" file="shared_with_taxonomy.tsv"/> + </test> + </tests> + <help><![CDATA[ + help text goes here + ]]></help> + <expand macro="citations"/> +</tool>