annotate qiime2/qiime_taxa_barplot.xml @ 0:370e0b6e9826 draft

Uploaded
author florianbegusch
date Wed, 17 Jul 2019 03:05:17 -0400
parents
children 914fa4daf16a
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_taxa_barplot" name="qiime taxa barplot" version="2019.4">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Visualize taxonomy with an interactive bar plot</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 taxa barplot
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-taxonomy=$itaxonomy
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
12
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 #if $input_files_mmetadatafile:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 #def list_dict_to_string(list_dict):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16 #for d in list_dict[1:]:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 #end for
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19 #return $file_list
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20 #end def
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24 --o-visualization=ovisualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 && cp -r out/* '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 && mv '$ovisualization.files_path/index.html' '$ovisualization';
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 <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"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 <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"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 <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
36 </repeat>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 Visualize taxonomy with an interactive bar plot
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 ###############################################
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46 This visualizer produces an interactive barplot visualization of
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 taxonomies. Interactive features include multi-level sorting, plot
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48 recoloring, sample relabeling, and SVG figure export.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 table : FeatureTable[Frequency]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 Feature table to visualize at various taxonomic levels.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 taxonomy : FeatureData[Taxonomy]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 Taxonomic annotations for features in the provided feature table. All
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 features in the feature table must have a corresponding taxonomic
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 annotation. Taxonomic annotations that are not present in the feature
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 table will be ignored.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
59 metadata : Metadata
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 The sample metadata.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
63 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 visualization : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
65 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
67 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
68 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
69 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
70 </tool>