annotate plasmid_profiler.xml @ 2:842d76e75fbe draft default tip

Updating the requirements for PP
author nml
date Fri, 03 Mar 2017 12:44:50 -0500
parents 885bdc903475
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
842d76e75fbe Updating the requirements for PP
nml
parents: 0
diff changeset
1 <tool id="plasmid_profiler" name="Plasmid Profiler" version="0.1.6.1">
0
885bdc903475 Uploaded
nml
parents:
diff changeset
2 <description>Explores plasmid content in WGS data</description>
885bdc903475 Uploaded
nml
parents:
diff changeset
3 <requirements>
885bdc903475 Uploaded
nml
parents:
diff changeset
4 <requirement type="package" version="0.1.6">r-plasmidprofiler</requirement>
885bdc903475 Uploaded
nml
parents:
diff changeset
5 <requirement type="package" version="1.3.2">r-optparse</requirement>
885bdc903475 Uploaded
nml
parents:
diff changeset
6 </requirements>
885bdc903475 Uploaded
nml
parents:
diff changeset
7 <stdio>
885bdc903475 Uploaded
nml
parents:
diff changeset
8 <exit_code range="1:" level="fatal" description="Error" />
885bdc903475 Uploaded
nml
parents:
diff changeset
9 </stdio>
885bdc903475 Uploaded
nml
parents:
diff changeset
10 <command>
885bdc903475 Uploaded
nml
parents:
diff changeset
11 Rscript '${__tool_directory__}/plasmidprofile.R' --blastfile $blastfile --srst2file $srst2file
885bdc903475 Uploaded
nml
parents:
diff changeset
12 #if $sureness != 0.0
885bdc903475 Uploaded
nml
parents:
diff changeset
13 --sureness $sureness
885bdc903475 Uploaded
nml
parents:
diff changeset
14 #end if
885bdc903475 Uploaded
nml
parents:
diff changeset
15 #if $length != 0
885bdc903475 Uploaded
nml
parents:
diff changeset
16 --length $length
885bdc903475 Uploaded
nml
parents:
diff changeset
17 #end if
885bdc903475 Uploaded
nml
parents:
diff changeset
18 $anonymize $combineincs
885bdc903475 Uploaded
nml
parents:
diff changeset
19 #if $coverage != 0
885bdc903475 Uploaded
nml
parents:
diff changeset
20 --coverage $coverage
885bdc903475 Uploaded
nml
parents:
diff changeset
21 #end if
885bdc903475 Uploaded
nml
parents:
diff changeset
22 --title "$title" --outfile out
885bdc903475 Uploaded
nml
parents:
diff changeset
23 </command>
885bdc903475 Uploaded
nml
parents:
diff changeset
24
885bdc903475 Uploaded
nml
parents:
diff changeset
25 <inputs>
885bdc903475 Uploaded
nml
parents:
diff changeset
26 <param name="blastfile" type="data" format="tabular" label="BLAST TSV file" optional="false" />
885bdc903475 Uploaded
nml
parents:
diff changeset
27 <param name="srst2file" type="data" format="tabular" label="SRST2 TSV file" optional="false" />
885bdc903475 Uploaded
nml
parents:
diff changeset
28 <param name="sureness" type="float" label="Sureness cut off" value="0" />
885bdc903475 Uploaded
nml
parents:
diff changeset
29 <param name="length" type="integer" label="Plasmid length cut off" value="0" />
885bdc903475 Uploaded
nml
parents:
diff changeset
30 <param name="coverage" type="integer" label="Percent coverage cut off" value="0" />
885bdc903475 Uploaded
nml
parents:
diff changeset
31 <param name="title" type="text" label="Plot title" value="" />
885bdc903475 Uploaded
nml
parents:
diff changeset
32 <param name="anonymize" type="boolean" checked="false" label="Anonymize plasmid and sample names" truevalue="--anonymize" falsevalue="" />
885bdc903475 Uploaded
nml
parents:
diff changeset
33 <param name="combineincs" type="boolean" checked="false" label="Combine very closely related incompatibility groups" truevalue="--combineincs" falsevalue="" />
885bdc903475 Uploaded
nml
parents:
diff changeset
34 </inputs>
885bdc903475 Uploaded
nml
parents:
diff changeset
35
885bdc903475 Uploaded
nml
parents:
diff changeset
36 <outputs>
885bdc903475 Uploaded
nml
parents:
diff changeset
37 <data format="png" name="PNGOutput" label="png output" from_work_dir="*.png" />
885bdc903475 Uploaded
nml
parents:
diff changeset
38 <data format="html" name="HTMLOutput" label="html output" from_work_dir="*.html" />
885bdc903475 Uploaded
nml
parents:
diff changeset
39 <data format="csv" name="CSVOutput" label="csv output" from_work_dir="*.csv" />
885bdc903475 Uploaded
nml
parents:
diff changeset
40 </outputs>
885bdc903475 Uploaded
nml
parents:
diff changeset
41
885bdc903475 Uploaded
nml
parents:
diff changeset
42 <tests>
885bdc903475 Uploaded
nml
parents:
diff changeset
43 <test>
885bdc903475 Uploaded
nml
parents:
diff changeset
44 <output/>
885bdc903475 Uploaded
nml
parents:
diff changeset
45 </test>
885bdc903475 Uploaded
nml
parents:
diff changeset
46 </tests>
885bdc903475 Uploaded
nml
parents:
diff changeset
47 <help>
885bdc903475 Uploaded
nml
parents:
diff changeset
48 What it does
885bdc903475 Uploaded
nml
parents:
diff changeset
49 ============
885bdc903475 Uploaded
nml
parents:
diff changeset
50
885bdc903475 Uploaded
nml
parents:
diff changeset
51 Heatmap display of plasmid content in WGS data
885bdc903475 Uploaded
nml
parents:
diff changeset
52
885bdc903475 Uploaded
nml
parents:
diff changeset
53 This program parses plasmids identified through SRST2 and BLAST, scores them based on a combined measure of maximized coverage and minimized sequence divergence, and produces visualizations along with tabular results. Best used on results from the workflow "P2 - Plasmid Profiler: SRST2 and BLAST"
885bdc903475 Uploaded
nml
parents:
diff changeset
54
885bdc903475 Uploaded
nml
parents:
diff changeset
55 Usage
885bdc903475 Uploaded
nml
parents:
diff changeset
56 =====
885bdc903475 Uploaded
nml
parents:
diff changeset
57
885bdc903475 Uploaded
nml
parents:
diff changeset
58 **BLAST TSV file name:**
885bdc903475 Uploaded
nml
parents:
diff changeset
59 - Tab separated value table of BLAST results from querying plasmidfinder database with AMR sequences against SRST2 identified plasmids
885bdc903475 Uploaded
nml
parents:
diff changeset
60
885bdc903475 Uploaded
nml
parents:
diff changeset
61 **SRST2 TSV file name:**
885bdc903475 Uploaded
nml
parents:
diff changeset
62 - Tab separated value table of SRST2 results from querying WGS reads against plasmid database
885bdc903475 Uploaded
nml
parents:
diff changeset
63
885bdc903475 Uploaded
nml
parents:
diff changeset
64 **Sureness cut off:**
885bdc903475 Uploaded
nml
parents:
diff changeset
65 - Sureness is the difference between normalized sequence coverage and divergence. It is a unique measure per dataset that informs the user as to the likelihood the identified plasmid is present in their sample. A value of 0.75 is recommended for a first pass with plasmids scoring above 0.95 to be considered as present in the WGS data.
885bdc903475 Uploaded
nml
parents:
diff changeset
66
885bdc903475 Uploaded
nml
parents:
diff changeset
67 **Plasmid length cut off:**
885bdc903475 Uploaded
nml
parents:
diff changeset
68 - Remove all plasmid sequences below this length from results (eg. 10000)
885bdc903475 Uploaded
nml
parents:
diff changeset
69
885bdc903475 Uploaded
nml
parents:
diff changeset
70 **Percent coverage cut off:**
885bdc903475 Uploaded
nml
parents:
diff changeset
71 - Plasmids with read coverage below this percentage will be excluded from the results (eg. 75)
885bdc903475 Uploaded
nml
parents:
diff changeset
72
885bdc903475 Uploaded
nml
parents:
diff changeset
73 **Plot title:**
885bdc903475 Uploaded
nml
parents:
diff changeset
74 - Custom plot title for heatmap
885bdc903475 Uploaded
nml
parents:
diff changeset
75
885bdc903475 Uploaded
nml
parents:
diff changeset
76 **Anonymize plasmids and sample names:**
885bdc903475 Uploaded
nml
parents:
diff changeset
77 - Hide identifiers in final image and replace with "Plasmid #" and "Sample #"
885bdc903475 Uploaded
nml
parents:
diff changeset
78
885bdc903475 Uploaded
nml
parents:
diff changeset
79 **Combine very closely related incompatibility groups:**
885bdc903475 Uploaded
nml
parents:
diff changeset
80 - Collapse subtypes of incompatibility groups. (eg. FII(S) and FII(K) collapsed to FII)
885bdc903475 Uploaded
nml
parents:
diff changeset
81
885bdc903475 Uploaded
nml
parents:
diff changeset
82
885bdc903475 Uploaded
nml
parents:
diff changeset
83 **Acknowledgments**
885bdc903475 Uploaded
nml
parents:
diff changeset
84 Plasmid Profiler Author: Adrian Zetner
885bdc903475 Uploaded
nml
parents:
diff changeset
85
885bdc903475 Uploaded
nml
parents:
diff changeset
86 Galaxy tool author: Jen Cabral
885bdc903475 Uploaded
nml
parents:
diff changeset
87
885bdc903475 Uploaded
nml
parents:
diff changeset
88 </help>
885bdc903475 Uploaded
nml
parents:
diff changeset
89 <citations>
885bdc903475 Uploaded
nml
parents:
diff changeset
90 </citations>
885bdc903475 Uploaded
nml
parents:
diff changeset
91 </tool>