Mercurial > repos > bvalot > pymlst
annotate clamlst_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="clamlst_import_wrapper" name="Import MLST 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>claMLST -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 claMLST import --force --no-prompt |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
14 #if $mlst |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
15 -m $mlst |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
16 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
17 $database '$search' &> $logfile |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
18 </command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
19 <inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
20 <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
|
21 label="Species name to import" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
22 help="Bacterial species to download from pubMLST database" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
23 <param name="mlst" type="text" value="" optional="true" size="50" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
24 label="MLST shema" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
25 help="Precise mlst shema if multiple exists for the " /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
26 </inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
27 <outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
28 <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
|
29 <data name="database" format="sqlite" label="claMLST database on ${search}" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
30 </outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
31 <tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
32 <test expect_num_outputs="2"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
33 <param name="search" value="Escherichia spp" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
34 <param name="mlst" value="achtman" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
35 <output name="logfile" ftype="txt"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
36 <assert_contents> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
37 <has_text text="One element found : escherichia spp" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
38 <has_text text="One element found : mlst (achtman)" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
39 <has_text text="Database initialized" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
40 </assert_contents> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
41 </output> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
42 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
43 </tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
44 <help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
45 **What it does** |
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 Import a classical MLST database from pubMLST |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
48 Example : |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
49 - Pseudomonas aeruginosa |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
50 - Escherichia spp (mlst=achtman) |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
51 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
52 **License and citation** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
53 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
54 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
|
55 </help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
56 <citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
57 </citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
58 </tool> |