5
|
1 <tool id="cpo_mlst" name="cpo_mlst" version="2.11">
|
|
2 <description>Modified MLST v2.11 to support for the cpo_prediction workflow</description>
|
|
3 <requirements>
|
1
|
4 <requirement type="package" version="2.11">mlst</requirement>
|
|
5 </requirements>
|
|
6
|
|
7 <version_command>mlst --version</version_command>
|
|
8
|
|
9 <command detect_errors="exit_code"><![CDATA[
|
|
10 mlst "$input_file" --nopath > "$report"
|
|
11 ]]></command>
|
|
12
|
|
13 <inputs>
|
|
14 <param type="data" name="input_file" format="fasta,genbank" />
|
|
15 <conditional name="settings">
|
|
16 <param name="advanced" type="select" label="Specify advanced parameters">
|
|
17 <option value="simple" selected="true">No, use program defaults.</option>
|
|
18 <option value="advanced">Yes, see full parameter list.</option>
|
|
19 </param>
|
|
20 <when value="simple">
|
|
21 </when>
|
|
22 <when value="advanced">
|
|
23 <param name="min_dna_id" type="integer" label="Minimum DNA identity" value="95" min="0" max="100" help="Minimum DNA identity of full allelle to consider 'similar' (default 95, must be between 0-100)" optional="true" />
|
|
24 <param name="min_dna_cov" type="integer" label="Minimum DNA coverage" value="10" help="Minimum DNA coverage to report partial allele at all (default 10)" optional="true" />
|
|
25 <param name="scheme" type="text" area="false" label="PubMLST Scheme" help="Turn off auto-detection and only use this scheme" optional="true" />
|
|
26 </when>
|
|
27 </conditional>
|
|
28 </inputs>
|
|
29
|
|
30 <outputs>
|
|
31 <data name="report" format="tabular" />
|
|
32 </outputs>
|
|
33
|
|
34 <tests>
|
|
35 <!-- Basic test - will produce no results. -->
|
|
36 <test>
|
|
37 <param name="input_file" value="Acetobacter.fna"/>
|
|
38 <param name="advanced" value="simple"/>
|
|
39 <output name="report" ftype="tabular" file="output_noresults.txt" compare="contains"/>
|
|
40 </test>
|
|
41
|
|
42 <!-- Basic test - will produce results. -->
|
|
43 <test>
|
|
44 <param name="input_file" value="MRSA0252_trimmed.fna"/>
|
|
45 <param name="advanced" value="simple"/>
|
|
46 <output name="report" ftype="tabular" file="output_mrsa.txt" compare="contains"/>
|
|
47 </test>
|
|
48
|
|
49 <!-- Advanced test - Min DNA Coverage 100 -->
|
|
50 <test>
|
|
51 <param name="input_file" value="MRSA0252_trimmed.fna"/>
|
|
52 <param name="advanced" value="advanced"/>
|
|
53 <param name="min_dna_cov" value="100"/>
|
|
54 <output name="report" ftype="tabular" file="output_mincov100.txt" compare="contains"/>
|
|
55 </test>
|
|
56
|
|
57 <!-- Advanced test - Min DNA ID 100 -->
|
|
58 <test>
|
|
59 <param name="input_file" value="MRSA0252_trimmed.fna"/>
|
|
60 <param name="advanced" value="advanced"/>
|
|
61 <param name="min_dna_id" value="100"/>
|
|
62 <output name="report" ftype="tabular" file="output_minid100.txt" compare="contains"/>
|
|
63 </test>
|
|
64 </tests>
|
|
65
|
|
66 <help>performs mlst</help>
|
|
67
|
|
68 <citations>
|
|
69 <citation type="bibtex">
|
|
70 @UNPUBLISHED{Seemann2016,
|
|
71 author = "Seemann T",
|
|
72 title = "MLST: Scan contig files against PubMLST typing schemes",
|
|
73 year = "2016",
|
|
74 note = "https://github.com/tseemann/mlst"}
|
|
75 </citation>
|
|
76 </citations>
|
|
77 </tool> |