Mercurial > repos > erasmus-medical-center > mycrobiota
comparison correct_replicates.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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:607c5e7e0a64 |
---|---|
1 <tool id="mycrobiota-correct-replicates" name="Correct counts" version="0.6"> | |
2 <description>in a mothur shared file for replicates and negative controls</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <command detect_errors="aggressive"><![CDATA[ | |
7 python '$__tool_directory__/mycrobiota.py' | |
8 --command correct_replicates | |
9 --shared '$shared' | |
10 --taxonomy '$taxonomy' | |
11 --replicate_suffix '$replicate_suffix' | |
12 --negative_control '$negative_control' | |
13 --nc_copies '$nc_copies' | |
14 --copies '$copies' | |
15 --negative_control_species '$negative_control_species' | |
16 ]]></command> | |
17 <inputs> | |
18 <param argument="--shared" type="data" format="mothur.shared" label="Select shared file"/> | |
19 <param argument="--taxonomy" type="data" format="mothur.ref.taxonomy,mothur.seq.taxonomy,mothur.cons.taxonomy" label="Select taxonomy file"/> | |
20 <param argument="--replicate_suffix" type="text" size="100" value="_replicate" label="Suffix used to indicated replicates" help="e.g. _R if files are named [sample]_R1, [sample]_R2 etc"/> | |
21 <param argument="--negative_control" type="text" optional="True" size="100" value="" label="sample name for your negative control (optional)" help="e.g. negative_control"/> | |
22 <param argument="--negative_control_species" type="text" optional="True" size="100" value="Oscillatoria" label="taxonomy of negative control" help="e.g. Oscillatoria"/> | |
23 <param argument="--nc_copies" type="integer" value="100" min="0" label="number of copies of control species in the negative control sample"/> | |
24 <param argument="--copies" type="integer" value="1000" min="0" label="number of copies of control species in the real samples"/> | |
25 </inputs> | |
26 <outputs> | |
27 <data name="corrected_out" format="mothur.shared" from_work_dir="shared_corrected.tsv" label="${tool.name} on ${on_string}: corrected shared file"/> | |
28 <data name="corrected_tax" format_source="taxonomy" from_work_dir="taxonomy_corrected.tsv" label="${tool.name} on ${on_string}: corrected taxonomy file"/> | |
29 <data name="corrected_out_avg" format="mothur.shared" from_work_dir="shared_averaged.tsv" label="${tool.name} on ${on_string}: averaged only shared file"/> | |
30 </outputs> | |
31 <tests> | |
32 <test> | |
33 <param name="shared" value="shared_tocorrect.tsv" ftype="mothur.shared"/> | |
34 <param name="taxonomy" value="otutable_tocorrect.taxonomy" ftype="mothur.cons.taxonomy"/> | |
35 <param name="replicate_suffix" value="_replicate"/> | |
36 <param name="negative_control" value="NC"/> | |
37 <output name="corrected_out" md5="a7bafe98a383b308b4f1f1681483091d" ftype="mothur.shared"/> | |
38 <output name="corrected_tax" md5="9cc44bec811b868bde9acbe5d857e4c9" ftype="mothur.cons.taxonomy"/> | |
39 </test> | |
40 </tests> | |
41 <help><![CDATA[ | |
42 **What it does** | |
43 averages the counts over all replicates of a sample in a mothur shared file | |
44 ]]></help> | |
45 <expand macro="citations"/> | |
46 </tool> |