comparison humann_strain_profiler.xml @ 0:db4f6b239f5e 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:18:40 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:db4f6b239f5e
1 <tool id="humann_strain_profiler" name="Make strain profiles" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" >
2 <description></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_strain_profiler
11 --input '$input'
12 --critical_mean $critical_mean
13 --critical_count $critical_count
14 --pinterval $pinterval_1 $pinterval_2
15 --critical_samples $critical_samples
16 #if str($limit) != ''
17 --limit '$limit'
18 #end if
19 ]]></command>
20 <inputs>
21 <param argument="--input" type="data" format="tsv,tabular,biom1" label="Merged gene families output for two or more samples"/>
22 <param argument="--critical_mean" type="float" value="10.0" label="Default mean non-zero gene abundance for inclusion"/>
23 <param argument="--critical_count" type="integer" value="500" label="Default non-zero number of genes for inclusion"/>
24 <param name="pinterval_1" type="float" value="1e-10" label="Low prevalence threshold" help="Only genes with prevalence higher than the threshold are allowed"/>
25 <param name="pinterval_2" type="float" value="1" label="High prevalence threshold" help="Only genes with prevalence lower than the threshold are allowed"/>
26 <param argument="--critical_samples" type="integer" value="2" label="Threshold number of samples having strain"/>
27 <param argument="--limit" type="text" value="" optional="true" label="Limit output to species matching a particular pattern?" help="e.g. 'Streptococcus'"/>
28 </inputs>
29 <outputs>
30 <collection name="output" type="list">
31 <discover_datasets pattern="(?P&lt;designation&gt;.+)-strain_profile.tsv" format="tabular" directory="."/>
32 </collection>
33 </outputs>
34 <tests>
35 <test>
36 <param name="input" value="strain_profiler-input.txt"/>
37 <param name="critical_mean" value="1"/>
38 <param name="critical_count" value="2"/>
39 <param name="pinterval_1" value="1e-10"/>
40 <param name="pinterval_2" value="1"/>
41 <param name="critical_samples" value="2"/>
42 <output_collection name="output" type="list">
43 <element name="s1" ftype="tabular">
44 <assert_contents>
45 <has_text text="A|g1.s1"/>
46 <has_text text="10.0"/>
47 <has_n_columns n="4"/>
48 </assert_contents>
49 </element>
50 <element name="s2" ftype="tabular">
51 <assert_contents>
52 <has_text text="A|g1.s2"/>
53 <has_text text="10.0"/>
54 <has_n_columns n="4"/>
55 </assert_contents>
56 </element>
57 </output_collection>
58 </test>
59 </tests>
60 <help><![CDATA[
61 @HELP_HEADER@
62
63 This tool makes strain profiles, based on the principle of detecting variable
64 presence and absence of gene families within a species
65 that is otherwise well-covered in multiple samples.
66 ]]></help>
67 <expand macro="citations"/>
68 </tool>