annotate ResFinder.xml @ 0:a16d245332d6 draft default tip

Uploaded
author dcouvin
date Wed, 08 Dec 2021 01:46:07 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
1 <tool id="resfinder" name="ResFinder" version="4.0">
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
2 <description>identifies acquired antimicrobial resistance genes in total or partial sequenced isolates of bacteria.</description>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
3
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
4 <requirements>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
5 <requirement type="package" version="0.8.9">tabulate</requirement>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
6 <requirement type="package" version="1.79">biopython</requirement>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
7 <requirement type="package" version="1.5.6">cgecore</requirement>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
8 <requirement type="package" version="3.1.24">gitpython</requirement>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
9 <requirement type="package" version="2.8.2">python-dateutil</requirement>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
10 <requirement type="package" version="2.34.1">git</requirement>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
11 <requirement type="package" version="3.0.5">gcg</requirement>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
12 </requirements>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
13
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
14 <command detect_errors="aggressive"><![CDATA[
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
15 #import re
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
16 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
17 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
18 ## Add single quotes around each input file identifier
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
19 #set $_input_file = "'{}'".format($input.element_identifier)
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
20 ln -s '${input}' ${_input_file} &&
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
21
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
22 $__tool_directory__/resfinder/run_resfinder.py -s "$s" -l 0.6 -t 0.8 --acquired --point -ifa $_input_file -db_res $__tool_directory__/resfinder/db_resfinder/ -db_point $__tool_directory__/resfinder/db_pointfinder/ -o output
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
23 && mv ./output/ResFinder_Resistance_gene_seq.fsa $resistance_genes
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
24
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
25 ]]></command>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
26
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
27
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
28 <inputs>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
29
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
30 <param format="fasta" name="input" type="data" label="FASTA file : "/>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
31
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
32 <param name="s" type="select" label="Select the species:" help="*Chromosomal point mutation database exist">
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
33 <option value="campylobacter">Campylobacter spp.*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
34 <option value="campylobacter jejuni">Campylobacter jejuni*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
35 <option value="campylobacter coli">Campylobacter coli*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
36 <option value="escherichia coli">Escherichia coli*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
37 <option value="salmonella">Salmonella spp.*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
38 <option value="plasmodium falciparum">Plasmodium falciparum*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
39 <option value="neisseria gonorrhoeae">Neisseria gonorrhoeae*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
40 <option value="mycobacterium tuberculosis">Mycobacterium tuberculosis*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
41 <option value="enterococcus faecalis">Enterococcus faecalis*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
42 <option value="enterococcus faecium">Enterococcus faecium*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
43 <option value="klebsiella">Klebsiella*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
44 <option value="helicobacter pylori">Helicobacter pylori*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
45 <option value="staphylococcus aureus">Staphylococcus aureus*</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
46 <option value="other">Other</option>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
47 </param>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
48
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
49 <param name="l" type="text" area="false" value="0.6" label="Minimum (breadth-of) coverage of ResFinder within the range 0-1:"/>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
50 <param name="t" type="text" value="0.8" area="false" label="Threshold for identity of ResFinder within the range 0-1:"/>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
51
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
52
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
53 </inputs>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
54
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
55 <outputs>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
56
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
57 <collection name="outputreport" type="list" label="${tool.name}: Report files">
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
58 <discover_datasets pattern="(?P&lt;name&gt;.+)\.txt$" directory="./output" format="txt"/>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
59 </collection>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
60
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
61 <data format="fasta" name="resistance_genes" label="${tool.name}: resistance genes"/>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
62
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
63 </outputs>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
64
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
65
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
66 <help><![CDATA[
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
67 This tool allows to identify acquired antimicrobial resistance genes in total or partial sequenced isolates of bacteria (in FASTA format).
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
68
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
69 BitBucket: https://bitbucket.org/genomicepidemiology/resfinder/src/master/
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
70 ]]></help>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
71
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
72 <citations>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
73 <citation type="doi">10.1093/jac/dkaa345</citation>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
74 </citations>
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
75
a16d245332d6 Uploaded
dcouvin
parents:
diff changeset
76 </tool>