2
|
1 <tool id="plasmid_profiler" name="Plasmid Profiler" version="0.1.6.1">
|
0
|
2 <description>Explores plasmid content in WGS data</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="0.1.6">r-plasmidprofiler</requirement>
|
|
5 <requirement type="package" version="1.3.2">r-optparse</requirement>
|
|
6 </requirements>
|
|
7 <stdio>
|
|
8 <exit_code range="1:" level="fatal" description="Error" />
|
|
9 </stdio>
|
|
10 <command>
|
|
11 Rscript '${__tool_directory__}/plasmidprofile.R' --blastfile $blastfile --srst2file $srst2file
|
|
12 #if $sureness != 0.0
|
|
13 --sureness $sureness
|
|
14 #end if
|
|
15 #if $length != 0
|
|
16 --length $length
|
|
17 #end if
|
|
18 $anonymize $combineincs
|
|
19 #if $coverage != 0
|
|
20 --coverage $coverage
|
|
21 #end if
|
|
22 --title "$title" --outfile out
|
|
23 </command>
|
|
24
|
|
25 <inputs>
|
|
26 <param name="blastfile" type="data" format="tabular" label="BLAST TSV file" optional="false" />
|
|
27 <param name="srst2file" type="data" format="tabular" label="SRST2 TSV file" optional="false" />
|
|
28 <param name="sureness" type="float" label="Sureness cut off" value="0" />
|
|
29 <param name="length" type="integer" label="Plasmid length cut off" value="0" />
|
|
30 <param name="coverage" type="integer" label="Percent coverage cut off" value="0" />
|
|
31 <param name="title" type="text" label="Plot title" value="" />
|
|
32 <param name="anonymize" type="boolean" checked="false" label="Anonymize plasmid and sample names" truevalue="--anonymize" falsevalue="" />
|
|
33 <param name="combineincs" type="boolean" checked="false" label="Combine very closely related incompatibility groups" truevalue="--combineincs" falsevalue="" />
|
|
34 </inputs>
|
|
35
|
|
36 <outputs>
|
|
37 <data format="png" name="PNGOutput" label="png output" from_work_dir="*.png" />
|
|
38 <data format="html" name="HTMLOutput" label="html output" from_work_dir="*.html" />
|
|
39 <data format="csv" name="CSVOutput" label="csv output" from_work_dir="*.csv" />
|
|
40 </outputs>
|
|
41
|
|
42 <tests>
|
|
43 <test>
|
|
44 <output/>
|
|
45 </test>
|
|
46 </tests>
|
|
47 <help>
|
|
48 What it does
|
|
49 ============
|
|
50
|
|
51 Heatmap display of plasmid content in WGS data
|
|
52
|
|
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"
|
|
54
|
|
55 Usage
|
|
56 =====
|
|
57
|
|
58 **BLAST TSV file name:**
|
|
59 - Tab separated value table of BLAST results from querying plasmidfinder database with AMR sequences against SRST2 identified plasmids
|
|
60
|
|
61 **SRST2 TSV file name:**
|
|
62 - Tab separated value table of SRST2 results from querying WGS reads against plasmid database
|
|
63
|
|
64 **Sureness cut off:**
|
|
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.
|
|
66
|
|
67 **Plasmid length cut off:**
|
|
68 - Remove all plasmid sequences below this length from results (eg. 10000)
|
|
69
|
|
70 **Percent coverage cut off:**
|
|
71 - Plasmids with read coverage below this percentage will be excluded from the results (eg. 75)
|
|
72
|
|
73 **Plot title:**
|
|
74 - Custom plot title for heatmap
|
|
75
|
|
76 **Anonymize plasmids and sample names:**
|
|
77 - Hide identifiers in final image and replace with "Plasmid #" and "Sample #"
|
|
78
|
|
79 **Combine very closely related incompatibility groups:**
|
|
80 - Collapse subtypes of incompatibility groups. (eg. FII(S) and FII(K) collapsed to FII)
|
|
81
|
|
82
|
|
83 **Acknowledgments**
|
|
84 Plasmid Profiler Author: Adrian Zetner
|
|
85
|
|
86 Galaxy tool author: Jen Cabral
|
|
87
|
|
88 </help>
|
|
89 <citations>
|
|
90 </citations>
|
|
91 </tool>
|