annotate biom_convert.xml @ 12:d4d4e9febf5c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
author iuc
date Fri, 15 Mar 2024 15:26:20 +0000
parents 091bb5922a82
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
54ccb7e1f49a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4ca0a67fd4126f8b2a135b6cb7894042e980b39a"
iuc
parents: 3
diff changeset
1 <tool id="biom_convert" name="Convert" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
2 <description>between BIOM table formats</description>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
3 <macros>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
4 <import>macros.xml</import>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
5 </macros>
11
091bb5922a82 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 2230d399cc6a526674f192099f00632dcc931e8c
iuc
parents: 9
diff changeset
6 <expand macro="bio_tools"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
7 <expand macro="requirements" />
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
8 <expand macro="version_command" />
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
9 <command detect_errors="exit_code">
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
10 <![CDATA[
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
11 ## biom convert requires the header to start with a #
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
12 ## so we just add one if its missing
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
13 #if $input.type_selector == "tsv"
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
14 sed '1s/^\([^#].*\)/#\1/' '$input.input_fp' > input &&
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
15 #else
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
16 ln -s '$input.input_fp' input &&
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
17 #end if
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
18 biom convert
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
19 --input-fp input
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
20 --output-fp '$output_fp'
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
21 #if str( $input.type_selector ) == "tsv"
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
22 #if $input.process_obs_metadata:
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
23 --process-obs-metadata '$input.process_obs_metadata'
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
24 #end if
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
25 #end if
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
26 #if str( $output.type_selector ) == "tsv"
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
27 --to-tsv
2
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
28 #if $output.header_key
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
29 --header-key '$output.header_key'
2
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
30 #if $output.output_metadata_id
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
31 --output-metadata-id '$output.output_metadata_id'
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
32 #end if
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
33 --tsv-metadata-formatter '$output.tsv_metadata_formatter'
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
34 #end if
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
35 #else:
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
36 --table-type '$output.table_type'
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
37 #if str( $output.biom_type.selector ) == 'hdf5':
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
38 --to-hdf5
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
39 $output.biom_type.collapsed_samples
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
40 $output.biom_type.collapsed_observations
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
41 #else:
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
42 --to-json
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
43 #end if
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
44 #if $output.sample_metadata_fp
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
45 --sample-metadata-fp '$output.sample_metadata_fp'
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
46 #end if
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
47 #if $output.observation_metadata_fp
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
48 --observation-metadata-fp '$output.observation_metadata_fp'
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
49 #end if
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
50 #end if
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
51 ]]>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
52 </command>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
53 <inputs>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
54 <conditional name="input">
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
55 <param name="type_selector" type="select" label="Choose the source BIOM format">
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
56 <option value="tsv" selected="True">Tabular File</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
57 <option value="biom">BIOM File</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
58 </param>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
59 <when value="tsv">
9
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
60 <param argument="--input-fp" type="data" format="tabular" label="Input table" />
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
61 <param argument="--process-obs-metadata" type="select" label="Process metadata associated with observations when converting">
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
62 <option value="" selected="True">Do Not process metadata</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
63 <option value="taxonomy">taxonomy</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
64 <option value="naive">naive</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
65 <option value="sc_separated">sc_separated</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
66 </param>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
67 </when>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
68 <when value="biom">
9
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
69 <param argument="--input-fp" type="data" format="biom1" label="Input BIOM table"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
70 </when>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
71 </conditional>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
72 <conditional name="output">
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
73 <param name="type_selector" type="select" label="Choose the output type">
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
74 <option value="tsv">TSV-formatted (classic) table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
75 <option value="biom" selected="True">BIOM</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
76 </param>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
77 <when value="tsv">
9
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
78 <param argument="--header-key" type="text" value="" label="observation metadata to include" help="Leave empty to ignore" />
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
79 <param argument="--output-metadata-id" type="text" value="" label="name to be given to the observation metadata column" help="Leave empty to ignore" />
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
80 <param argument="--tsv-metadata-formatter" type="select" label="Method for formatting the observation metadata" >
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
81 <option value="naive" selected="True">naive</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
82 <option value="sc_separated">Semi-colon separated</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
83 </param>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
84 </when>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
85 <when value="biom">
9
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
86 <param argument="--table-type" type="select" label="Table Type" >
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
87 <option value="OTU table">OTU table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
88 <option value="Pathway table">Pathway table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
89 <option value="Function table">Function table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
90 <option value="Ortholog table">Ortholog table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
91 <option value="Gene table">Gene table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
92 <option value="Metabolite table">Metabolite table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
93 <option value="Taxon table">Taxon table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
94 <option value="Table" selected="True">Table</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
95 </param>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
96 <conditional name="biom_type">
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
97 <param name="selector" type="select" label="BIOM format type">
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
98 <option value="json" selected="True">JSON-formatted table (BIOM1)</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
99 <option value="hdf5">HDF5-formatted table (BIOM2)</option>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
100 </param>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
101 <when value="json">
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
102 </when>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
103 <when value="hdf5">
9
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
104 <param argument="--collapsed-observations" type="boolean" truevalue="--collapsed-observations" falsevalue="" checked="False" label="Use collapsed observations"/>
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
105 <param argument="--collapsed-samples" type="boolean" truevalue="--collapsed-samples" falsevalue="" checked="False" label="Use collapsed samples"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
106 </when>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
107 </conditional>
9
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
108 <param argument="--sample-metadata-fp" type="data" format="tabular" optional="True" label="Add sample metadata from metadata mapping file" />
e177a8ea0bf1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 4d77c1e4bd9f6876ee338858a8cd4c7e9528d54c
iuc
parents: 4
diff changeset
109 <param argument="--observation-metadata-fp" type="data" format="tabular" optional="True" label="Add observation metadata from mapping file" />
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
110 </when>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
111 </conditional>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
112 </inputs>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
113 <outputs>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
114 <data format="biom1" name="output_fp">
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
115 <change_format>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
116 <when input="output.type_selector" value="tsv" format="tabular" />
12
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
117 <when input="output.biom_type.selector" value="json" format="biom1" />
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
118 <when input="output.biom_type.selector" value="hdf5" format="biom2" />
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
119 </change_format>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
120 </data>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
121 </outputs>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
122 <tests>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
123 <test>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
124 <conditional name="input">
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
125 <param name="type_selector" value="tsv"/>
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
126 <param name="input_fp" value="input_abundance_taxonomy_1.tabular" ftype="tabular"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
127 <param name="process_obs_metadata" value="taxonomy"/>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
128 </conditional>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
129 <conditional name="output">
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
130 <param name="type_selector" value="biom"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
131 <param name="table_type" value="OTU table"/>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
132 <conditional name="biom_type">
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
133 <param name="selector" value="json"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
134 </conditional>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
135 </conditional>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
136 <output name="output_fp" file="output_taxonomy_1.biom1.re" ftype="biom1" compare="re_match"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
137 </test>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
138 <test>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
139 <conditional name="input">
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
140 <param name="type_selector" value="tsv"/>
12
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
141 <param name="input_fp" value="input_abundance_taxonomy_1.tabular" ftype="tabular"/>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
142 <param name="process_obs_metadata" value="taxonomy"/>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
143 </conditional>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
144 <conditional name="output">
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
145 <param name="type_selector" value="biom"/>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
146 <param name="table_type" value="OTU table"/>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
147 <conditional name="biom_type">
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
148 <param name="selector" value="hdf5"/>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
149 </conditional>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
150 </conditional>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
151 <output name="output_fp" ftype="biom2">
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
152 <assert_contents>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
153 <has_size value="37k" delta="10k"/>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
154 </assert_contents>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
155 </output>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
156 </test>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
157 <test>
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
158 <conditional name="input">
d4d4e9febf5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 950bc3657a7bd6975337324bd0f1d0e5c0afc0f4
iuc
parents: 11
diff changeset
159 <param name="type_selector" value="tsv"/>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
160 <param name="input_fp" value="input_abundance_1.tabular" ftype="tabular"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
161 <param name="process_obs_metadata" value=""/>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
162 </conditional>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
163 <conditional name="output">
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
164 <param name="type_selector" value="biom"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
165 <param name="table_type" value="OTU table"/>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
166 <conditional name="biom_type">
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
167 <param name="selector" value="json"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
168 </conditional>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
169 <param name="sample_metadata_fp"/>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
170 <param name="observation_metadata_fp"/>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
171 </conditional>
1
0de92f0b96ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f726b353973996a1f59e2044e80ef7c9b75833ab"
iuc
parents: 0
diff changeset
172 <output name="output_fp" file="output_1.biom1.re" ftype="biom1" compare="re_match"/>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
173 </test>
2
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
174 <test>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
175 <conditional name="input">
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
176 <param name="type_selector" value="biom"/>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
177 <param name="input_fp" value="input_abundance_1.biom1" ftype="biom1"/>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
178 </conditional>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
179 <conditional name="output">
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
180 <param name="type_selector" value="tsv"/>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
181 <param name="header_key"/>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
182 <param name="output_metadata_id"/>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
183 <param name="tsv_metadata_formatter" value="naive"/>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
184 </conditional>
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
185 <output name="output_fp" file="output_abundance_1.tabular" ftype="tabular" />
584008e574b2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
iuc
parents: 1
diff changeset
186 </test>
0
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
187 </tests>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
188 <help><![CDATA[
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
189
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
190 Usage: biom convert [OPTIONS]::
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
191
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
192 Convert to/from the BIOM table format.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
193
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
194 Convert between BIOM table formats. See examples here: http://biom-format.org/documentation/biom_conversion.html
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
195
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
196 Example usage:
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
197
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
198 Convert a "classic" BIOM file (tab-separated text) to an HDF5 BIOM formatted OTU table:
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
199
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
200 $ biom convert -i table.txt -o table.biom --to-hdf5
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
201
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
202
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
203 Options:
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
204 -i, --input-fp PATH The input BIOM table [required]
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
205 -o, --output-fp PATH The output BIOM table [required]
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
206 -m, --sample-metadata-fp PATH The sample metadata mapping file (will add sample metadata to the input BIOM table, if provided).
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
207 --observation-metadata-fp PATH The observation metadata mapping file (will add observation metadata to the input BIOM table, if provided).
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
208 --to-json Output as JSON-formatted table.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
209 --to-hdf5 Output as HDF5-formatted table.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
210 --to-tsv Output as TSV-formatted (classic) table. table is a BIOM table with collapsed samples, this will update the sample metadata of the table to the supported HDF5 collapsed format.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
211 --collapsed-observations If --to_hdf5 is passed and the original table is a BIOM table with collapsed observations, this will update the supported HDF5 collapsed format.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
212 --header-key TEXT The observation metadata to include from the input BIOM table file when creating a tsv table file. By default no observation metadata will be included.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
213 --output-metadata-id TEXT The name to be given to the observation metadata column when creating a tsv table file if the column should be renamed.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
214 --table-type OTU table,Pathway table,Function table,Ortholog table,Gene table,Metabolite table,Taxon table,Table The type of the table.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
215 --process-obs-metadata taxonomy,naive,sc_separated Process metadata associated with observations when converting from a classic table.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
216 --tsv-metadata-formatter naive,sc_separated Method for formatting the observation
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
217 --help Show this message and exit.
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
218
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
219 ]]></help>
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
220 <expand macro="citations" />
501c21cce614 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 01bf97e10e5491ec878cca24495d8125449dfc1e
iuc
parents:
diff changeset
221 </tool>