annotate micro_decon.xml @ 0:bd267e082f86 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
author iuc
date Wed, 06 Aug 2025 08:38:24 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
1 <tool name="micro_decon" id="micro_decon" version="@TOOL_VERSION@+@VERSION_SUFFIX@" profile="24.2" license="@LICENSE@">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
2 <description>removing contamination from metabarcoding</description>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
3 <macros>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
4 <import>macros.xml</import>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
5 </macros>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
7 <expand macro="creators"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
9 Rscript '$__tool_directory__/decon.R'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
10 --mode $function_cond.function_selector
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
11 --data_file '$input_table'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
12 #set mode = $function_cond.function_selector
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
13 #if $mode != 'remove_thresh':
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
14 --numb_blanks '$function_cond.numb_blanks'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
15 #end if
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
16
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
17 #if $mode != 'remove_cont'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
18 --numb_ind 'c($function_cond.numb_ind)'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
19 #end if
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
20
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
21 #if $mode in ['decon', 'remove_cont']:
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
22 --runs '$function_cond.runs'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
23 --regression '$function_cond.regression'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
24 --low_threshold '$function_cond.low_threshold'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
25 --up_threshold '$function_cond.up_threshold'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
26 #end if
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
27
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
28 #if $mode in ['decon', 'remove_thresh']:
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
29 --thresh '$function_cond.thresh'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
30 --prop_thresh '$function_cond.prop_thresh'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
31 #end if
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
32
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
33 #if $mode == 'decon_diff':
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
34 --output '$function_cond.output'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
35 #end if
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
36 --taxa '$taxa'
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
37 ]]></command>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
38 <inputs>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
39 <param name="input_table" type="data" format="csv,tsv,tabular" label="Input table"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
40 <param argument="--taxa" type="boolean" label="Does the input table contains taxonomy column?" value="true" truevalue="T" falsevalue="F"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
41 <conditional name="function_cond">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
42 <param name="function_selector" type="select" label="Select the microDecon function to apply">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
43 <option value="decon">decon</option>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
44 <option value="remove_cont">remove.cont</option>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
45 <option value="remove_thresh">remove.thresh</option>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
46 <option value="decon_diff">decon.diff</option>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
47 </param>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
48 <when value="decon">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
49 <expand macro="numb_blanks_arg"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
50 <expand macro="numb_ind_arg"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
51 <expand macro="runs_and_regression_args"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
52 <expand macro="thresh_args"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
53 </when>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
54 <when value="remove_cont">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
55 <expand macro="numb_blanks_arg"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
56 <expand macro="runs_and_regression_args"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
57 </when>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
58 <when value="remove_thresh">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
59 <expand macro="numb_ind_arg"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
60 <expand macro="thresh_args"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
61 </when>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
62 <when value="decon_diff">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
63 <param argument="--output" type="data" label="The output table of remove.cont or remove.thresh" format="csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
64 <expand macro="numb_blanks_arg"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
65 <expand macro="numb_ind_arg"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
66 </when>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
67 </conditional>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
68 </inputs>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
69 <outputs>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
70 <data name="decon_table" format="csv" label="${function_cond.function_selector} on ${on_string}: Decontaminated table" from_work_dir="decon_table.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
71 <data name="reads_removed" format="csv" label="${function_cond.function_selector} on ${on_string}: Reads removed" from_work_dir="reads_removed.csv">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
72 <filter>function_cond['function_selector'] != "remove_cont" and function_cond['function_selector'] != "remove_thresh"</filter>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
73 </data>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
74 <data name="difference_sum" format="csv" label="${function_cond.function_selector} on ${on_string}: Difference sum" from_work_dir="difference_sum.csv">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
75 <filter>function_cond['function_selector'] != "remove_cont" and function_cond['function_selector'] != "remove_thresh"</filter>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
76 </data>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
77 <data name="difference_mean" format="csv" label="${function_cond.function_selector} on ${on_string}: Difference mean" from_work_dir="difference_mean.csv">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
78 <filter>function_cond['function_selector'] != "remove_cont" and function_cond['function_selector'] != "remove_thresh"</filter>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
79 </data>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
80 <data name="otus_removed" format="csv" label="${function_cond.function_selector} on ${on_string}: OTUs removed" from_work_dir="OTUs_removed.csv">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
81 <filter>function_cond['function_selector'] != "remove_cont" and function_cond['function_selector'] != "remove_thresh"</filter>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
82 </data>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
83 </outputs>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
84 <tests>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
85 <test expect_num_outputs="5">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
86 <param name="input_table" value="input.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
87 <param name="taxa" value="true"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
88 <conditional name="function_cond">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
89 <param name="function_selector" value="decon"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
90 <param name="numb_ind" value="3,2"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
91 </conditional>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
92 <output name="decon_table" file="decon_table.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
93 <output name="reads_removed" file="reads_removed.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
94 <output name="difference_sum" file="difference_sum.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
95 <output name="difference_mean" file="difference_mean.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
96 <output name="otus_removed" file="otus_removed.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
97 </test>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
98 <test expect_num_outputs="1">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
99 <param name="input_table" value="input.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
100 <param name="taxa" value="true"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
101 <conditional name="function_cond">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
102 <param name="function_selector" value="remove_cont"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
103 </conditional>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
104 <output name="decon_table" file="remove_cont_decon_table.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
105 </test>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
106 <test expect_num_outputs="1">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
107 <param name="input_table" value="remove_cont_decon_table.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
108 <param name="taxa" value="true"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
109 <conditional name="function_cond">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
110 <param name="function_selector" value="remove_thresh"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
111 <param name="numb_ind" value="3,2"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
112 </conditional>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
113 <output name="decon_table" file="remove_thresh_decon_table.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
114 </test>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
115 <test expect_num_outputs="5">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
116 <param name="input_table" value="input.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
117 <param name="taxa" value="true"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
118 <conditional name="function_cond">
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
119 <param name="function_selector" value="decon_diff"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
120 <param name="numb_ind" value="3,2"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
121 <param name="output" value="remove_thresh_decon_table.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
122 </conditional>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
123 <output name="decon_table" file="decon_table.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
124 <output name="reads_removed" file="reads_removed.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
125 <output name="difference_sum" file="difference_sum.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
126 <output name="difference_mean" file="difference_mean.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
127 <output name="otus_removed" file="otus_removed.csv"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
128 </test>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
129 </tests>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
130 <help><![CDATA[
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
131 microDecon
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
132 ==========
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
133 The microDecon package is designed to remove contaminant reads from
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
134 metabarcoding studies (e.g., from bacterial contamination in reagents during a microbiome
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
135 study).
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
136
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
137 Input
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
138 ------
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
139 A table of metabarcoding data structured as a data
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
140 frame where each row is an OTU (or ASV or other metabarcoding output), each column is an
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
141 individual sample, and each cell contains the number of reads for a given OTU for a given
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
142 individual. Additionally, the first column should contain OTU IDs (these can be numeric or
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
143 characters), and the last column should (optionally) contain taxonomic information.
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
144
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
145 Functions
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
146 ---------
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
147 * **decon**: This is a wrapper function for all other microDecon functions. t first decontaminates the data using remove.cont(), then it runs remove.thresh(), then it runs decon.diff().
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
148 * **remove.cont**: This is the primary function for removing contamination. It outputs a single OTU table of decontaminated results (OTUs that were entirely contamination are still included as rows of 0s).
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
149 * **remove.thresh**: This function removes residual contamination in the output from remove.cont().
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
150 * **decon.diff**: This function takes the output of either remove.cont() or remove.thresh() as well your original, contaminated data, and it returns summary statistics of how many OTUs were removed.
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
151
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
152 Outputs
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
153 --------
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
154 * **Decontaminated table**: A table of decontaminated OTU data.
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
155 * **Reads removed**: An OTU table showing the number of removed reads form each OTU.
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
156 * **Difference sum**: The total number of removed reads from each OTU that amplified in the blank.
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
157 * **Difference mean**: The average number of removed reads from each OTU that amplified in the blank.
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
158 * **removed OTUs**: A table including the OTU identifiers which were completely removed from either particular groups or the entire data set.
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
159
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
160 For further information visit the complete `docs <https://github.com/donaldtmcknight/microDecon/blob/master/microDecon%20user's%20guide%201.0.2%20updated.pdf>`_
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
161
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
162 ]]></help>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
163 <expand macro="citations"/>
bd267e082f86 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/micro_decon/ commit bb37578aa61bf4a47af262e02baf0a1c1d9d02c6
iuc
parents:
diff changeset
164 </tool>