Mercurial > repos > bvalot > pymlst
annotate wgmlst_sequence.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="wgmlst_sequence_wrapper" name="Sequences of cg/wgMLST 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>wgMLST -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 wgMLST sequence |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
12 #if str($genes) |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
13 -f '${genes}' |
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 #if $reference |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
16 --reference |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
17 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
18 '${database}' > '${sequence}' |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
19 #if $log |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
20 2> '${logfile}' |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
21 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
22 </command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
23 <inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
24 <param name="database" type="data" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
25 format="sqlite" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
26 label="cg/wgMLST database" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
27 help="Sqlite format from cg/wgMLST database" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
28 <param name="genes" type="data" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
29 format="txt" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
30 label="Genes list" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
31 help="File containing list of genes to extract" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
32 <param name="reference" type="boolean" checked="false" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
33 label="Report the number of gene found for each strain" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
34 <param name="log" type="boolean" checked="false" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
35 label="Write log file" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
36 </inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
37 <outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
38 <data name="logfile" format="txt" label="Sequence of |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
39 ${database.name}: log"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
40 <filter>log</filter> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
41 </data> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
42 <data name="sequence" format="fasta" label="Sequence of ${database.name}: fasta" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
43 </outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
44 <tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
45 <test expect_num_outputs="1"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
46 <param name="database" value="wgmlst_ecoli.db" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
47 <param name="genes" value="wgmlst_ecoli.db.gene" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
48 <param name="reference" value="true" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
49 <output name="sequence" ftype="fasta" file="wgmlst_ecoli.db.sequence" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
50 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
51 </tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
52 <help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
53 **What it does** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
54 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
55 Extract sequences from a wgMLST DATABASE. |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
56 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
57 **Options** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
58 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
59 -f, --file FILENAME File containing list of coregenes to extract |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
60 (default:all coregenes). |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
61 --reference Return sequence of the reference instead of |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
62 strains allele |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
63 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
64 **License and citation** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
65 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
66 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
|
67 </help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
68 <citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
69 </citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
70 </tool> |