annotate cpo_mobsuite.xml @ 1:fea89c4d5227 draft

Uploaded
author jjjjia
date Thu, 16 Aug 2018 19:27:05 -0400
parents
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="mob_recon" name="MOB-Recon" version="1.4.8">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
2 <description>Type contigs and extract plasmid sequences</description>
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
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
10 mob_recon --num_threads \${GALAXY_SLOTS:-4} --infile "${input.name}"
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
11 #if str($adv_param.unicycler_contigs) == "True":
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
12 --unicycler_contigs
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
13 #end if
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
14 #if str($adv_param.run_circlator) == "True":
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
15 --run_circlator
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
16 #end if
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
17 #if str($adv_param.min_length_condition.min_length_param) == "True":
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
18 --min_length ${adv_param.min_length_condition.min_length_value}
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
19 #end if
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
20 --run_typer --outdir '.';
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
21 ]]>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
22 </command>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
23 <inputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
24 <param name="input" type="data" format="fasta" label="Input" help="FASTA file with contig(s)"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
25 <section name="adv_param" title="Advanced parameters" expanded="False">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
26 <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
27 <option value="True">Yes</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
28 <option value="False">No</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
29 </param>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
30 <param name="run_circlator" label="Run circlator minums2 pipeline to check for circular contigs" type="select" value="True">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
31 <option value="True">Yes</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
32 <option value="False">No</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
33 </param>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
34 <conditional name="min_length_condition">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
35 <param name="min_length_param" label="Minimum length of contigs to classify" type="select" value="False">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
36 <option value="False">No</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
37 <option value="True">Yes</option>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
38 </param>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
39 <when value="True">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
40 <param name="min_length_value" type="integer" value="500" min="50"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
41 </when>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
42 <when value="False"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
43 </conditional>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
44 </section>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
45 </inputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
46 <outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
47 <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
48 <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
49 <data name="outfile3" format="fasta" from_work_dir="chromosome.fasta" label="${tool.name}: Chromosomal sequences"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
50 <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
51 <data name="outfile5" format="fasta" label="${tool.name}: Plasmid sequence" hidden="true">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
52 <discover_datasets pattern="plasmid_.+\.(?P&lt;ext&gt;.+)" ext="fasta" visible="false" assign_primary_output="false"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
53 </data>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
54 </outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
55 <tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
56 <test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
57 <param name="input" value="plasmid_476.fasta" ftype="fasta"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
58 <section name="adv_param">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
59 <param name="evalue" value="0.00001"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
60 <param name="unicycler_contigs" value="True"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
61 <param name="run_circlator" value="True"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
62 </section>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
63 <output name="outfile1">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
64 <assert_contents>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
65 <has_text text="NC_019097"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
66 </assert_contents>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
67 </output>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
68 </test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
69 </tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
70 <help>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
71
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
72 **Syntax**
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
73
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
74 This tool reconstructs individual plasmid sequences from draft genome assemblies using the plasmid reference databases.
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
75
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
76 For more information please visit https://github.com/phac-nml/mob-suite/.
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
77
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
78 -----
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
79
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
80 **Input:**
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
81
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
82 A FASTA file with a single or multiple contigs (e.g. a draft genome assembly):
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
83
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
84
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
85 **Output:**
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
86
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
87 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
88
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
89 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
90
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
91
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
92 </help>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
93 <citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
94 <citation type="bibtex">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
95 @misc{githubmob-suite,
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
96 author = {Robertson J, Nash J},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
97 title = {MOB-Suite: Software tools for clustering, reconstruction and typing of plasmids from draft assemblies.},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
98 publisher = {GitHub},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
99 journal = {GitHub repository},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
100 doi = {10.1099/mgen.0.000206},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
101 url = {https://github.com/phac-nml/mob-suite}
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
102 }</citation>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
103 </citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
104 </tool>