Mercurial > repos > bvalot > pymlst
annotate wgmlst_import.xml @ 2:4394da33d837 draft default tip
planemo upload for repository https://github.com/bvalot/pyMLST commit 142042a3856f8886031cacaa4fb28743a1bcd540
author | bvalot |
---|---|
date | Wed, 15 Nov 2023 12:22:07 +0000 |
parents | 5b2c48fa0175 |
children |
rev | line source |
---|---|
1
5b2c48fa0175
planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents:
0
diff
changeset
|
1 <tool id="wgmlst_import_wrapper" name="Import cgMLST database" |
5b2c48fa0175
planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents:
0
diff
changeset
|
2 version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> |
0
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
3 <description></description> |
1
5b2c48fa0175
planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents:
0
diff
changeset
|
4 <macros> |
5b2c48fa0175
planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents:
0
diff
changeset
|
5 <import>macro.xml</import> |
5b2c48fa0175
planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents:
0
diff
changeset
|
6 </macros> |
5b2c48fa0175
planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents:
0
diff
changeset
|
7 <expand macro="requirements" /> |
0
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
8 <stdio> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
9 <exit_code range="1:" level="fatal" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
10 </stdio> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
11 <version_command>wgMLST -v</version_command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
12 <command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
13 wgMLST import --force --no-prompt |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
14 '${database}' '$search' &> '${logfile}' |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
15 </command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
16 <inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
17 <param name="search" type="text" value="" optional="false" size="50" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
18 label="Species name to import" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
19 help="Bacterial species to download from cgMLST.org database" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
20 </inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
21 <outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
22 <data name="logfile" format="txt" label="${tool.name} import on ${search}: log" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
23 <data name="database" format="sqlite" label="cgMLST database on ${search}" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
24 </outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
25 <tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
26 <test expect_num_outputs="2"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
27 <param name="search" value="Escherichia" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
28 <output name="logfile" ftype="txt"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
29 <assert_contents> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
30 <has_text text="One element found : Escherichia coli" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
31 <has_text text="Downloading the core genome..." /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
32 <has_text text="Reverse-complemented genes: 1294" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
33 <has_text text="Database initialized" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
34 </assert_contents> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
35 </output> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
36 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
37 </tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
38 <help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
39 **What it does** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
40 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
41 Import a cgMLST database from cgmlst.org |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
42 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
43 Example : |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
44 - Pseudomonas aeruginosa |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
45 - Escherichia |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
46 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
47 **License and citation** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
48 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
49 This Galaxy tool is Copyright © 2022 `B. Valot` and is released under the `GPL3 license`. |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
50 </help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
51 <citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
52 </citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
53 </tool> |