annotate qiime2/qiime_metadata_tabulate.xml @ 9:f190567fe3f6 draft

Uploaded
author florianbegusch
date Wed, 14 Aug 2019 15:12:48 -0400
parents de4c22a52df4
children
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" ?>
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
2 <tool id="qiime_metadata_tabulate" name="qiime metadata tabulate" version="2019.7">
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Interactively explore Metadata in an HTML table</description>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
4 <requirements>
9
f190567fe3f6 Uploaded
florianbegusch
parents: 6
diff changeset
5 <requirement type="package" version="2019.7">qiime2</requirement>
0
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 metadata tabulate
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10
3
558645416841 Uploaded
florianbegusch
parents: 2
diff changeset
11 #if $input_files_minputfile:
0
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 + ' --m-input-file=' + 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-input-file=$list_dict_to_string($input_files_minputfile)
2
51025741f326 Uploaded
florianbegusch
parents: 0
diff changeset
20 #end if
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22
6
florianbegusch
parents: 3
diff changeset
23 #if str($ppagesize):
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24 --p-page-size=$ppagesize
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 --o-visualization=ovisualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 && cp -r out/* '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 && mv '$ovisualization.files_path/index.html' '$ovisualization'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 <param label="--p-page-size: INTEGER The maximum number of Metadata records to display per page [default: 100]" name="ppagesize" optional="True" type="integer" value="100"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
36 <repeat name="input_files_minputfile" optional="False" title="--m-input-file">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37 <param label="--m-input-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. The metadata to tabulate. [required]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38 </repeat>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 Interactively explore Metadata in an HTML table
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46 ###############################################
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48 Generate a tabular view of Metadata. The output visualization supports
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 interactive filtering, sorting, and exporting to common file formats.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 input : Metadata
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 The metadata to tabulate.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 page_size : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 The maximum number of Metadata records to display per page
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
59 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 visualization : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
63 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
65 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66 </tool>