annotate staramr_search.xml @ 5:930893c83a1a draft

planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
author nml
date Tue, 19 Feb 2019 16:47:25 -0500
parents 1e8ec0f861ff
children 3c09557ac425
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
1 <tool id="staramr_search" name="staramr" version="@VERSION@">
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
2 <description>Scans genome assemblies against the ResFinder and PointFinder databases searching for AMR genes.</description>
5
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
3 <macros>
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
4 <token name="@VERSION@">0.4.0</token>
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
5 </macros>
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
6 <requirements>
5
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
7 <requirement type="package" version="@VERSION@">staramr</requirement>
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
8 </requirements>
5
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
9 <version_command>staramr --version</version_command>
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
1
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
11 #import re
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
12
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
13 #set $named_genomes = ''
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
14 #for $genome in $genomes
1
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
15 #set $_named_genome = re.sub(r'(\s|\(|\))', '_', '"{}.fasta"'.format($genome.element_identifier))
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
16 ln -s "$genome" $_named_genome &&
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
17 #set $named_genomes = $named_genomes + ' ' + $_named_genome
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
18 #end for
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
19
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
20 #set $excel_proper_extension = '"{}.xlsx"'.format($excel)
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
21 ln -s "$excel" $excel_proper_extension &&
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
22
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
23 staramr search
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
24
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
25 --nprocs "\${GALAXY_SLOTS:-1}"
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
26
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
27 --pid-threshold $advanced.pid_threshold
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
28 --percent-length-overlap-resfinder $advanced.plength_resfinder
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
29 --percent-length-overlap-pointfinder $advanced.plength_pointfinder
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
30
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
31 $advanced.report_all_blast
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
32 $advanced.exclude_negatives
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
33 $advanced.exclude_resistance_phenotypes
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
34
4
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
35 #if str($advanced.exclude_genes.exclude_genes_condition) == 'custom'
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
36 --exclude-genes-file '${advanced.exclude_genes.exclude_genes_file}'
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
37 #elif str($advanced.exclude_genes.exclude_genes_condition) == 'none'
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
38 --no-exclude-genes
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
39 #end if
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
40
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
41 --output-summary $summary
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
42 --output-resfinder $resfinder
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
43 #if $use_pointfinder.enable
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
44 --output-pointfinder $pointfinder
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
45 #end if
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
46 --output-settings $settings
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
47 --output-excel $excel_proper_extension
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
48
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
49 --output-hits-dir staramr_hits
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
50
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
51 #if $use_pointfinder.enable
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
52 --pointfinder-organism $use_pointfinder.organism
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
53 #end if
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
54
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
55 $named_genomes
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
56 ]]></command>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
57 <inputs>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
58 <param type="data" name="genomes" format="fasta" multiple="true"/>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
59 <conditional name="use_pointfinder">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
60 <param name="enable" type="boolean" label="Enable scanning for point mutations using the PointFinder database" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
61 <when value="true">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
62 <param name="organism" type="select" label="Select a pointfinder organism">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
63 <option value="salmonella" selected="true">Salmonella</option>
5
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
64 <option value="campylobacter">Campylobacter</option>
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
65 </param>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
66 </when>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
67 <when value="false" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
68 </conditional>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
69 <section name="advanced" title="Advanced options" expanded="false">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
70 <param name="pid_threshold" type="float" label="Percent identity threshold for BLAST" value="98.0"
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
71 min="0" max="100" help="(--pid-threshold)" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
72 <param name="plength_resfinder" type="float" label="Percent length overlap of BLAST hit for ResFinder database" value="60.0"
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
73 min="0" max="100" help="(--percent-length-overlap-resfinder)" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
74 <param name="plength_pointfinder" type="float" label="Percent length overlap of BLAST hit for PointFinder database" value="95.0"
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
75 min="0" max="100" help="(--percent-length-overlap-pointfinder)" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
76 <param name="report_all_blast" type="boolean" label="Report all BLAST results" truevalue="--report-all-blast" falsevalue=""
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
77 help="Report all BLAST results (includes overlapping hits, mainly for debugging)" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
78 <param name="exclude_negatives" type="boolean" label="Exclude negative (non-resistant) results" truevalue="--exclude-negatives" falsevalue="" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
79 <param name="exclude_resistance_phenotypes" type="boolean" label="Exclude resistance phenotypes" truevalue="--exclude-resistance-phenotypes" falsevalue="" />
4
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
80 <conditional name="exclude_genes">
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
81 <param name="exclude_genes_condition" type="select" label="Exclude certain AMR genes from the results">
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
82 <option value="default" selected="true">Exclude default list of AMR genes</option>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
83 <option value="custom">Provide a custom list of AMR genes to exclude</option>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
84 <option value="none">Do not exclude any AMR genes</option>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
85 </param>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
86 <when value="default" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
87 <when value="custom">
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
88 <param type="data" name="exclude_genes_file" format="txt,tabular" label="Exclude genes file" help="Pass a file containing a list of genes to exclude from the ResFinder/PointFinder results" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
89 </when>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
90 <when value="none" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
91 </conditional>
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
92 </section>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
93 </inputs>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
94 <outputs>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
95 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: summary.tsv" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
96 <data format="tabular" name="resfinder" label="${tool.name} on ${on_string}: resfinder.tsv" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
97 <data format="tabular" name="pointfinder" label="${tool.name} on ${on_string}: pointfinder.tsv">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
98 <filter>use_pointfinder['enable']</filter>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
99 </data>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
100 <data format="txt" name="settings" label="${tool.name} on ${on_string}: settings.txt" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
101 <data format="xlsx" name="excel" label="${tool.name} on ${on_string}: results.xlsx" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
102 <collection name="blast_hits" type="list" label="${tool.name} on ${on_string}: hits">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
103 <discover_datasets pattern="__name_and_ext__" directory="staramr_hits" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
104 </collection>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
105 </outputs>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
106 <tests>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
107 <test>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
108 <param name="genomes" value="16S-rc_gyrA-rc_beta-lactam.fsa" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
109 <conditional name="use_pointfinder">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
110 <param name="enable" value="true" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
111 <param name="organism" value="salmonella" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
112 </conditional>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
113
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
114 <output name="summary" file="test1-summary.tsv" ftype="tabular" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
115 <output name="resfinder" file="test1-resfinder.tsv" ftype="tabular" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
116 <output name="pointfinder" file="test1-pointfinder.tsv" ftype="tabular" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
117 <output_collection name="blast_hits" type="list">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
118 <element name="resfinder_16S-rc_gyrA-rc_beta-lactam.fsa" file="test1-hits/resfinder_16S-rc_gyrA-rc_beta-lactam.fsa" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
119 <element name="pointfinder_16S-rc_gyrA-rc_beta-lactam.fsa" file="test1-hits/pointfinder_16S-rc_gyrA-rc_beta-lactam.fsa" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
120 </output_collection>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
121 </test>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
122 <test>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
123 <param name="genomes" value="16S-rc_gyrA-rc_beta-lactam.fsa" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
124
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
125 <output name="summary" file="test2-summary.tsv" ftype="tabular" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
126 <output name="resfinder" file="test2-resfinder.tsv" ftype="tabular" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
127 <output_collection name="blast_hits" type="list">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
128 <element name="resfinder_16S-rc_gyrA-rc_beta-lactam.fsa" file="test2-hits/resfinder_16S-rc_gyrA-rc_beta-lactam.fsa" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
129 </output_collection>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
130 </test>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
131 <test>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
132 <param name="genomes" value="16S-rc_gyrA-rc_beta-lactam.fsa" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
133 <param name="pid_threshold" value="99.8" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
134
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
135 <output name="summary" file="test3-summary.tsv" ftype="tabular" />
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
136 </test>
1
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
137 <test>
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
138 <param name="genomes" value="16S rc_gyrA rc_beta-lactam spaces (extra:characters).fsa" />
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
139 <param name="pid_threshold" value="99.8" />
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
140
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
141 <output name="summary" file="test4-summary.tsv" ftype="tabular" />
3801ea82c888 planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
nml
parents: 0
diff changeset
142 </test>
4
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
143 <test>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
144 <param name="genomes" value="test-aminoglycoside.fsa" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
145
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
146 <output name="summary" file="test5-summary.tsv" ftype="tabular" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
147 </test>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
148 <test>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
149 <param name="genomes" value="test-aminoglycoside.fsa" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
150 <param name="exclude_genes_condition" value="none" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
151
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
152 <output name="summary" file="test6-summary.tsv" ftype="tabular" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
153 </test>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
154 <test>
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
155 <param name="genomes" value="test-aminoglycoside.fsa" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
156 <param name="exclude_genes_condition" value="custom" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
157 <param name="exclude_genes_file" value="genes_to_exclude.tsv" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
158
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
159 <output name="summary" file="test5-summary.tsv" ftype="tabular" />
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
160 </test>
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
161 </tests>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
162 <help><![CDATA[
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
163 staramr
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
164 =======
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
165
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
166 staramr_ scans bacterial genome contigs against both the ResFinder_ and PointFinder_ databases (used by the ResFinder webservice_) and compiles a summary report of detected antimicrobial resistance genes.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
167
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
168 Usage
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
169 -----
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
170
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
171 1. Select your genome contigs (in FASTA format).
5
930893c83a1a planemo upload for repository https://github.com/phac-nml/staramr commit 0794053d021c92d4dd7459abca46d4bf823d7203
nml
parents: 4
diff changeset
172 2. Select whether or not you wish to scan your genome for point mutations giving antimicrobial resistance using the PointFinder database. This requires you to specify the specific organism you are scanning (currently only *salmonella* and *campylobacter* is supported).
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
173 3. Run the tool.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
174
4
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
175 Input
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
176 -----
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
177
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
178 Genomes
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
179 ```````
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
180
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
181 staramr_ takes as input one or more assembled genomes (in FASTA format) to search for AMR genes.
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
182
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
183 Exclude genes file
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
184 ``````````````````
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
185
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
186 Setting **Provide a custom list of AMR genes to exclude** in the **Advanced options** allows you to pass a file containing a list of genes to exclude from the results. The file must start with a line **#gene_id** and the gene names must correspond to the sequence IDs in the ResFinder/PointFinder databases. For example:
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
187
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
188 ::
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
189
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
190 #gene_id
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
191 aac(6')-Iaa_1_NC_003197
1e8ec0f861ff planemo upload for repository https://github.com/phac-nml/staramr commit fd6c4338e65d6a33900da6fe7ae6f507105d3446
nml
parents: 3
diff changeset
192
0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
193 Output
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
194 ------
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
195
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
196 There are 5 different output files produced by `staramr` as well as a collection of additional files.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
197
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
198 summary.tsv
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
199 ```````````
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
200
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
201 A summary of all detected AMR genes/mutations in each genome, one genome per line.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
202
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
203 +------------+-----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
204 | Isolate ID | Genotype | Predicted Phenotype |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
205 +============+===========================================================+===========================================================================================================+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
206 | SRR1952908 | aadA1, aadA2, blaTEM-57, cmlA1, gyrA (S83Y), sul3, tet(A) | streptomycin, ampicillin, chloramphenicol, ciprofloxacin I/R, nalidixic acid, sulfisoxazole, tetracycline |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
207 +------------+-----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
208 | SRR1952926 | blaTEM-57, gyrA (S83Y), tet(A) | ampicillin, ciprofloxacin I/R, nalidixic acid, tetracycline |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
209 +------------+-----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
210
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
211 resfinder.tsv
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
212 `````````````
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
213
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
214 A tabular file of each AMR gene and additional BLAST information from the **ResFinder** database, one gene per line.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
215
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
216 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
217 | Isolate ID | Gene | Predicted Phenotype | %Identity | %Overlap | HSP Length/Total Length | Contig | Start | End | Accession |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
218 +============+============+======================+============+===========+==========================+==============+========+=======+===========+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
219 | SRR1952908 | sul3 | sulfisoxazole | 100.00 | 100.00 | 792/792 | contig00030 | 2091 | 2882 | AJ459418 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
220 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
221 | SRR1952908 | tet(A) | tetracycline | 99.92 | 100.00 | 1200/1200 | contig00032 | 1551 | 2750 | AJ517790 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
222 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
223 | SRR1952908 | cmlA1 | chloramphenicol | 99.92 | 100.00 | 1260/1260 | contig00030 | 6707 | 5448 | M64556 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
224 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
225 | SRR1952908 | aadA1 | streptomycin | 100.00 | 100.00 | 792/792 | contig00030 | 5355 | 4564 | JQ414041 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
226 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
227 | SRR1952908 | aadA2 | streptomycin | 99.75 | 100.00 | 792/792 | contig00030 | 7760 | 6969 | JQ364967 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
228 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
229 | SRR1952908 | blaTEM-57 | ampicillin | 99.88 | 100.00 | 861/861 | contig00032 | 6247 | 5387 | FJ405211 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
230 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
231 | SRR1952926 | tet(A) | tetracycline | 99.92 | 100.00 | 1200/1200 | contig00027 | 1480 | 2679 | AJ517790 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
232 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
233 | SRR1952926 | blaTEM-57 | ampicillin | 99.88 | 100.00 | 861/861 | contig00027 | 6176 | 5316 | FJ405211 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
234 +------------+------------+----------------------+------------+-----------+--------------------------+--------------+--------+-------+-----------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
235
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
236 pointfinder.tsv
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
237 ```````````````
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
238
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
239 A tabular file of each AMR point mutation and additional BLAST information from the **PointFinder** database, one gene per line.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
240
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
241 +-------------+--------------+------------------------------------+--------+-----------+----------------------+------------+-----------+--------------------------+--------------+---------+--------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
242 | Isolate ID | Gene | Predicted Phenotype | Type | Position | Mutation | %Identity | %Overlap | HSP Length/Total Length | Contig | Start | End |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
243 +=============+==============+====================================+========+===========+======================+============+===========+==========================+==============+=========+========+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
244 | SRR1952908 | gyrA (S83Y) | ciprofloxacin I/R, nalidixic acid | codon | 83 | TCC -> TAC (S -> Y) | 99.96 | 100.00 | 2637/2637 | contig00008 | 22801 | 20165 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
245 +-------------+--------------+------------------------------------+--------+-----------+----------------------+------------+-----------+--------------------------+--------------+---------+--------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
246 | SRR1952926 | gyrA (S83Y) | ciprofloxacin I/R, nalidixic acid | codon | 83 | TCC -> TAC (S -> Y) | 99.96 | 100.00 | 2637/2637 | contig00011 | 157768 | 160404 |
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
247 +-------------+--------------+------------------------------------+--------+-----------+----------------------+------------+-----------+--------------------------+--------------+---------+--------+
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
248
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
249 settings.txt
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
250 ````````````
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
251
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
252 The command-line, database versions, and other settings used to run `staramr`.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
253
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
254 ::
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
255
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
256 command_line = staramr search -o out --pointfinder-organism salmonella SRR1952908.fasta SRR1952926.fasta
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
257 version = 0.2.0
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
258 start_time = 2018-06-05 14:41:44
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
259 end_time = 2018-06-05 14:41:47
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
260 total_minutes = 0.05
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
261 resfinder_db_dir = staramr/databases/data/dist/resfinder
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
262 resfinder_db_url = https://bitbucket.org/genomicepidemiology/resfinder_db.git
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
263 resfinder_db_commit = dc33e2f9ec2c420f99f77c5c33ae3faa79c999f2
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
264 resfinder_db_date = Tue, 20 Mar 2018 16:49
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
265 pointfinder_db_dir = staramr/databases/data/dist/pointfinder
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
266 pointfinder_db_url = https://bitbucket.org/genomicepidemiology/pointfinder_db.git
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
267 pointfinder_db_commit = ba65c4d175decdc841a0bef9f9be1c1589c0070a
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
268 pointfinder_db_date = Fri, 06 Apr 2018 09:02
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
269 pointfinder_gene_drug_version = 050218
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
270 resfinder_gene_drug_version = 050218
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
271
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
272 results.xlsx
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
273 ````````````
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
274
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
275 An Excel spreadsheet containing the previous 4 files as separate worksheets.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
276
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
277 BLAST Hits
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
278 ``````````
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
279
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
280 The dataset collection **hits** stores fasta files of the specific blast hits.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
281
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
282 Galaxy wrapper written by Aaron Petkau at the National Microbiology Laboratory, Public Health Agency of Canada.
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
283
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
284 .. _staramr: https://github.com/phac-nml/staramr
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
285 .. _ResFinder: https://bitbucket.org/genomicepidemiology/resfinder_db
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
286 .. _PointFinder: https://bitbucket.org/genomicepidemiology/pointfinder_db
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
287 .. _webservice: https://cge.cbs.dtu.dk/services/ResFinder/
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
288 ]]></help>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
289 <citations>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
290 <citation type="bibtex">
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
291 @misc{githubstaramr,
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
292 author = {Petkau, Aaron},
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
293 year = {2018},
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
294 title = {staramr},
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
295 publisher = {GitHub},
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
296 journal = {GitHub repository},
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
297 url = {https://github.com/phac-nml/staramr},
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
298 }</citation>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
299 </citations>
fef5aff062c7 planemo upload for repository https://github.com/phac-nml/staramr commit 8aafd6d7140b7d8aeb097c80fbb7632397ba5e64
nml
parents:
diff changeset
300 </tool>