Mercurial > repos > bvalot > pymlst
annotate clamlst_import.xml @ 0:a3cc35af3635 draft
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
author | bvalot |
---|---|
date | Thu, 16 Jun 2022 12:32:28 +0000 |
parents | |
children | 5b2c48fa0175 |
rev | line source |
---|---|
0
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
1 <tool id="clamlst_import_wrapper" name="Import MLST database" version="2.1.3"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
2 <description></description> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
3 <requirements> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
4 <requirement type="package" version="2.1.3">pymlst</requirement> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
5 </requirements> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
6 <stdio> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
7 <exit_code range="1:" level="fatal" /> |
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 <version_command>claMLST -v</version_command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
10 <command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
11 claMLST import --force --no-prompt |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
12 #if $mlst |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
13 -m $mlst |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
14 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
15 $database '$search' &> $logfile |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
16 </command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
17 <inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
18 <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
|
19 label="Species name to import" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
20 help="Bacterial species to download from pubMLST database" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
21 <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
|
22 label="MLST shema" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
23 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
|
24 </inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
25 <outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
26 <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
|
27 <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
|
28 </outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
29 <tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
30 <test expect_num_outputs="2"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
31 <param name="search" value="Escherichia spp" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
32 <param name="mlst" value="achtman" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
33 <output name="logfile" ftype="txt"> |
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 <has_text text="One element found : escherichia spp" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
36 <has_text text="One element found : mlst (achtman)" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
37 <has_text text="Database initialized" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
38 </assert_contents> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
39 </output> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
40 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
41 </tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
42 <help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
43 **What it does** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
44 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
45 Import a classical MLST database from pubMLST |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
46 Example : |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
47 - Pseudomonas aeruginosa |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
48 - Escherichia spp (mlst=achtman) |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
49 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
50 **License and citation** |
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 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
|
53 </help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
54 <citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
55 </citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
56 </tool> |