Mercurial > repos > thanhlv > humann_split_stratified_table
comparison humann_split_stratified_table.xml @ 0:81e57f1d3937 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
author | thanhlv |
---|---|
date | Mon, 13 Feb 2023 16:23:45 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:81e57f1d3937 |
---|---|
1 <tool id="humann_split_stratified_table" name="Split a HUMAnN table" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" > | |
2 <description>into 2 tables (one stratified and one unstratified)</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="edam_ontology"/> | |
7 <expand macro="requirements"/> | |
8 <expand macro="version"/> | |
9 <command detect_errors="exit_code"><![CDATA[ | |
10 humann_split_stratified_table | |
11 --input '$input' | |
12 --output 'output' | |
13 ]]></command> | |
14 <inputs> | |
15 <param argument="--input" type="data" format="tsv,tabular" label="Stratified input table"/> | |
16 </inputs> | |
17 <outputs> | |
18 <data format="tabular" name="stratified" from_work_dir="output/*_stratified*" label="${tool.name} on ${on_string}: Stratified table"/> | |
19 <data format="tabular" name="unstratified" from_work_dir="output/*_unstratified*" label="${tool.name} on ${on_string}: Unstratified table"/> | |
20 </outputs> | |
21 <tests> | |
22 <test expect_num_outputs="2"> | |
23 <param name="input" value="demo_genefamilies.tsv"/> | |
24 <output name="stratified" ftype="tabular"> | |
25 <assert_contents> | |
26 <has_text text="UniRef90_A0A174QBF2|g__Bacteroides.s__Bacteroides_vulgatus" /> | |
27 <has_text text="UniRef90_A0A3E5DKA1|g__Bacteroides.s__Bacteroides_vulgatus" /> | |
28 </assert_contents> | |
29 </output> | |
30 <output name="unstratified" ftype="tabular"> | |
31 <assert_contents> | |
32 <has_text text="UniRef90_A0A174QBF2" /> | |
33 <not_has_text text="UniRef90_A0A174QBF2|g__Bacteroides.s__Bacteroides_vulgatus" /> | |
34 <has_text text="UniRef90_A0A3E5DKA1" /> | |
35 <not_has_text text="UniRef90_A0A3E5DKA1|g__Bacteroides.s__Bacteroides_vulgatus" /> | |
36 </assert_contents> | |
37 </output> | |
38 </test> | |
39 </tests> | |
40 <help><![CDATA[ | |
41 @HELP_HEADER@ | |
42 | |
43 This tool splits a stratified table into two files (one stratified and one unstratified). | |
44 ]]></help> | |
45 <expand macro="citations"/> | |
46 </tool> |