annotate qiime2/qiime_vsearch_cluster-features-open-reference.xml @ 29:3ba9833030c1 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 13:12:49 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_vsearch_cluster-features-open-reference" name="qiime vsearch cluster-features-open-reference"
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
4 <description> Open-reference clustering of features.</description>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
9 qiime vsearch cluster-features-open-reference
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
10
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
11 --i-sequences=$isequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
12
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
13 --i-table=$itable
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
14
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
15 --i-reference-sequences=$ireferencesequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
16
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
17 --p-perc-identity=$ppercidentity
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
18
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
19 #if str($pstrand) != 'None':
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
20 --p-strand=$pstrand
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
21 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
22
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
23 --p-threads=$pthreads
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
24
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
25 --o-clustered-table=oclusteredtable
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
26
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
27 --o-clustered-sequences=oclusteredsequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
28
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
29 --o-new-reference-sequences=onewreferencesequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
30
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
31 #if str($examples) != 'None':
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
32 --examples=$examples
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
33 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
34
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
35 ;
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
36 cp onewreferencesequences.qza $onewreferencesequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
37
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
38 ]]></command>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
39 <inputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
40 <param format="qza,no_unzip.zip" label="--i-sequences: ARTIFACT FeatureData[Sequence] The sequences corresponding to the features in table. [required]" name="isequences" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
41 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table to be clustered. [required]" name="itable" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
42 <param format="qza,no_unzip.zip" label="--i-reference-sequences: ARTIFACT FeatureData[Sequence] The sequences to use as cluster centroids. [required]" name="ireferencesequences" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
43 <param label="--p-perc-identity: PROPORTION Range(0, 1, inclusive_start=False, inclusive_end=True) The percent identity at which clustering should be performed. This parameter maps to vsearch\'s --id parameter. [required]" name="ppercidentity" optional="False" type="text" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
44 <param label="--p-strand: " name="pstrand" optional="True" type="select">
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
45 <option selected="True" value="None">Selection is Optional</option>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
46 <option value="plus">plus</option>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
47 <option value="both">both</option>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
48 </param>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
49 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
50
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
51 </inputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
52
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
53 <outputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
54 <data format="qza" label="${tool.name} on ${on_string}: clusteredtable.qza" name="oclusteredtable" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
55 <data format="qza" label="${tool.name} on ${on_string}: clusteredsequences.qza" name="oclusteredsequences" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
56 <data format="qza" label="${tool.name} on ${on_string}: newreferencesequences.qza" name="onewreferencesequences" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
57
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
58 </outputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
59
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
60 <help><![CDATA[
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
61 Open-reference clustering of features.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
62 ###############################################################
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
63
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
64 Given a feature table and the associated feature sequences, cluster the
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
65 features against a reference database based on user-specified percent
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
66 identity threshold of their sequences. Any sequences that don't match are
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
67 then clustered de novo. This is not a general-purpose clustering method,
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
68 but rather is intended to be used for clustering the results of quality-
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
69 filtering/dereplication methods, such as DADA2, or for re-clustering a
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
70 FeatureTable at a lower percent identity than it was originally clustered
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
71 at. When a group of features in the input table are clustered into a single
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
72 feature, the frequency of that single feature in a given sample is the sum
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
73 of the frequencies of the features that were clustered in that sample.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
74 Feature identifiers will be inherited from the centroid feature of each
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
75 cluster. For features that match a reference sequence, the centroid feature
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
76 is that reference sequence, so its identifier will become the feature
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
77 identifier. The clustered_sequences result will contain feature
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
78 representative sequences that are derived from the sequences input for all
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
79 features in clustered_table. This will always be the most abundant sequence
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
80 in the cluster. The new_reference_sequences result will contain the entire
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
81 reference database, plus feature representative sequences for any de novo
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
82 features. This is intended to be used as a reference database in subsequent
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
83 iterations of cluster_features_open_reference, if applicable. See the
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
84 vsearch documentation for details on how sequence clustering is performed.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
85
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
86 Parameters
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
87 ----------
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
88 sequences : FeatureData[Sequence]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
89 The sequences corresponding to the features in table.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
90 table : FeatureTable[Frequency]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
91 The feature table to be clustered.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
92 reference_sequences : FeatureData[Sequence]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
93 The sequences to use as cluster centroids.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
94 perc_identity : Float % Range(0, 1, inclusive_start=False, inclusive_end=True)
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
95 The percent identity at which clustering should be performed. This
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
96 parameter maps to vsearch's --id parameter.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
97 strand : Str % Choices('plus', 'both'), optional
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
98 Search plus (i.e., forward) or both (i.e., forward and reverse
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
99 complement) strands.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
100 threads : Int % Range(0, 256, inclusive_end=True), optional
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
101 The number of threads to use for computation. Passing 0 will launch one
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
102 thread per CPU core.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
103
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
104 Returns
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
105 -------
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
106 clustered_table : FeatureTable[Frequency]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
107 The table following clustering of features.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
108 clustered_sequences : FeatureData[Sequence]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
109 Sequences representing clustered features.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
110 new_reference_sequences : FeatureData[Sequence]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
111 The new reference sequences. This can be used for subsequent runs of
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
112 open-reference clustering for consistent definitions of features across
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
113 open-reference feature tables.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
114 ]]></help>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
115 <macros>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
116 <import>qiime_citation.xml</import>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
117 </macros>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
118 <expand macro="qiime_citation"/>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
119 </tool>