annotate qiime2/qiime_sample-classifier_heatmap.xml @ 4:914fa4daf16a draft

Fixes
author florianbegusch
date Wed, 31 Jul 2019 03:06:00 -0400
parents 370e0b6e9826
children a025a4a89e07
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_sample-classifier_heatmap" name="qiime sample-classifier heatmap" version="2019.4">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Generate heatmap of important features.</description>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
4 <requirements>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
5 <requirement type="package" version="2019.4">qiime2</requirement>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
6 </requirements>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
7 <command><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
8 qiime sample-classifier heatmap
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10 --i-table=$itable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11 --i-importance=$iimportance
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
12
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 #if $input_files_mmetadatafile:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 #def list_dict_to_string(list_dict):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 #for d in list_dict[1:]:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19 #end for
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20 #return $file_list
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21 #end def
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 #if str($mmetadatacolumn):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 --m-metadata-column="$mmetadatacolumn"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 #if $pfeaturecount:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 --p-feature-count=$pfeaturecount
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 #if $pimportancethreshold:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
36 --p-importance-threshold=$pimportancethreshold
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39 #if $pgroupsamples:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40 --p-group-samples
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 #if $pnonormalize:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 --p-no-normalize
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 #if str($pmetric) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48 --p-metric=$pmetric
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 #if str($pmethod) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 --p-method=$pmethod
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 #if str($pcluster) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 --p-cluster=$pcluster
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
59 #if str($pcolorscheme) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 --p-color-scheme=$pcolorscheme
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
63 --o-heatmap=oheatmap
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 --o-filtered-table=ofilteredtable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
65 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66 qiime tools export --input-path oheatmap.qzv --output-path out && mkdir -p '$oheatmap.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
67 && cp -r out/* '$oheatmap.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
68 && mv '$oheatmap.files_path/index.html' '$oheatmap';
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
69 cp ofilteredtable.qza $ofilteredtable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
70 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
71 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
72 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] Feature table containing all features that should be used for target prediction. [required]" name="itable" optional="False" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
73 <param format="qza,no_unzip.zip" label="--i-importance: ARTIFACT FeatureData[Importance] Feature importances. [required]" name="iimportance" optional="False" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
74 <param label="--m-metadata-column: COLUMN MetadataColumn[Categorical] Metadata file to convert to feature table. [optional]" name="mmetadatacolumn" optional="True" type="text"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
75 <param label="--p-feature-count: INTEGER Range(0, None) Filter feature table to include top N most important features. Set to zero to include all features. [default: 50]" name="pfeaturecount" optional="True" type="integer" value="50" min="0"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
76 <param label="--p-importance-threshold: NUMBER Range(0, None) Filter feature table to exclude any features with an importance score less than this threshold. Set to zero to include all features. [default: 0]" name="pimportancethreshold" optional="True" type="float" value="0" min="0"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
77 <param label="--p-group-samples: --p-no-group-samples Group samples by metadata. [default: False]" name="pgroupsamples" selected="False" type="boolean"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
78 <param label="--p-no-normalize: Normalize the feature table by adding a psuedocount of 1 and then taking the log10 of the table. [default: False]" name="pnonormalize" selected="False" type="boolean"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
79 <param label="--p-metric: " name="pmetric" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
80 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
81 <option value="kulsinski">kulsinski</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
82 <option value="correlation">correlation</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
83 <option value="hamming">hamming</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
84 <option value="canberra">canberra</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
85 <option value="sqeuclidean">sqeuclidean</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
86 <option value="sokalmichener">sokalmichener</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
87 <option value="cityblock">cityblock</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
88 <option value="braycurtis">braycurtis</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
89 <option value="matching">matching</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
90 <option value="russellrao">russellrao</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
91 <option value="cosine">cosine</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
92 <option value="yule">yule</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
93 <option value="minkowski">minkowski</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
94 <option value="euclidean">euclidean</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
95 <option value="rogerstanimoto">rogerstanimoto</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
96 <option value="seuclidean">seuclidean</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
97 <option value="jaccard">jaccard</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
98 <option value="sokalsneath">sokalsneath</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
99 <option value="chebyshev">chebyshev</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
100 <option value="dice">dice</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
101 <option value="mahalanobis">mahalanobis</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
102 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
103 <param label="--p-method: " name="pmethod" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
104 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
105 <option value="complete">complete</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
106 <option value="centroid">centroid</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
107 <option value="weighted">weighted</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
108 <option value="single">single</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
109 <option value="ward">ward</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
110 <option value="average">average</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
111 <option value="median">median</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
112 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
113 <param label="--p-cluster: " name="pcluster" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
114 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
115 <option value="features">features</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
116 <option value="both">both</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
117 <option value="samples">samples</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
118 <option value="none">none</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
119 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
120 <param label="--p-color-scheme: " name="pcolorscheme" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
121 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
122 <option value="bone">bone</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
123 <option value="PRGn_r">PRGn_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
124 <option value="Vega10_r">Vega10_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
125 <option value="GnBu">GnBu</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
126 <option value="hsv">hsv</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
127 <option value="binary_r">binary_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
128 <option value="GnBu_r">GnBu_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
129 <option value="icefire">icefire</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
130 <option value="winter">winter</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
131 <option value="BuGn_r">BuGn_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
132 <option value="plasma_r">plasma_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
133 <option value="Vega20_r">Vega20_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
134 <option value="summer_r">summer_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
135 <option value="cool_r">cool_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
136 <option value="Spectral">Spectral</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
137 <option value="gist_heat_r">gist_heat_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
138 <option value="Vega20b_r">Vega20b_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
139 <option value="mako_r">mako_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
140 <option value="RdBu_r">RdBu_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
141 <option value="cubehelix">cubehelix</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
142 <option value="tab20b_r">tab20b_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
143 <option value="CMRmap">CMRmap</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
144 <option value="Greys">Greys</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
145 <option value="PuOr">PuOr</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
146 <option value="cubehelix_r">cubehelix_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
147 <option value="Wistia">Wistia</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
148 <option value="gnuplot2">gnuplot2</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
149 <option value="bwr">bwr</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
150 <option value="gnuplot_r">gnuplot_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
151 <option value="viridis">viridis</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
152 <option value="gist_ncar_r">gist_ncar_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
153 <option value="gist_ncar">gist_ncar</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
154 <option value="plasma">plasma</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
155 <option value="PuRd">PuRd</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
156 <option value="afmhot">afmhot</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
157 <option value="icefire_r">icefire_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
158 <option value="tab20b">tab20b</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
159 <option value="gist_yarg_r">gist_yarg_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
160 <option value="hot">hot</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
161 <option value="YlOrRd_r">YlOrRd_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
162 <option value="Vega20c">Vega20c</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
163 <option value="Dark2_r">Dark2_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
164 <option value="Set3">Set3</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
165 <option value="PuBu">PuBu</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
166 <option value="magma">magma</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
167 <option value="Pastel2">Pastel2</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
168 <option value="terrain">terrain</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
169 <option value="autumn_r">autumn_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
170 <option value="spectral">spectral</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
171 <option value="brg">brg</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
172 <option value="Set3_r">Set3_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
173 <option value="coolwarm">coolwarm</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
174 <option value="Set2_r">Set2_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
175 <option value="Paired_r">Paired_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
176 <option value="tab20c_r">tab20c_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
177 <option value="mako">mako</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
178 <option value="gist_rainbow_r">gist_rainbow_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
179 <option value="RdBu">RdBu</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
180 <option value="PuBu_r">PuBu_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
181 <option value="jet_r">jet_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
182 <option value="gist_earth_r">gist_earth_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
183 <option value="Greys_r">Greys_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
184 <option value="gray">gray</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
185 <option value="winter_r">winter_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
186 <option value="rocket">rocket</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
187 <option value="Set2">Set2</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
188 <option value="seismic_r">seismic_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
189 <option value="Pastel1">Pastel1</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
190 <option value="RdYlGn_r">RdYlGn_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
191 <option value="copper">copper</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
192 <option value="spring_r">spring_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
193 <option value="BuGn">BuGn</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
194 <option value="Greens">Greens</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
195 <option value="Blues">Blues</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
196 <option value="PiYG_r">PiYG_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
197 <option value="YlGnBu">YlGnBu</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
198 <option value="Paired">Paired</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
199 <option value="YlGn_r">YlGn_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
200 <option value="RdPu_r">RdPu_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
201 <option value="BrBG_r">BrBG_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
202 <option value="bone_r">bone_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
203 <option value="RdYlBu">RdYlBu</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
204 <option value="gist_rainbow">gist_rainbow</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
205 <option value="bwr_r">bwr_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
206 <option value="inferno_r">inferno_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
207 <option value="inferno">inferno</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
208 <option value="gist_stern_r">gist_stern_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
209 <option value="gray_r">gray_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
210 <option value="Purples">Purples</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
211 <option value="RdGy">RdGy</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
212 <option value="hot_r">hot_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
213 <option value="YlOrBr_r">YlOrBr_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
214 <option value="nipy_spectral">nipy_spectral</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
215 <option value="nipy_spectral_r">nipy_spectral_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
216 <option value="ocean">ocean</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
217 <option value="Set1">Set1</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
218 <option value="Dark2">Dark2</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
219 <option value="Oranges">Oranges</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
220 <option value="Pastel1_r">Pastel1_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
221 <option value="Oranges_r">Oranges_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
222 <option value="Pastel2_r">Pastel2_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
223 <option value="YlGn">YlGn</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
224 <option value="Vega20b">Vega20b</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
225 <option value="PuRd_r">PuRd_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
226 <option value="PuBuGn_r">PuBuGn_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
227 <option value="afmhot_r">afmhot_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
228 <option value="spring">spring</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
229 <option value="tab20_r">tab20_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
230 <option value="PuBuGn">PuBuGn</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
231 <option value="gist_yarg">gist_yarg</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
232 <option value="PiYG">PiYG</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
233 <option value="flag">flag</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
234 <option value="rainbow_r">rainbow_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
235 <option value="hsv_r">hsv_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
236 <option value="prism_r">prism_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
237 <option value="ocean_r">ocean_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
238 <option value="magma_r">magma_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
239 <option value="flag_r">flag_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
240 <option value="Blues_r">Blues_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
241 <option value="gnuplot2_r">gnuplot2_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
242 <option value="gist_gray">gist_gray</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
243 <option value="spectral_r">spectral_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
244 <option value="CMRmap_r">CMRmap_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
245 <option value="rainbow">rainbow</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
246 <option value="gnuplot">gnuplot</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
247 <option value="vlag">vlag</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
248 <option value="Set1_r">Set1_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
249 <option value="Accent">Accent</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
250 <option value="coolwarm_r">coolwarm_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
251 <option value="brg_r">brg_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
252 <option value="pink_r">pink_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
253 <option value="YlOrBr">YlOrBr</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
254 <option value="Vega20c_r">Vega20c_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
255 <option value="Wistia_r">Wistia_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
256 <option value="RdGy_r">RdGy_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
257 <option value="tab20">tab20</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
258 <option value="BrBG">BrBG</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
259 <option value="rocket_r">rocket_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
260 <option value="OrRd_r">OrRd_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
261 <option value="YlGnBu_r">YlGnBu_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
262 <option value="viridis_r">viridis_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
263 <option value="copper_r">copper_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
264 <option value="gist_heat">gist_heat</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
265 <option value="Vega10">Vega10</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
266 <option value="PuOr_r">PuOr_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
267 <option value="binary">binary</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
268 <option value="pink">pink</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
269 <option value="Reds">Reds</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
270 <option value="Purples_r">Purples_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
271 <option value="cool">cool</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
272 <option value="prism">prism</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
273 <option value="terrain_r">terrain_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
274 <option value="BuPu_r">BuPu_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
275 <option value="Spectral_r">Spectral_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
276 <option value="Greens_r">Greens_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
277 <option value="gist_gray_r">gist_gray_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
278 <option value="RdYlGn">RdYlGn</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
279 <option value="tab20c">tab20c</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
280 <option value="Reds_r">Reds_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
281 <option value="tab10">tab10</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
282 <option value="summer">summer</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
283 <option value="gist_stern">gist_stern</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
284 <option value="tab10_r">tab10_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
285 <option value="YlOrRd">YlOrRd</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
286 <option value="jet">jet</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
287 <option value="Vega20">Vega20</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
288 <option value="vlag_r">vlag_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
289 <option value="RdPu">RdPu</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
290 <option value="OrRd">OrRd</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
291 <option value="Accent_r">Accent_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
292 <option value="autumn">autumn</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
293 <option value="BuPu">BuPu</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
294 <option value="RdYlBu_r">RdYlBu_r</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
295 <option value="gist_earth">gist_earth</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
296 <option value="seismic">seismic</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
297 <option value="PRGn">PRGn</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
298 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
299
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
300 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
301 <param label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [optional]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
302 </repeat>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
303
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
304 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
305 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
306 <data format="html" label="${tool.name} on ${on_string}: heatmap.qzv" name="oheatmap"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
307 <data format="qza" label="${tool.name} on ${on_string}: filteredtable.qza" name="ofilteredtable"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
308 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
309 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
310 Generate heatmap of important features.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
311 #######################################
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
312
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
313 Generate a heatmap of important features. Features are filtered based on
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
314 importance scores; samples are optionally grouped by metadata; and a
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
315 heatmap is generated that displays (normalized) feature abundances per
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
316 sample.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
317
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
318 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
319 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
320 table : FeatureTable[Frequency]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
321 Feature table containing all features that should be used for target
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
322 prediction.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
323 importance : FeatureData[Importance]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
324 Feature importances.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
325 metadata : MetadataColumn[Categorical], optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
326 Metadata file to convert to feature table.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
327 feature_count : Int % Range(0, None), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
328 Filter feature table to include top N most important features. Set to
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
329 zero to include all features.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
330 importance_threshold : Float % Range(0, None), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
331 Filter feature table to exclude any features with an importance score
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
332 less than this threshold. Set to zero to include all features.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
333 group_samples : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
334 Group samples by metadata.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
335 normalize : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
336 Normalize the feature table by adding a psuedocount of 1 and then
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
337 taking the log10 of the table.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
338 metric : Str % Choices('sokalmichener', 'yule', 'russellrao', 'rogerstanimoto', 'minkowski', 'correlation', 'jaccard', 'cosine', 'chebyshev', 'euclidean', 'sqeuclidean', 'cityblock', 'matching', 'dice', 'mahalanobis', 'kulsinski', 'seuclidean', 'sokalsneath', 'canberra', 'hamming', 'braycurtis'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
339 Metrics exposed by seaborn (see http://seaborn.pydata.org/generated/sea
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
340 born.clustermap.html#seaborn.clustermap for more detail).
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
341 method : Str % Choices('average', 'complete', 'median', 'centroid', 'single', 'ward', 'weighted'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
342 Clustering methods exposed by seaborn (see http://seaborn.pydata.org/ge
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
343 nerated/seaborn.clustermap.html#seaborn.clustermap for more detail).
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
344 cluster : Str % Choices('features', 'samples', 'none', 'both'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
345 Specify which axes to cluster.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
346 color_scheme : Str % Choices('rocket', 'RdYlBu_r', 'winter', 'viridis', 'BrBG', 'magma_r', 'YlOrBr', 'seismic', 'Set1', 'gist_yarg_r', 'gist_rainbow', 'autumn_r', 'Wistia_r', 'cool_r', 'hsv_r', 'flag', 'Vega20b_r', 'mako_r', 'coolwarm', 'Vega20_r', 'jet', 'cubehelix_r', 'bwr_r', 'brg', 'RdPu', 'gist_ncar', 'RdPu_r', 'cool', 'gnuplot_r', 'Set3', 'ocean_r', 'tab20b', 'tab20b_r', 'OrRd_r', 'Spectral_r', 'gray', 'OrRd', 'prism_r', 'Wistia', 'hot', 'icefire', 'plasma', 'Purples_r', 'viridis_r', 'gnuplot2_r', 'CMRmap', 'YlGnBu_r', 'Set3_r', 'PuRd_r', 'Reds_r', 'gray_r', 'Dark2', 'Vega20b', 'Paired', 'gist_yarg', 'RdYlGn_r', 'Greens', 'YlGnBu', 'tab20', 'gnuplot', 'PuBuGn_r', 'spectral_r', 'tab20c_r', 'gist_rainbow_r', 'hot_r', 'spring_r', 'gist_gray', 'Blues_r', 'Spectral', 'magma', 'GnBu_r', 'inferno_r', 'tab10', 'gist_gray_r', 'seismic_r', 'spring', 'BuPu_r', 'spectral', 'BrBG_r', 'PiYG', 'inferno', 'YlOrBr_r', 'Set1_r', 'YlOrRd_r', 'summer', 'vlag', 'Oranges_r', 'Dark2_r', 'binary_r', 'icefire_r', 'RdYlGn', 'hsv', 'gist_heat', 'PRGn_r', 'pink_r', 'Pastel2_r', 'copper_r', 'BuGn', 'gist_stern_r', 'PuRd', 'gist_earth_r', 'YlOrRd', 'Reds', 'gist_earth', 'Greens_r', 'Vega10', 'ocean', 'brg_r', 'rainbow_r', 'tab20_r', 'Purples', 'Blues', 'Accent', 'afmhot_r', 'Set2_r', 'RdBu', 'Vega20c', 'Pastel1', 'RdGy_r', 'PuBuGn', 'copper', 'PuOr', 'jet_r', 'YlGn_r', 'gist_heat_r', 'PuOr_r', 'bone', 'BuGn_r', 'terrain_r', 'mako', 'Vega20c_r', 'Paired_r', 'PuBu_r', 'tab20c', 'Pastel1_r', 'flag_r', 'plasma_r', 'Oranges', 'autumn', 'bone_r', 'GnBu', 'bwr', 'Greys', 'RdBu_r', 'RdGy', 'winter_r', 'gnuplot2', 'coolwarm_r', 'pink', 'nipy_spectral', 'Greys_r', 'summer_r', 'Vega20', 'BuPu', 'afmhot', 'gist_stern', 'binary', 'PiYG_r', 'YlGn', 'rocket_r', 'cubehelix', 'rainbow', 'Accent_r', 'CMRmap_r', 'PRGn', 'PuBu', 'tab10_r', 'prism', 'vlag_r', 'Set2', 'gist_ncar_r', 'nipy_spectral_r', 'Pastel2', 'terrain', 'RdYlBu', 'Vega10_r'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
347 Color scheme for heatmap.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
348
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
349 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
350 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
351 heatmap : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
352 Heatmap of important features.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
353 filtered_table : FeatureTable[Frequency]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
354 Filtered feature table containing data displayed in heatmap.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
355 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
356 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
357 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
358 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
359 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
360 </tool>