annotate catchsequence/catchsequence.xml @ 0:37d48392bf22 draft default tip

Uploaded
author dcouvin
date Tue, 21 Sep 2021 16:44:26 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
1 <tool id="catchsequence" name="catchSequenceInfo" version="1.0.0">
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
2 <description>catchSequenceInfo allows to get resistance/virulence/plasmids/mlst information from DNA sequences</description>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
3 <requirements>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
4 <requirement type="package" version="1.0.1">abricate</requirement>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
5 <requirement type="package" version="2.19.0">mlst</requirement>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
6 <!--<requirement type="package" version="6.6.0">emboss</requirement>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
7 <requirement type="package" version="1.3.2">pandas</requirement>-->
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
8 </requirements>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
9
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
10
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
11 <command detect_errors="aggressive"><![CDATA[
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
12
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
13 #import re
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
14 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
15 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
16 #set $named_input_files = ''
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
17 #for $input_file in $input_files
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
18 ## Add single quotes around each input file identifier
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
19 #set $_input_file = "'{}'".format($input_file.element_identifier)
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
20 ln -s '${input_file}' ${_input_file} &&
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
21 #set $named_input_files = $named_input_files + ',' + $_input_file
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
22 #end for
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
23
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
24
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
25 perl '$__tool_directory__/catchsequence.pl' $named_input_files -perc $percent -res $res -plas $plas -vf $vf > "$output"
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
26
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
27
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
28
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
29 ]]></command>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
30 <!-- perl '$__tool_directory__/nucleScore.pl' $_input_file > "$output" -->
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
31 <!-- ./nuclescore.sh ${named_input_files} > "$output" -->
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
32
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
33 <inputs>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
34 <param type="data" name="input_files" format="fasta,fasta.gz,fasta.bz2,gbk,gbk.gz,gbk.bz2" multiple="true" label="Genome fasta files"/>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
35
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
36 <param name="percent" type="select" label="Percentage type:">
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
37 <option value="ident">Identity</option>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
38 <option value="cov">Coverage</option>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
39 </param>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
40
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
41 <param name="res" type="text" area="false" value="90.00" label="ResFinder %: " />
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
42 <param name="plas" type="text" area="false" value="90.00" label="PlasmidFinder %: " />
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
43 <param name="vf" type="text" area="false" value="80.00" label="VFDB %: " />
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
44
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
45 </inputs>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
46
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
47 <outputs>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
48 <data format="tabular" name="output" />
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
49 </outputs>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
50
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
51 <help>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
52 catchSequenceInfo allows to get resistance/virulence/plasmids/mlst information from DNA sequences.
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
53
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
54 This tool uses ABRicate (https://github.com/tseemann/abricate) and MLST (https://github.com/tseemann/mlst) programs to get dedicated information from DNA sequences (such as resistance genes, plasmid genes, virulence genes, allele IDs and MLST number).
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
55
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
56
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
57 </help>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
58
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
59 <citations>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
60 <citation type="doi">10.1186/1471-2105-11-595</citation>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
61 <citation type="doi">10.1093/jac/dks261</citation>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
62 <citation type="doi">10.1128/AAC.02412-14</citation>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
63 <citation type="doi">10.1093/nar/gkv1239</citation>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
64 </citations>
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
65
37d48392bf22 Uploaded
dcouvin
parents:
diff changeset
66 </tool>