annotate qiime2-2020.8/qiime_diversity_alpha-rarefaction.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_alpha-rarefaction" name="qiime diversity alpha-rarefaction"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Alpha rarefaction curves</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 alpha-rarefaction
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 #if str($iphylogeny) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14 --i-phylogeny=$iphylogeny
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 --p-max-depth=$pmaxdepth
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 #if str($pmetrics) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20 --p-metrics=$pmetrics
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22 # if $input_files_mmetadatafile:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 # def list_dict_to_string(list_dict):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 # for d in list_dict[1:]:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 # set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 # end for
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 # return $file_list
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 # end def
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 # end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 --p-min-depth=$pmindepth
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 --p-steps=$psteps
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 --p-iterations=$piterations
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 --o-visualization=ovisualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 cp oalphadiversity.qza $oalphadiversity
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 qiime tools export ovisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 && mkdir -p '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 && cp -r out/* '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 && mv '$ovisualization.files_path/index.html' '$ovisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] Feature table to compute rarefaction curves from. [required]" name="itable" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 <param format="qza,no_unzip.zip" label="--i-phylogeny: ARTIFACT Optional phylogeny for phylogenetic metrics. Phylogeny[Rooted] [optional]" name="iphylogeny" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 <param label="--p-max-depth: INTEGER The maximum rarefaction depth. Must be greater than Range(1, None) min-depth. [required]" name="pmaxdepth" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 <param label="--p-metrics: " multiple="True" name="pmetrics" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 <option value="observed_features">observed_features</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 <option value="heip_e">heip_e</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 <option value="dominance">dominance</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 <option value="goods_coverage">goods_coverage</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 <option value="ace">ace</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 <option value="gini_index">gini_index</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 <option value="simpson_e">simpson_e</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 <option value="pielou_e">pielou_e</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 <option value="mcintosh_e">mcintosh_e</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 <option value="berger_parker_d">berger_parker_d</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 <option value="shannon">shannon</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 <option value="enspie">enspie</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 <option value="mcintosh_d">mcintosh_d</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 <option value="lladser_pe">lladser_pe</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 <option value="brillouin_d">brillouin_d</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 <option value="menhinick">menhinick</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 <option value="simpson">simpson</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 <option value="margalef">margalef</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 <option value="robbins">robbins</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 <option value="doubles">doubles</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 <option value="chao1">chao1</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 <option value="michaelis_menten_fit">michaelis_menten_fit</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 <option value="singles">singles</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 <option value="faith_pd">faith_pd</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 <option value="fisher_alpha">fisher_alpha</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple arguments The sample metadata. will be merged) [optional]" name="additional_input" optional="True" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 <param label="--p-min-depth: INTEGER The minimum rarefaction depth. Range(1, None) [default: 1]" min="1" name="pmindepth" optional="True" type="integer" value="1" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 <param label="--p-steps: INTEGER The number of rarefaction depths to include between Range(2, None) min-depth and max-depth. [default: 10]" min="2" name="psteps" optional="True" type="integer" value="10" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 <param label="--p-iterations: INTEGER The number of rarefied feature tables to compute at Range(1, None) each step. [default: 10]" min="1" name="piterations" optional="True" type="integer" value="10" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 Alpha rarefaction curves
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 Generate interactive alpha rarefaction curves by computing rarefactions
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107 between `min_depth` and `max_depth`. The number of intermediate depths to
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 compute is controlled by the `steps` parameter, with n `iterations` being
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109 computed at each rarefaction depth. If sample metadata is provided, samples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 may be grouped based on distinct values within a metadata column.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 table : FeatureTable[Frequency]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 Feature table to compute rarefaction curves from.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 max_depth : Int % Range(1, None)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117 The maximum rarefaction depth. Must be greater than min_depth.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 phylogeny : Phylogeny[Rooted], optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 Optional phylogeny for phylogenetic metrics.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
120 metrics : Set[Str % Choices('mcintosh_e', 'chao1', 'observed_features', 'ace', 'margalef', 'berger_parker_d', 'simpson_e', 'doubles', 'gini_index', 'heip_e', 'michaelis_menten_fit', 'enspie', 'faith_pd', 'menhinick', 'pielou_e', 'shannon', 'singles', 'simpson', 'fisher_alpha', 'dominance', 'robbins', 'lladser_pe', 'mcintosh_d', 'brillouin_d', 'goods_coverage')], optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
121 The metrics to be measured. By default computes observed_features,
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
122 shannon, and if phylogeny is provided, faith_pd.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
123 metadata : Metadata, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
124 The sample metadata.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
125 min_depth : Int % Range(1, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
126 The minimum rarefaction depth.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
127 steps : Int % Range(2, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
128 The number of rarefaction depths to include between min_depth and
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
129 max_depth.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
130 iterations : Int % Range(1, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
131 The number of rarefied feature tables to compute at each step.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
132
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
133 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
134 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
135 visualization : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
136 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
137 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
138 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
139 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
140 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
141 </tool>