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