annotate qiime2/qiime_feature-table_summarize.xml @ 3:558645416841 draft

Uploaded
author florianbegusch
date Sun, 21 Jul 2019 02:21:34 -0400
parents 51025741f326
children f190567fe3f6
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
2
51025741f326 Uploaded
florianbegusch
parents: 0
diff changeset
12
51025741f326 Uploaded
florianbegusch
parents: 0
diff changeset
13 #if $m_sample_metadatafile:
0
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 + ',' + 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-sample-metadata-file=$list_dict_to_string($m_sample_metadatafile)
2
51025741f326 Uploaded
florianbegusch
parents: 0
diff changeset
22 #end if
51025741f326 Uploaded
florianbegusch
parents: 0
diff changeset
23
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 --o-visualization=ovisualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 && cp -r out/* '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 && mv '$ovisualization.files_path/index.html' '$ovisualization'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 <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
33
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 <repeat name="m_sample_metadatafile" optional="False" title="--m-metadata-file">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 <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
36 </repeat>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42 Summarize table
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 ###############
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 Generate visual and tabular summaries of a feature table.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 table : FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 The feature table to be summarized.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 sample_metadata : Metadata, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 The sample metadata.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 visualization : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
59 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62 </tool>