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

Uploaded
author florianbegusch
date Wed, 17 Jul 2019 03:05:17 -0400
parents
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_metadata_tabulate" name="qiime metadata tabulate" version="2019.4">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Interactively explore Metadata in an HTML 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 metadata tabulate
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11 #def list_dict_to_string(list_dict):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
12 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 #for d in list_dict[1:]:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 #set $file_list = $file_list + ' --m-input-file=' + d['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 #end for
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16 #return $file_list
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 #end def
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 --m-input-file=$list_dict_to_string($input_files_minputfile)
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21 #if $ppagesize:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22 --p-page-size=$ppagesize
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 #end if
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 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
33
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 <repeat name="input_files_minputfile" optional="False" title="--m-input-file">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 <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
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 Interactively explore Metadata in an HTML table
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 ###############################################
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46 Generate a tabular view of Metadata. The output visualization supports
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 interactive filtering, sorting, and exporting to common file formats.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 input : Metadata
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 The metadata to tabulate.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 page_size : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 The maximum number of Metadata records to display per page
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 visualization : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
59 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
63 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 </tool>