annotate pmlst.xml @ 0:140d4f9e1f20 draft default tip

Uploaded
author dcouvin
date Mon, 06 Sep 2021 16:00:46 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
1 <tool id="pmlst" name="pmlst" version="2.0+galaxy1">
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
2 <description>A plasmid multilocus sequence typing (pMLST) scheme was developed for rapid categorization of IncN plasmids</description>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
3
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
4
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
5 <requirements>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
6 <requirement type="package" version="3.2.0">python3-openid</requirement>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
7 <requirement type="package" version="21.2.4">pip</requirement>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
8 <requirement type="package" version="1.79">biopython</requirement>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
9 <requirement type="package" version="1.5.6">cgecore</requirement>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
10 <requirement type="package" version="0.8.9">tabulate</requirement>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
11 <requirement type="package" version="2.7.1">blastn</requirement>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
12 </requirements>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
13
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
14
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
15 <!--<command> python3 $__tool_directory__/pmlst/pmlst.py -i $input -s $s -p $__tool_directory__/pmlst/pmlst_db/ > $output </command>-->
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
16
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
17 <!--<command> perl $__tool_directory__/pmlst.pl $__tool_directory__ $input $s > $output </command>-->
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
18
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
19 <command detect_errors="aggressive"><![CDATA[
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
20
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
21 #import re
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
22 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
23 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
24
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
25 ## Add single quotes around each input file identifier
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
26 #set $_input_file = "'{}'".format($input.element_identifier)
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
27 ln -s '${input}' ${_input_file} &&
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
28
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
29
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
30 perl $__tool_directory__/pmlst.pl $__tool_directory__ $_input_file $s > $output
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
31
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
32
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
33
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
34 ]]></command>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
35
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
36 <inputs>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
37 <param format="fasta" name="input" type="data" label="Select FASTA files: " />
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
38
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
39
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
40 <param name="s" type="select" label="Scheme database used for pMLST prediction:">
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
41
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
42 <option value="incac">incac</option>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
43 <option value="incf">incf</option>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
44 <option value="inchi1">inchi1</option>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
45 <option value="inchi2">inchi2</option>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
46 <option value="inci1">inci1</option>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
47 <option value="incn">incn</option>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
48 <option value="pbssb1-family">pbssb1-family</option>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
49
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
50 </param>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
51
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
52
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
53 </inputs>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
54
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
55 <outputs>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
56 <data format="tabular" name="output" />
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
57 </outputs>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
58
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
59 <help>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
60
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
61 </help>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
62 <citations>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
63 <citation type="doi">10.1007/978-1-4939-9877-7_20</citation>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
64 </citations>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
65 </tool>
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
66
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
67
140d4f9e1f20 Uploaded
dcouvin
parents:
diff changeset
68