0
|
1 <?xml version="1.0" ?>
|
9
|
2 <tool id="qiime_dada2_denoise-single" name="qiime dada2 denoise-single" version="2019.7">
|
0
|
3 <description> - Denoise and dereplicate single-end sequences</description>
|
|
4 <requirements>
|
9
|
5 <requirement type="package" version="2019.7">qiime2</requirement>
|
0
|
6 </requirements>
|
|
7 <command><![CDATA[
|
|
8 qiime dada2 denoise-single
|
|
9
|
|
10 --i-demultiplexed-seqs=$idemultiplexedseqs
|
|
11
|
6
|
12 #if str($ptrunclen):
|
|
13 --p-trunc-len="$ptrunclen"
|
|
14 #end if
|
|
15
|
|
16 #if str($ptrimleft):
|
0
|
17 --p-trim-left=$ptrimleft
|
|
18 #end if
|
|
19
|
6
|
20 #if str($pmaxee):
|
0
|
21 --p-max-ee=$pmaxee
|
|
22 #end if
|
|
23
|
6
|
24 #if str($ptruncq):
|
0
|
25 --p-trunc-q=$ptruncq
|
|
26 #end if
|
|
27
|
|
28 #if str($pchimeramethod) != 'None':
|
|
29 --p-chimera-method=$pchimeramethod
|
|
30 #end if
|
|
31
|
6
|
32 #if str($pminfoldparentoverabundance):
|
0
|
33 --p-min-fold-parent-over-abundance=$pminfoldparentoverabundance
|
|
34 #end if
|
|
35
|
|
36 #set $pnthreads = '${GALAXY_SLOTS:-4}'
|
|
37 #if str($pnthreads):
|
|
38 --p-n-threads="$pnthreads"
|
|
39 #end if
|
|
40
|
|
41
|
6
|
42 #if str($pnreadslearn):
|
0
|
43 --p-n-reads-learn=$pnreadslearn
|
|
44 #end if
|
|
45
|
6
|
46 #if str($pnohashedfeatureids):
|
0
|
47 --p-no-hashed-feature-ids
|
|
48 #end if
|
|
49
|
|
50 --o-table=otable
|
|
51 --o-representative-sequences=orepresentativesequences
|
|
52 --o-denoising-stats=odenoisingstats
|
|
53 ;
|
|
54 cp otable.qza $otable;
|
|
55 cp orepresentativesequences.qza $orepresentativesequences;
|
|
56 cp odenoisingstats.qza $odenoisingstats
|
|
57 ]]></command>
|
|
58 <inputs>
|
|
59 <param format="qza,no_unzip.zip" label="--i-demultiplexed-seqs: ARTIFACT SampleData[SequencesWithQuality | PairedEndSequencesWithQuality] The single-end demultiplexed sequences to be denoised. [required]" name="idemultiplexedseqs" optional="False" type="data"/>
|
|
60 <param label="--p-trunc-len: INTEGER Position at which 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. If 0 is provided, no truncation or length filtering will be performed [required]" name="ptrunclen" optional="False" value="" type="integer"/>
|
|
61 <param label="--p-trim-left: INTEGER Position at which sequences should be trimmed due to low quality. This trims the 5' end of the of the input sequences, which will be the bases that were sequenced in the first cycles. [default: 0]" name="ptrimleft" optional="True" type="integer" value="0"/>
|
|
62 <param label="--p-max-ee: NUMBER Reads with number of expected errors higher than this value will be discarded. [default: 2.0]" name="pmaxee" optional="True" type="float" value="2.0"/>
|
|
63 <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`, it is discarded. [default: 2]" name="ptruncq" optional="True" type="integer" value="2"/>
|
|
64 <param label="--p-chimera-method: " name="pchimeramethod" optional="True" type="select">
|
|
65 <option selected="True" value="None">Selection is Optional</option>
|
|
66 <option value="consensus">consensus</option>
|
|
67 <option value="pooled">pooled</option>
|
|
68 <option value="none">none</option>
|
|
69 </param>
|
|
70 <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"/>
|
|
71 <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"/>
|
4
|
72 <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"/>
|
0
|
73 </inputs>
|
|
74 <outputs>
|
|
75 <data format="qza" label="${tool.name} on ${on_string}: table.qza" name="otable"/>
|
|
76 <data format="qza" label="${tool.name} on ${on_string}: representativesequences.qza" name="orepresentativesequences"/>
|
|
77 <data format="qza" label="${tool.name} on ${on_string}: denoisingstats.qza" name="odenoisingstats"/>
|
|
78 </outputs>
|
|
79 <help><![CDATA[
|
|
80 Denoise and dereplicate single-end sequences
|
|
81 ############################################
|
|
82
|
|
83 This method denoises single-end sequences, dereplicates them, and filters
|
|
84 chimeras.
|
|
85
|
|
86 Parameters
|
|
87 ----------
|
|
88 demultiplexed_seqs : SampleData[SequencesWithQuality | PairedEndSequencesWithQuality]
|
|
89 The single-end demultiplexed sequences to be denoised.
|
|
90 trunc_len : Int
|
|
91 Position at which sequences should be truncated due to decrease in
|
|
92 quality. This truncates the 3' end of the of the input sequences, which
|
|
93 will be the bases that were sequenced in the last cycles. Reads that
|
|
94 are shorter than this value will be discarded. If 0 is provided, no
|
|
95 truncation or length filtering will be performed
|
|
96 trim_left : Int, optional
|
|
97 Position at which sequences should be trimmed due to low quality. This
|
|
98 trims the 5' end of the of the input sequences, which will be the bases
|
|
99 that were sequenced in the first cycles.
|
|
100 max_ee : Float, optional
|
|
101 Reads with number of expected errors higher than this value will be
|
|
102 discarded.
|
|
103 trunc_q : Int, optional
|
|
104 Reads are truncated at the first instance of a quality score less than
|
|
105 or equal to this value. If the resulting read is then shorter than
|
|
106 `trunc_len`, it is discarded.
|
|
107 chimera_method : Str % Choices('consensus', 'pooled', 'none'), optional
|
|
108 The method used to remove chimeras. "none": No chimera removal is
|
|
109 performed. "pooled": All reads are pooled prior to chimera detection.
|
|
110 "consensus": Chimeras are detected in samples individually, and
|
|
111 sequences found chimeric in a sufficient fraction of samples are
|
|
112 removed.
|
|
113 min_fold_parent_over_abundance : Float, optional
|
|
114 The minimum abundance of potential parents of a sequence being tested
|
|
115 as chimeric, expressed as a fold-change versus the abundance of the
|
|
116 sequence being tested. Values should be greater than or equal to 1
|
|
117 (i.e. parents should be more abundant than the sequence being tested).
|
|
118 This parameter has no effect if chimera_method is "none".
|
|
119 n_reads_learn : Int, optional
|
|
120 The number of reads to use when training the error model. Smaller
|
|
121 numbers will result in a shorter run time but a less reliable error
|
|
122 model.
|
|
123 hashed_feature_ids : Bool, optional
|
|
124 If true, the feature ids in the resulting table will be presented as
|
|
125 hashes of the sequences defining each feature. The hash will always be
|
|
126 the same for the same sequence so this allows feature tables to be
|
|
127 merged across runs of this method. You should only merge tables if the
|
|
128 exact same parameters are used for each run.
|
|
129
|
|
130 Returns
|
|
131 -------
|
|
132 table : FeatureTable[Frequency]
|
|
133 The resulting feature table.
|
|
134 representative_sequences : FeatureData[Sequence]
|
|
135 The resulting feature sequences. Each feature in the feature table will
|
|
136 be represented by exactly one sequence.
|
|
137 denoising_stats : SampleData[DADA2Stats]
|
|
138 ]]></help>
|
|
139 <macros>
|
|
140 <import>qiime_citation.xml</import>
|
|
141 </macros>
|
|
142 <expand macro="qiime_citation"/>
|
|
143 </tool>
|