annotate cpo_mlst.xml @ 4:bd6f5844d60e draft

planemo upload
author jjjjia
date Mon, 20 Aug 2018 19:31:34 -0400
parents fea89c4d5227
children 698579246d0d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
1 <tool id="mlst" name="MLST" version="2.11">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
2 <requirements>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
3 <requirement type="package" version="2.11">mlst</requirement>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
4 </requirements>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
5
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
6 <version_command>mlst --version</version_command>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
7
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
9 mlst "$input_file" --nopath > "$report"
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
10 ]]></command>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
11
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
12 <inputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
13 <param type="data" name="input_file" format="fasta,genbank" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
14 <conditional name="settings">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
15 <param name="advanced" type="select" label="Specify advanced parameters">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
16 <option value="simple" selected="true">No, use program defaults.</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
17 <option value="advanced">Yes, see full parameter list.</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
18 </param>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
19 <when value="simple">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
20 </when>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
21 <when value="advanced">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
22 <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" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
23 <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" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
24 <param name="scheme" type="text" area="false" label="PubMLST Scheme" help="Turn off auto-detection and only use this scheme" optional="true" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
25 </when>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
26 </conditional>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
27 </inputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
28
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
29 <outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
30 <data name="report" format="tabular" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
31 </outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
32
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
33 <tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
34 <!-- Basic test - will produce no results. -->
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
35 <test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
36 <param name="input_file" value="Acetobacter.fna"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
37 <param name="advanced" value="simple"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
38 <output name="report" ftype="tabular" file="output_noresults.txt" compare="contains"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
39 </test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
40
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
41 <!-- Basic test - will produce results. -->
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
42 <test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
43 <param name="input_file" value="MRSA0252_trimmed.fna"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
44 <param name="advanced" value="simple"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
45 <output name="report" ftype="tabular" file="output_mrsa.txt" compare="contains"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
46 </test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
47
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
48 <!-- Advanced test - Min DNA Coverage 100 -->
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
49 <test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
50 <param name="input_file" value="MRSA0252_trimmed.fna"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
51 <param name="advanced" value="advanced"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
52 <param name="min_dna_cov" value="100"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
53 <output name="report" ftype="tabular" file="output_mincov100.txt" compare="contains"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
54 </test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
55
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
56 <!-- Advanced test - Min DNA ID 100 -->
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
57 <test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
58 <param name="input_file" value="MRSA0252_trimmed.fna"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
59 <param name="advanced" value="advanced"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
60 <param name="min_dna_id" value="100"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
61 <output name="report" ftype="tabular" file="output_minid100.txt" compare="contains"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
62 </test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
63 </tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
64
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
65 <help>performs mlst</help>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
66
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
67 <citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
68 <citation type="bibtex">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
69 @UNPUBLISHED{Seemann2016,
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
70 author = "Seemann T",
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
71 title = "MLST: Scan contig files against PubMLST typing schemes",
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
72 year = "2016",
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
73 note = "https://github.com/tseemann/mlst"}
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
74 </citation>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
75 </citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
76 </tool>