annotate qiime2/qiime_feature-table_summarize.xml @ 1:255f48db74f8 draft

Hotfix
author florianbegusch
date Wed, 17 Jul 2019 03:26:16 -0400
parents 370e0b6e9826
children 51025741f326
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_feature-table_summarize" name="qiime feature-table summarize" version="2019.4">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Summarize table</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 feature-table summarize
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10 --i-table=$itable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
12 #def list_dict_to_string(list_dict):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 #for d in list_dict[1:]:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16 #end for
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 #return $file_list
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 #end def
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19 --m-sample-metadata-file=$list_dict_to_string($m_sample_metadatafile)
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21 --o-visualization=ovisualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24 && cp -r out/* '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 && mv '$ovisualization.files_path/index.html' '$ovisualization'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency | RelativeFrequency | PresenceAbsence] The feature table to be summarized. [required]" name="itable" optional="False" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 <repeat name="m_sample_metadatafile" optional="False" title="--m-metadata-file">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 <param label="--m-sample-metadata-file: (multiple arguments will be merged) The sample metadata. [required]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 </repeat>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
36 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38 Summarize table
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39 ###############
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41 Generate visual and tabular summaries of a feature table.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 table : FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46 The feature table to be summarized.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 sample_metadata : Metadata, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48 The sample metadata.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 visualization : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 </tool>