annotate qiime2-2020.8/qiime_quality-control_exclude-seqs.xml @ 20:d93d8888f0b0 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:44:24 +0000
parents
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_quality-control_exclude-seqs" name="qiime quality-control exclude-seqs"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Exclude sequences by alignment</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 quality-control exclude-seqs
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-query-sequences=$iquerysequences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 --i-reference-sequences=$ireferencesequences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 #if str($pmethod) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16 --p-method=$pmethod
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 --p-perc-identity=$ppercidentity
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 #if str($pevalue):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22 --p-evalue=$pevalue
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24 --p-perc-query-aligned=$ppercqueryaligned
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 --p-threads=$pthreads
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 #if str($pleftjustify) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 --p-left-justify=$pleftjustify
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 --o-sequence-hits=osequencehits
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 --o-sequence-misses=osequencemisses
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 cp osequencemisses.qza $osequencemisses
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 <param format="qza,no_unzip.zip" label="--i-query-sequences: ARTIFACT FeatureData[Sequence] Sequences to test for exclusion [required]" name="iquerysequences" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 <param format="qza,no_unzip.zip" label="--i-reference-sequences: ARTIFACT FeatureData[Sequence] Reference sequences to align against feature sequences [required]" name="ireferencesequences" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 <param label="--p-method: " name="pmethod" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 <option value="blast">blast</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 <option value="blastn-short">blastn-short</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 <param exclude_max="False" label="--p-perc-identity: PROPORTION Range(0.0, 1.0, inclusive_end=True) Reject match if percent identity to reference is lower. Must be in range [0.0, 1.0] [default: 0.97]" max="1.0" min="0.0" name="ppercidentity" optional="True" type="float" value="0.97" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 <param label="--p-evalue: NUMBER BLAST expectation (E) value threshold for saving hits. Reject if E value is higher than threshold. This threshold is disabled by default. [optional]" name="pevalue" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 <param label="--p-perc-query-aligned: NUMBER Percent of query sequence that must align to reference in order to be accepted as a hit. [default: 0.97]" name="ppercqueryaligned" optional="True" type="float" value="0.97" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 <param label="--p-left-justify: " name="pleftjustify" 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="False">False</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 <data format="qza" label="${tool.name} on ${on_string}: sequencehits.qza" name="osequencehits" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 <data format="qza" label="${tool.name} on ${on_string}: sequencemisses.qza" name="osequencemisses" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 Exclude sequences by alignment
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 This method aligns feature sequences to a set of reference sequences to
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 identify sequences that hit/miss the reference within a specified
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 perc_identity, evalue, and perc_query_aligned. This method could be used to
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 define a positive filter, e.g., extract only feature sequences that align
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 to a certain clade of bacteria; or to define a negative filter, e.g.,
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 identify sequences that align to contaminant or human DNA sequences that
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 should be excluded from subsequent analyses. Note that filtering is
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 performed based on the perc_identity, perc_query_aligned, and evalue
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 thresholds (the latter only if method==BLAST and an evalue is set). Set
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 perc_identity==0 and/or perc_query_aligned==0 to disable these filtering
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 thresholds as necessary.
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 query_sequences : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 Sequences to test for exclusion
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 reference_sequences : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 Reference sequences to align against feature sequences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 method : Str % Choices('blast', 'blastn-short')¹ | Str % Choices('vsearch')², optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 Alignment method to use for matching feature sequences against
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 reference sequences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94 perc_identity : Float % Range(0.0, 1.0, inclusive_end=True), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 Reject match if percent identity to reference is lower. Must be in
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96 range [0.0, 1.0]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 evalue : Float, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 BLAST expectation (E) value threshold for saving hits. Reject if E
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99 value is higher than threshold. This threshold is disabled by default.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 perc_query_aligned : Float, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101 Percent of query sequence that must align to reference in order to be
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 accepted as a hit.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 threads : Int % Range(1, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 Number of jobs to execute. Only applies to vsearch method.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105 left_justify : Bool % Choices(False)¹ | Bool², optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 Reject match if the pairwise alignment begins with gaps
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 sequence_hits : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111 Subset of feature sequences that align to reference sequences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 sequence_misses : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 Subset of feature sequences that do not align to reference sequences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 </tool>