annotate qiime2/qiime_dada2_denoise-paired.xml @ 9:f190567fe3f6 draft

Uploaded
author florianbegusch
date Wed, 14 Aug 2019 15:12:48 -0400
parents de4c22a52df4
children a0a8d77a991c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
2 <tool id="qiime_dada2_denoise-paired" name="qiime dada2 denoise-paired" version="2019.7">
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Denoise and dereplicate paired-end sequences</description>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
4 <requirements>
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
5 <requirement type="package" version="2019.7">qiime2</requirement>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
6 </requirements>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
7 <command><![CDATA[
6
florianbegusch
parents: 0
diff changeset
8
florianbegusch
parents: 0
diff changeset
9 #def parse_file(file):
florianbegusch
parents: 0
diff changeset
10 #import csv
florianbegusch
parents: 0
diff changeset
11 #set $read = csv.reader(open($file, "r"))
florianbegusch
parents: 0
diff changeset
12 #set $qc = 0
florianbegusch
parents: 0
diff changeset
13 #for l in $read:
florianbegusch
parents: 0
diff changeset
14 #if "50%" in l:
florianbegusch
parents: 0
diff changeset
15 #set $num = 0.0
florianbegusch
parents: 0
diff changeset
16 #for i in l[1:]:
florianbegusch
parents: 0
diff changeset
17 #if float(i) <= 25.0
florianbegusch
parents: 0
diff changeset
18 #set $num = i
florianbegusch
parents: 0
diff changeset
19 #set $qc = l.index($num) - 1
florianbegusch
parents: 0
diff changeset
20 #break
florianbegusch
parents: 0
diff changeset
21 #end if
florianbegusch
parents: 0
diff changeset
22 #end for
florianbegusch
parents: 0
diff changeset
23 #end if
florianbegusch
parents: 0
diff changeset
24 #end for
florianbegusch
parents: 0
diff changeset
25 #return $qc
florianbegusch
parents: 0
diff changeset
26 #end def
florianbegusch
parents: 0
diff changeset
27
florianbegusch
parents: 0
diff changeset
28 #def find_QC(file):
florianbegusch
parents: 0
diff changeset
29 #set $f_file_path=str(file).split(".dat")[0] + '_files/forward-seven-number-summaries.csv'
florianbegusch
parents: 0
diff changeset
30 #set $r_file_path=str(file).split(".dat")[0] + '_files/reverse-seven-number-summaries.csv'
florianbegusch
parents: 0
diff changeset
31 #set $qc_f = $parse_file($f_file_path)
florianbegusch
parents: 0
diff changeset
32 #set $qc_r = $parse_file($r_file_path)
florianbegusch
parents: 0
diff changeset
33 #return $qc_f, $qc_r
florianbegusch
parents: 0
diff changeset
34 #end def
florianbegusch
parents: 0
diff changeset
35
florianbegusch
parents: 0
diff changeset
36 #def find_adapters(mapping_fp):
florianbegusch
parents: 0
diff changeset
37 #import csv
florianbegusch
parents: 0
diff changeset
38 #set $forward = 0
florianbegusch
parents: 0
diff changeset
39 #set $reversed = 0
florianbegusch
parents: 0
diff changeset
40 #set $reader = csv.reader(open(str(mapping_fp)), delimiter='\t')
florianbegusch
parents: 0
diff changeset
41 #for row in $reader:
florianbegusch
parents: 0
diff changeset
42 #if "#" not in str(row[0]):
florianbegusch
parents: 0
diff changeset
43 #set $forward = len(row[2])
florianbegusch
parents: 0
diff changeset
44 #set $reversed = len(row[3])
florianbegusch
parents: 0
diff changeset
45 #break
florianbegusch
parents: 0
diff changeset
46 #end if
florianbegusch
parents: 0
diff changeset
47 #end for
florianbegusch
parents: 0
diff changeset
48 #return int($forward), int($reversed)
florianbegusch
parents: 0
diff changeset
49 #end def
florianbegusch
parents: 0
diff changeset
50
florianbegusch
parents: 0
diff changeset
51 #if str($mapping_fp) != 'None' and (int($ptrimleftf) == -1 or int($ptrimleftr) == -1):
florianbegusch
parents: 0
diff changeset
52 #set $both_adapters = $find_adapters($mapping_fp)
florianbegusch
parents: 0
diff changeset
53 #set $ptrimleftf=$both_adapters[0]
florianbegusch
parents: 0
diff changeset
54 #set $ptrimleftr=$both_adapters[1]
florianbegusch
parents: 0
diff changeset
55 #end if
florianbegusch
parents: 0
diff changeset
56
florianbegusch
parents: 0
diff changeset
57 #if str($sum_fp) != 'None' and (int($ptrunclenf) == -1 or int($ptrunclenr) == -1):
florianbegusch
parents: 0
diff changeset
58 #set $both_qc = $find_QC($sum_fp)
florianbegusch
parents: 0
diff changeset
59 #set $ptrunclenf=$both_qc[0]
florianbegusch
parents: 0
diff changeset
60 #set $ptrunclenr=$both_qc[1]
florianbegusch
parents: 0
diff changeset
61 #end if
florianbegusch
parents: 0
diff changeset
62
florianbegusch
parents: 0
diff changeset
63
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 qiime dada2 denoise-paired
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
65
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66 --i-demultiplexed-seqs=$idemultiplexedseqs
6
florianbegusch
parents: 0
diff changeset
67
florianbegusch
parents: 0
diff changeset
68
florianbegusch
parents: 0
diff changeset
69 #if str($ptrunclenf):
florianbegusch
parents: 0
diff changeset
70 --p-trunc-len-f="$ptrunclenf"
florianbegusch
parents: 0
diff changeset
71 #end if
florianbegusch
parents: 0
diff changeset
72
florianbegusch
parents: 0
diff changeset
73 #if str($ptrunclenf):
florianbegusch
parents: 0
diff changeset
74 --p-trunc-len-r="$ptrunclenr"
florianbegusch
parents: 0
diff changeset
75 #end if
florianbegusch
parents: 0
diff changeset
76
florianbegusch
parents: 0
diff changeset
77 #if str($ptrimleftf):
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
78 --p-trim-left-f=$ptrimleftf
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
79 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
80
6
florianbegusch
parents: 0
diff changeset
81 #if str($ptrimleftr):
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
82 --p-trim-left-r=$ptrimleftr
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
83 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
84
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
85
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
86
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
87
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
88 #if str($pmaxeef):
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
89 --p-max-ee-f=$pmaxeef
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
90 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
91
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
92 #if str($pmaxeer):
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
93 --p-max-ee-r=$pmaxeer
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
94 #end if
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
95
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
96
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
97
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
98
6
florianbegusch
parents: 0
diff changeset
99 #if str($ptruncq):
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
100 --p-trunc-q=$ptruncq
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
101 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
102
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
103 #if str($pchimeramethod) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
104 --p-chimera-method=$pchimeramethod
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
105 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
106
6
florianbegusch
parents: 0
diff changeset
107 #if str($pminfoldparentoverabundance):
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
108 --p-min-fold-parent-over-abundance=$pminfoldparentoverabundance
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
109 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
110
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
111 #set $pnthreads = '${GALAXY_SLOTS:-4}'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
112
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
113 #if str($pnthreads):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
114 --p-n-threads="$pnthreads"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
115 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
116
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
117
6
florianbegusch
parents: 0
diff changeset
118 #if str($pnreadslearn):
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
119 --p-n-reads-learn=$pnreadslearn
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
120 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
121
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
122 #if $pnohashedfeatureids:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
123 --p-no-hashed-feature-ids
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
124 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
125
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
126 --o-table=otable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
127 --o-representative-sequences=orepresentativesequences
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
128 --o-denoising-stats=odenoisingstats
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
129 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
130 cp otable.qza $otable;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
131 cp orepresentativesequences.qza $orepresentativesequences;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
132 cp odenoisingstats.qza $odenoisingstats
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
133 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
134 <inputs>
6
florianbegusch
parents: 0
diff changeset
135 <param format="tabular" label="Mapping file where 3rd and 4th columns must be forward and reverse primers respectively" name="mapping_fp" optional="True" type="data"/>
florianbegusch
parents: 0
diff changeset
136 <param format="html" label="Summary file" name="sum_fp" optional="True" type="data"/>
florianbegusch
parents: 0
diff changeset
137
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
138 <param format="qza,no_unzip.zip" label="--i-demultiplexed-seqs: ARTIFACT SampleData[PairedEndSequencesWithQuality] The paired-end demultiplexed sequences to be denoised. [required]" name="idemultiplexedseqs" optional="False" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
139 <param label="--p-trunc-len-f: INTEGER Position at which forward read sequences should be truncated due to decrease in quality. This truncates the 3' end of the of the input sequences, which will be the bases that were sequenced in the last cycles. Reads that are shorter than this value will be discarded. After this parameter is applied there must still be at least a 20 nucleotide overlap between the forward and reverse reads. If 0 is provided, no truncation or length filtering will be performed [required]" name="ptrunclenf" optional="False" value="" type="integer"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
140 <param label="--p-trunc-len-r: INTEGER Position at which reverse read sequences should be truncated due to decrease in quality. This truncates the 3' end of the of the input sequences, which will be the bases that were sequenced in the last cycles. Reads that are shorter than this value will be discarded. After this parameter is applied there must still be at least a 20 nucleotide overlap between the forward and reverse reads. If 0 is provided, no truncation or length filtering will be performed [required]" name="ptrunclenr" optional="False" value="" type="integer"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
141 <param label="--p-trim-left-f: INTEGER Position at which forward read sequences should be trimmed due to low quality. This trims the 5' end of the input sequences, which will be the bases that were sequenced in the first cycles. [default: 0]" name="ptrimleftf" optional="True" type="integer" value="0"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
142 <param label="--p-trim-left-r: INTEGER Position at which reverse read sequences should be trimmed due to low quality. This trims the 5' end of the input sequences, which will be the bases that were sequenced in the first cycles. [default: 0]" name="ptrimleftr" optional="True" type="integer" value="0"/>
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
143
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
144
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
145
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
146 <param label="--p-max-ee-f: NUMBER Forward reads with number of expected errors higher than this value will be discarded. [default: 2.0]" name="pmaxeef" optional="True" type="float" value="2.0"/>
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
147 <param label="--p-max-ee-r: NUMBER Reverse reads with number of expected errors higher than this value will be discarded. [default: 2.0]" name="pmaxeer" optional="True" type="float" value="2.0"/>
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
148
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
149
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
150
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
151 <param label="--p-trunc-q: INTEGER Reads are truncated at the first instance of a quality score less than or equal to this value. If the resulting read is then shorter than `trunc-len-f` or `trunc-len-r` (depending on the direction of the read) it is discarded. [default: 2]" name="ptruncq" optional="True" type="integer" value="2"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
152 <param label="--p-chimera-method: " name="pchimeramethod" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
153 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
154 <option value="consensus">consensus</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
155 <option value="pooled">pooled</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
156 <option value="none">none</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
157 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
158 <param label="--p-min-fold-parent-over-abundance: NUMBER The minimum abundance of potential parents of a sequence being tested as chimeric, expressed as a fold-change versus the abundance of the sequence being tested. Values should be greater than or equal to 1 (i.e. parents should be more abundant than the sequence being tested). This parameter has no effect if chimera-method is 'none'. [default: 1.0]" name="pminfoldparentoverabundance" optional="True" type="float" value="1.0"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
159 <param label="--p-n-reads-learn: INTEGER The number of reads to use when training the error model. Smaller numbers will result in a shorter run time but a less reliable error model. [default: 1000000]" name="pnreadslearn" optional="True" type="integer" value="1000000"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
160 <param label="--p-no-hashed-feature-ids: If false, the feature ids in the resulting table will be presented as hashes of the sequences defining each feature. The hash will always be the same for the same sequence so this allows feature tables to be merged across runs of this method. You should only merge tables if the exact same parameters are used for each run. [default: False]" name="pnohashedfeatureids" selected="False" type="boolean"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
161 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
162 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
163 <data format="qza" label="${tool.name} on ${on_string}: table.qza" name="otable"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
164 <data format="qza" label="${tool.name} on ${on_string}: representativesequences.qza" name="orepresentativesequences"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
165 <data format="qza" label="${tool.name} on ${on_string}: denoisingstats.qza" name="odenoisingstats"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
166 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
167 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
168 Denoise and dereplicate paired-end sequences
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
169 #############################################
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
170
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
171 This method denoises paired-end sequences, dereplicates them, and filters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
172 chimeras.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
173
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
174 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
175 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
176 demultiplexed_seqs : SampleData[PairedEndSequencesWithQuality]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
177 The paired-end demultiplexed sequences to be denoised.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
178 trunc_len_f : Int
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
179 Position at which forward read sequences should be truncated due to
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
180 decrease in quality. This truncates the 3' end of the of the input
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
181 sequences, which will be the bases that were sequenced in the last
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
182 cycles. Reads that are shorter than this value will be discarded. After
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
183 this parameter is applied there must still be at least a 20 nucleotide
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
184 overlap between the forward and reverse reads. If 0 is provided, no
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
185 truncation or length filtering will be performed
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
186 trunc_len_r : Int
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
187 Position at which reverse read sequences should be truncated due to
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
188 decrease in quality. This truncates the 3' end of the of the input
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
189 sequences, which will be the bases that were sequenced in the last
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
190 cycles. Reads that are shorter than this value will be discarded. After
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
191 this parameter is applied there must still be at least a 20 nucleotide
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
192 overlap between the forward and reverse reads. If 0 is provided, no
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
193 truncation or length filtering will be performed
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
194 trim_left_f : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
195 Position at which forward read sequences should be trimmed due to low
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
196 quality. This trims the 5' end of the input sequences, which will be
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
197 the bases that were sequenced in the first cycles.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
198 trim_left_r : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
199 Position at which reverse read sequences should be trimmed due to low
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
200 quality. This trims the 5' end of the input sequences, which will be
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
201 the bases that were sequenced in the first cycles.
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
202 max_ee_f : Float, optional
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
203 Forward reads with number of expected errors higher than this value
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
204 will be discarded.
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
205 max_ee_r : Float, optional
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
206 Reverse reads with number of expected errors higher than this value
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
207 will be discarded.
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
208 trunc_q : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
209 Reads are truncated at the first instance of a quality score less than
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
210 or equal to this value. If the resulting read is then shorter than
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
211 `trunc_len_f` or `trunc_len_r` (depending on the direction of the read)
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
212 it is discarded.
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
213 chimera_method : Str % Choices('consensus', 'none', 'pooled'), optional
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
214 The method used to remove chimeras. "none": No chimera removal is
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
215 performed. "pooled": All reads are pooled prior to chimera detection.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
216 "consensus": Chimeras are detected in samples individually, and
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
217 sequences found chimeric in a sufficient fraction of samples are
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
218 removed.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
219 min_fold_parent_over_abundance : Float, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
220 The minimum abundance of potential parents of a sequence being tested
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
221 as chimeric, expressed as a fold-change versus the abundance of the
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
222 sequence being tested. Values should be greater than or equal to 1
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
223 (i.e. parents should be more abundant than the sequence being tested).
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
224 This parameter has no effect if chimera_method is "none".
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
225 n_reads_learn : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
226 The number of reads to use when training the error model. Smaller
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
227 numbers will result in a shorter run time but a less reliable error
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
228 model.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
229 hashed_feature_ids : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
230 If true, the feature ids in the resulting table will be presented as
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
231 hashes of the sequences defining each feature. The hash will always be
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
232 the same for the same sequence so this allows feature tables to be
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
233 merged across runs of this method. You should only merge tables if the
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
234 exact same parameters are used for each run.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
235
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
236 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
237 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
238 table : FeatureTable[Frequency]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
239 The resulting feature table.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
240 representative_sequences : FeatureData[Sequence]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
241 The resulting feature sequences. Each feature in the feature table will
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
242 be represented by exactly one sequence, and these sequences will be the
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
243 joined paired-end sequences.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
244 denoising_stats : SampleData[DADA2Stats]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
245 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
246 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
247 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
248 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
249 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
250 </tool>