annotate qiime2-2020.8/qiime_taxa_barplot.xml @ 20:d93d8888f0b0 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:44:24 +0000
parents
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_taxa_barplot" name="qiime taxa barplot"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Visualize taxonomy with an interactive bar plot</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 taxa barplot
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 --i-taxonomy=$itaxonomy
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 --o-visualization=ovisualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 cp otesttable.qza $otesttable
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 qiime tools export ovisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 && mkdir -p '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 && cp -r out/* '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 && mv '$ovisualization.files_path/index.html' '$ovisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 qiime tools export ovisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 && mkdir -p '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 && cp -r out/* '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 && mv '$ovisualization.files_path/index.html' '$ovisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] Feature table to visualize at various taxonomic levels. [required]" name="itable" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 <param format="qza,no_unzip.zip" label="--i-taxonomy: ARTIFACT FeatureData[Taxonomy] Taxonomic annotations for features in the provided feature table. All features in the feature table must have a corresponding taxonomic annotation. Taxonomic annotations that are not present in the feature table will be ignored. [required]" name="itaxonomy" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple The sample metadata. arguments will be merged) [required]" name="additional_input" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 Visualize taxonomy with an interactive bar plot
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 This visualizer produces an interactive barplot visualization of
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 taxonomies. Interactive features include multi-level sorting, plot
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 recoloring, sample relabeling, and SVG figure export.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 table : FeatureTable[Frequency]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 Feature table to visualize at various taxonomic levels.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 taxonomy : FeatureData[Taxonomy]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 Taxonomic annotations for features in the provided feature table. All
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 features in the feature table must have a corresponding taxonomic
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 annotation. Taxonomic annotations that are not present in the feature
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 table will be ignored.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 metadata : Metadata
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 The sample metadata.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 visualization : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 </tool>