annotate qiime2-2020.8/qiime_diversity_core-metrics.xml @ 23:b2b992719dda draft

Deleted selected files
author florianbegusch
date Fri, 04 Sep 2020 12:55:23 +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_diversity_core-metrics" name="qiime diversity core-metrics"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Core diversity metrics (non-phylogenetic)</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 diversity core-metrics
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-table=$itable
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 --p-sampling-depth=$psamplingdepth
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14 # if $input_files_mmetadatafile:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 # def list_dict_to_string(list_dict):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 # for d in list_dict[1:]:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18 # set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 # end for
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20 # return $file_list
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 # end def
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 # end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 #if $pwithreplacement:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 --p-with-replacement
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 #if str($pnjobs) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 --p-n-jobs=$pnjobs
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 --o-rarefied-table=orarefiedtable
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 --o-observed-features-vector=oobservedfeaturesvector
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 --o-shannon-vector=oshannonvector
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 --o-evenness-vector=oevennessvector
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 --o-jaccard-distance-matrix=ojaccarddistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 --o-bray-curtis-distance-matrix=obraycurtisdistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 --o-jaccard-pcoa-results=ojaccardpcoaresults
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 --o-bray-curtis-pcoa-results=obraycurtispcoaresults
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 --o-jaccard-emperor=ojaccardemperor
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 --o-bray-curtis-emperor=obraycurtisemperor
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 cp obraycurtispcoaresults.qza $obraycurtispcoaresults
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 qiime tools export ojaccardemperor.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 && mkdir -p '$ojaccardemperor.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 && cp -r out/* '$ojaccardemperor.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 && mv '$ojaccardemperor.files_path/index.html' '$ojaccardemperor'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 qiime tools export obraycurtisemperor.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 && mkdir -p '$obraycurtisemperor.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 && cp -r out/* '$obraycurtisemperor.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 && mv '$obraycurtisemperor.files_path/index.html' '$obraycurtisemperor'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table containing the samples over which diversity metrics should be computed. [required]" name="itable" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 <param label="--p-sampling-depth: INTEGER Range(1, None) The total frequency that each sample should be rarefied to prior to computing diversity metrics. [required]" name="psamplingdepth" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple The sample metadata to use in the emperor plots. arguments will be merged) [required]" name="additional_input" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 <param label="--p-with-replacement: --p-with-replacement: / --p-no-with-replacement Rarefy with replacement by sampling from the multinomial distribution instead of rarefying without replacement. [default: False]" name="pwithreplacement" selected="False" type="boolean" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 <param label="--p-n-jobs: " name="pnjobs" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 <option value="Int % Range(1">Int % Range(1</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 <option value="None">None</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 <data format="qza" label="${tool.name} on ${on_string}: rarefiedtable.qza" name="orarefiedtable" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 <data format="qza" label="${tool.name} on ${on_string}: observedfeaturesvector.qza" name="oobservedfeaturesvector" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 <data format="qza" label="${tool.name} on ${on_string}: shannonvector.qza" name="oshannonvector" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 <data format="qza" label="${tool.name} on ${on_string}: evennessvector.qza" name="oevennessvector" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94 <data format="qza" label="${tool.name} on ${on_string}: jaccarddistancematrix.qza" name="ojaccarddistancematrix" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 <data format="qza" label="${tool.name} on ${on_string}: braycurtisdistancematrix.qza" name="obraycurtisdistancematrix" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96 <data format="qza" label="${tool.name} on ${on_string}: jaccardpcoaresults.qza" name="ojaccardpcoaresults" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 <data format="qza" label="${tool.name} on ${on_string}: braycurtispcoaresults.qza" name="obraycurtispcoaresults" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 <data format="html" label="${tool.name} on ${on_string}: jaccardemperor.html" name="ojaccardemperor" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99 <data format="html" label="${tool.name} on ${on_string}: braycurtisemperor.html" name="obraycurtisemperor" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 Core diversity metrics (non-phylogenetic)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107 Applies a collection of diversity metrics (non-phylogenetic) to a feature
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 table.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 table : FeatureTable[Frequency]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 The feature table containing the samples over which diversity metrics
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 should be computed.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 sampling_depth : Int % Range(1, None)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 The total frequency that each sample should be rarefied to prior to
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117 computing diversity metrics.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 metadata : Metadata
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 The sample metadata to use in the emperor plots.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
120 with_replacement : Bool, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
121 Rarefy with replacement by sampling from the multinomial distribution
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
122 instead of rarefying without replacement.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
123 n_jobs : Int % Range(1, None) | Str % Choices('auto'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
124 [beta methods only] - The number of concurrent jobs to use in
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
125 performing this calculation. May not exceed the number of available
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
126 physical cores. If n_jobs = 'auto', one job will be launched for each
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
127 identified CPU core on the host.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
128
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
129 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
130 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
131 rarefied_table : FeatureTable[Frequency]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
132 The resulting rarefied feature table.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
133 observed_features_vector : SampleData[AlphaDiversity]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
134 Vector of Observed Features values by sample.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
135 shannon_vector : SampleData[AlphaDiversity]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
136 Vector of Shannon diversity values by sample.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
137 evenness_vector : SampleData[AlphaDiversity]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
138 Vector of Pielou's evenness values by sample.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
139 jaccard_distance_matrix : DistanceMatrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
140 Matrix of Jaccard distances between pairs of samples.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
141 bray_curtis_distance_matrix : DistanceMatrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
142 Matrix of Bray-Curtis distances between pairs of samples.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
143 jaccard_pcoa_results : PCoAResults
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
144 PCoA matrix computed from Jaccard distances between samples.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
145 bray_curtis_pcoa_results : PCoAResults
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
146 PCoA matrix computed from Bray-Curtis distances between samples.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
147 jaccard_emperor : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
148 Emperor plot of the PCoA matrix computed from Jaccard.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
149 bray_curtis_emperor : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
150 Emperor plot of the PCoA matrix computed from Bray-Curtis.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
151 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
152 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
153 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
154 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
155 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
156 </tool>