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