annotate mobsuite_cpo.xml @ 0:917a05a03ac9 draft

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