comparison rdpmulticlassifier/rdp_multi_classifier.xml @ 0:a73ae72b47aa draft default tip

Uploaded
author qfab
date Thu, 29 May 2014 02:27:56 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a73ae72b47aa
1 <tool id="rdpmulticlassifier" name="RDP MultiClassifier" version="1.1">
2 <description>Rapid Assignment of rRNA Sequences into the New Bacterial Taxonomy</description>
3 <command interpreter="bash">
4 #if $table.addotutable
5 rdpmulticlassifier.sh $gene $table.addotutable $input $otu $conf $hier $assign $otutable $format
6 #else
7 rdpmulticlassifier.sh $gene $table.addotutable $input NULL $conf $hier $assign NULL $format
8 #end if
9 </command>
10 <requirements>
11 <requirement type="package" version="1.1">rdp_multi_classifier_1.1</requirement>
12 </requirements>
13 <inputs>
14 <param name="gene" type="select" label="Select Gene Trainings Model" help="The Multi-Classifier provides two training models: 16S rRNA or Fungal LSU genes.">
15 <option value="16srrna" selected="true">16S rRNA</option>
16 <option value="fungallsu">Fungal LSU</option>
17 </param>
18 <conditional name="table">
19 <param name="addotutable" type="boolean" value="true" label="Select to generate an OTU Table" help="This is to complete the intermediate OTU Table generated by the 'Map Reads to OTU' tool of the metagenomics workflow. The intermediate OTU table and relabelled OTUs output files of the 'Map Reads to OTU' tool will be required." />
20 <when value="true">
21 <param name="input" type="data" format="fasta" label="Relabelled OTU input reads of the 'Map Reads to OTU' tool in FASTA format"/>
22 <param name="otu" type="data" format="tabular" label="PRE OTU table of the 'Map Reads to OTU' tool" />
23 </when>
24 <when value="false">
25 <param name="input" type="data" format="fasta" label="Input reads file in FASTA format"/>
26 </when>
27 </conditional> -->
28 <param name="conf" type="float" value="0.8" label="Assignment confidence cutoff" help="Specifies the assignment confidence cutoff used to determine the assignment count in the hierarchical format. Range [0-1], Default is 0.8. For sequences shorter than 250 base pairs, the confidence threshold 50% is recommended to improve classification coverage." />
29 <param name="format" type="select" label="Tab delimited output format" help="Please see the description below on the 'Tab delimited output format' options.">
30 <option value="allrank" selected="true">allrank</option>
31 <option value="fixrank">fixrank</option>
32 <option value="db">db</option>
33 </param>
34 </inputs>
35 <outputs>
36 <data name="hier" format="tabular" label="${tool.name} on ${on_string}:classification_assignment_hierarchical.tab" />
37 <data name="assign" format="tabular" label="${tool.name} on ${on_string}:classification_assignment_details.tab" />
38 <data name="otutable" format="tabular" label="${tool.name} on ${on_string}: OTU_Table.tab" >
39 <filter>table['addotutable']</filter>
40 </data>
41 </outputs>
42 <help>
43 ===========
44 Description
45 ===========
46
47 The RDP MultiClassifier allows rapid Assignment of rRNA sequences into the new bacterial taxonomy.
48 This version of the RDP MultiClassifier allows the completion of the intermediate OTU table generated by the USEARCH - 'Map Reads to OTU' tool of the metagenomics workflow.
49
50 -----
51
52 -----
53 Input
54 -----
55
56 **No OTU Table generation selected:**
57
58 A) File of reads in FASTA format.
59
60 .. class:: infomark
61
62 Input sequences should be at least 50bp for accurate results. Uppercase and lowercase formats are allowed.
63
64 **OTU Table generations is selected:**
65
66 A) Relabelled OTU input reads in FASTA format of the 'Map Reads to OTU' tool.
67
68 .. class:: warningmark
69
70 Please note the 'relabelled OTU' output of the 'Map Reads to OTU' tool is hidden. To access the hidden output, click on the cog wheel in the upper right corner of the History panel and select 'Include Hidden Datasets'. The output dataset will appear with a dialog box. Follow the instruction in the dialog box and click 'here' to unhide the dataset.
71
72
73 B) Pre-OTU Table of the 'Map Reads to OTU' tool in tabular format.
74
75 ----------
76 Parameters
77 ----------
78
79 Gene Trainings Model
80 RDP naive Bayesian Classifier offers two hierarchy models for 16S rRNA and Fungal LSU genes
81
82 OTU Table generation
83 For OTU Table generation, check the above checkbox and provide the intermediate OTU table (Pre-OTU Table) and the 'relabelled OTU' input reads of the 'Map Reads to OTU' tool of the metagenomics workflow.
84
85 Confidence cutoff
86 Used to determine the assignment count in the hierarchial format. Range[0-1], default is 0.8. For sequences shorter than 250 base pairs, the confidence threshold 50% is recommended to improve classification coverage.
87
88 Tab delimited output format
89 a) allrank: outputs the results for all ranks applied for each sequence: seqname, orientation, taxon name, rank, conf, etc
90 b) fixrank: only outputs the results for fixed ranks in order: domain, phylum, class, order, family, genus
91 c) db: outputs the seqname, trainset_no, tax_id, conf
92
93 ------
94 Output
95 ------
96
97 The tool generates 2 or 3 outputs depending if 'OTU Table generations' is selected.
98
99 **No OTU Table generation selected:**
100
101 (A) Sequence count for each taxon in the hierarchy in tab-format: classification_assignment_hierarchical.tab
102
103 (B) Sequence-by-sequence classification results including confidence scores at each level of the hierarchy in tab-format: classification_assignment_details.tab
104
105 **OTU Table generations is selected:**
106
107 (A) Sequence count for each taxon in the hierarchy in tab-format: classification_assignment_hierarchical.tab
108
109 (B) Sequence-by-sequence classification results including confidence scores at each level of the hierarchy in tab-format: classification_assignment_details.tab
110
111 (C) OTU Table in tab-format
112
113 -----
114
115 =========
116 Resources
117 =========
118
119 RDP_MultiClassifier_Tutorial_
120
121 .. _RDP_MultiClassifier_Tutorial: http://rdp.cme.msu.edu/tutorials/classifier/RDPtutorial_MULTICLASSIFIER.html
122
123
124 **Wrapper Author**
125
126 QFAB Bioinformatics (support@qfab.org)
127
128 </help>
129 <tests>
130 <test>
131 <param name="gene" value="16srrna" />
132 <param name="addotutable" value="true" />
133 <param name="input" value="otuseqs.fasta" />
134 <param name="otu" value="preotu.tab" />
135 <param name="conf" value="0.8" />
136 <param name="format" value="fixrank" />
137 <output name="hier" file="class_hier.tab" ftype="tabular" lines_diff="10" />
138 <output name="assign" file="class_detail.tab" ftype="tabular" lines_diff="10" />
139 <output name="otutable" file="otu_table.tab" ftype="tabular" lines_diff="10" />
140 </test>
141 </tests>
142 </tool>
143