annotate qiime2-2020.8/qiime_feature-classifier_extract-reads.xml @ 25:499916460746 draft

Deleted selected files
author florianbegusch
date Fri, 04 Sep 2020 12:56:26 +0000
parents d93d8888f0b0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_feature-classifier_extract-reads" name="qiime feature-classifier extract-reads"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Extract reads from reference sequences.</description>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
9 qiime feature-classifier extract-reads
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-sequences=$isequences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 --p-f-primer=$pfprimer
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 --p-r-primer=$prprimer
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 --p-trim-right=$ptrimright
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 --p-trunc-len=$ptrunclen
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 --p-trim-left=$ptrimleft
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 --p-identity=$pidentity
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 --p-min-length=$pminlength
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 --p-max-length=$pmaxlength
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 --p-n-jobs=$pnjobs
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #if str($preadorientation) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 --p-read-orientation=$preadorientation
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 --o-reads=oreads
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 cp oreads.qza $oreads
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 <param format="qza,no_unzip.zip" label="--i-sequences: ARTIFACT FeatureData[Sequence] [required]" name="isequences" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 <param label="--p-f-primer: TEXT forward primer sequence (5\' -&gt; 3\'). [required]" name="pfprimer" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 <param label="--p-r-primer: TEXT reverse primer sequence (5\' -&gt; 3\'). Do not use reverse-complemented primer sequence. [required]" name="prprimer" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 <param label="--p-trim-right: INTEGER trim-right nucleotides are removed from the 3\' end if trim-right is positive. Applied before trunc-len and trim-left. [default: 0]" name="ptrimright" optional="True" type="integer" value="0" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 <param label="--p-trunc-len: INTEGER read is cut to trunc-len if trunc-len is positive. Applied after trim-right but before trim-left. [default: 0]" name="ptrunclen" optional="True" type="integer" value="0" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 <param label="--p-trim-left: INTEGER trim-left nucleotides are removed from the 5\' end if trim-left is positive. Applied after trim-right and trunc-len. [default: 0]" name="ptrimleft" optional="True" type="integer" value="0" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 <param label="--p-identity: NUMBER minimum combined primer match identity threshold. [default: 0.8]" name="pidentity" optional="True" type="float" value="0.8" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 <param label="--p-min-length: INTEGER Minimum amplicon length. Shorter amplicons are Range(0, None) discarded. Applied after trimming and truncation, so be aware that trimming may impact sequence retention. Set to zero to disable min length filtering. [default: 50]" min="0" name="pminlength" optional="True" type="integer" value="50" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 <param label="--p-max-length: INTEGER Maximum amplicon length. Longer amplicons are Range(0, None) discarded. Applied before trimming and truncation, so plan accordingly. Set to zero (default) to disable max length filtering. [default: 0]" min="0" name="pmaxlength" optional="True" type="integer" value="0" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 <param label="--p-read-orientation: " name="preadorientation" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 <option value="both">both</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 <option value="forward">forward</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 <option value="reverse">reverse</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 <data format="qza" label="${tool.name} on ${on_string}: reads.qza" name="oreads" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 Extract reads from reference sequences.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 Extract simulated amplicon reads from a reference database. Performs in-
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 silico PCR to extract simulated amplicons from reference sequences that
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 match the input primer sequences (within the mismatch threshold specified
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 by `identity`). Both primer sequences must be in the 5' -> 3' orientation.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 Sequences that fail to match both primers will be excluded. Reads are
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 extracted, trimmed, and filtered in the following order: 1. reads are
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 extracted in specified orientation; 2. primers are removed; 3. reads longer
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 than `max_length` are removed; 4. reads are trimmed with `trim_right`; 5.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 reads are truncated to `trunc_len`; 6. reads are trimmed with `trim_left`;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 7. reads shorter than `min_length` are removed.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 sequences : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 f_primer : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 forward primer sequence (5' -> 3').
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 r_primer : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 reverse primer sequence (5' -> 3'). Do not use reverse-complemented
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 primer sequence.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 trim_right : Int, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94 trim_right nucleotides are removed from the 3' end if trim_right is
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 positive. Applied before trunc_len and trim_left.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96 trunc_len : Int, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 read is cut to trunc_len if trunc_len is positive. Applied after
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 trim_right but before trim_left.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99 trim_left : Int, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 trim_left nucleotides are removed from the 5' end if trim_left is
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101 positive. Applied after trim_right and trunc_len.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 identity : Float, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 minimum combined primer match identity threshold.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 min_length : Int % Range(0, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105 Minimum amplicon length. Shorter amplicons are discarded. Applied after
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 trimming and truncation, so be aware that trimming may impact sequence
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107 retention. Set to zero to disable min length filtering.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 max_length : Int % Range(0, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109 Maximum amplicon length. Longer amplicons are discarded. Applied before
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 trimming and truncation, so plan accordingly. Set to zero (default) to
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111 disable max length filtering.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 n_jobs : Int % Range(1, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 Number of seperate processes to run.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 batch_size : Int % Range(1, None) | Str % Choices('auto'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 Number of sequences to process in a batch. The `auto` option is
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 calculated from the number of sequences and number of jobs specified.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117 read_orientation : Str % Choices('both', 'forward', 'reverse'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 Orientation of primers relative to the sequences: "forward" searches
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 for primer hits in the forward direction, "reverse" searches reverse-
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
120 complement, and "both" searches both directions.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
121
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
122 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
123 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
124 reads : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
125 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
126 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
127 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
128 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
129 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
130 </tool>