annotate cpo_mobsuite.xml @ 19:ab2a037ad69c draft

planemo upload
author jjjjia
date Tue, 28 Aug 2018 15:17:03 -0400
parents ed3b291693fc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
698579246d0d planemo upload
jjjjia
parents: 1
diff changeset
1 <tool id="cpo_mob_recon" name="cpo_mob_recon" version="1.4.8">
698579246d0d planemo upload
jjjjia
parents: 1
diff changeset
2 <description>Modified Mobsuite (Mob-Recon) v1.4.8 to add the mob_typer for the cpo_prediction workflow</description>
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
3 <requirements>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
4 <requirement type="package" version="1.4.8">mob_suite</requirement>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
5 </requirements>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
6 <command detect_errors="exit_code">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
7 <![CDATA[
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
8 ln -s "${input}" "${input.name}";
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
9 mob_recon --num_threads \${GALAXY_SLOTS:-4} --infile "${input.name}"
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
10 #if str($adv_param.unicycler_contigs) == "True":
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
11 --unicycler_contigs
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
12 #end if
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
13 #if str($adv_param.run_circlator) == "True":
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
14 --run_circlator
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
15 #end if
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
16 #if str($adv_param.min_length_condition.min_length_param) == "True":
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
17 --min_length ${adv_param.min_length_condition.min_length_value}
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
18 #end if
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
19 --run_typer --outdir '.';
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
20 ]]>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
21 </command>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
22 <inputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
23 <param name="input" type="data" format="fasta" label="Input" help="FASTA file with contig(s)"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
24 <section name="adv_param" title="Advanced parameters" expanded="False">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
25 <param name="unicycler_contigs" label="Check for circularity flag generated by unicycler in contigs fasta headers" type="select" value="True">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
26 <option value="True">Yes</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
27 <option value="False">No</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
28 </param>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
29 <param name="run_circlator" label="Run circlator minums2 pipeline to check for circular contigs" type="select" value="True">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
30 <option value="True">Yes</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
31 <option value="False">No</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
32 </param>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
33 <conditional name="min_length_condition">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
34 <param name="min_length_param" label="Minimum length of contigs to classify" type="select" value="False">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
35 <option value="False">No</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
36 <option value="True">Yes</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
37 </param>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
38 <when value="True">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
39 <param name="min_length_value" type="integer" value="500" min="50"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
40 </when>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
41 <when value="False"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
42 </conditional>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
43 </section>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
44 </inputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
45 <outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
46 <data name="outfile1" format="tabular" from_work_dir="contig_report.txt" label="${tool.name}: Overall contig MOB-recon report"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
47 <data name="outfile2" format="tabular" from_work_dir="repetitive_blast_report.txt" label="${tool.name}: Repetitive elements BLAST report"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
48 <data name="outfile3" format="fasta" from_work_dir="chromosome.fasta" label="${tool.name}: Chromosomal sequences"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
49 <data name="outfile4" format="tabular" from_work_dir="mobtyper_aggregate_report.txt" label="${tool.name}: Aggregate MOB-typer report for all contigs"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
50 <data name="outfile5" format="fasta" label="${tool.name}: Plasmid sequence" hidden="true">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
51 <discover_datasets pattern="plasmid_.+\.(?P&lt;ext&gt;.+)" ext="fasta" visible="false" assign_primary_output="false"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
52 </data>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
53 </outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
54 <tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
55 <test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
56 <param name="input" value="plasmid_476.fasta" ftype="fasta"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
57 <section name="adv_param">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
58 <param name="evalue" value="0.00001"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
59 <param name="unicycler_contigs" value="True"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
60 <param name="run_circlator" value="True"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
61 </section>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
62 <output name="outfile1">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
63 <assert_contents>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
64 <has_text text="NC_019097"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
65 </assert_contents>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
66 </output>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
67 </test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
68 </tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
69 <help>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
70
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
71 **Syntax**
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
72
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
73 This tool reconstructs individual plasmid sequences from draft genome assemblies using the plasmid reference databases.
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
74
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
75 For more information please visit https://github.com/phac-nml/mob-suite/.
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
76
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
77 -----
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
78
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
79 **Input:**
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
80
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
81 A FASTA file with a single or multiple contigs (e.g. a draft genome assembly):
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
82
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
83
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
84 **Output:**
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
85
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
86 Tab-delimited report listing information for each input contig on its cluster number, possible replicon, relaxase, and repetitive elements types, etc. Refer to https://github.com/phac-nml/mob-suite#mob-recon-contig-report-format for the description of each column.
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
87
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
88 Note: Plasmid sequences will not be output if none are found. Some plasmid could be intergrated into a chromosome.
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
89
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
90
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
91 </help>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
92 <citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
93 <citation type="bibtex">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
94 @misc{githubmob-suite,
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
95 author = {Robertson J, Nash J},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
96 title = {MOB-Suite: Software tools for clustering, reconstruction and typing of plasmids from draft assemblies.},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
97 publisher = {GitHub},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
98 journal = {GitHub repository},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
99 doi = {10.1099/mgen.0.000206},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
100 url = {https://github.com/phac-nml/mob-suite}
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
101 }</citation>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
102 </citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
103 </tool>