Mercurial > repos > bvalot > pymlst
annotate wgmlst_export.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_export_wrapper" name="Export result 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 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
12 #if $export_result.export == "distance" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
13 distance |
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 $export_result.export == "mlst" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
16 mlst |
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 #if $export_result.export == "strain" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
19 strain |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
20 #if $export_result.count |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
21 -c |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
22 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
23 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
24 #if $export_result.export == "gene" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
25 gene |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
26 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
27 #if str($mincover) |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
28 -m $mincover |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
29 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
30 #if $keep |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
31 -k |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
32 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
33 #if $inverse |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
34 -V |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
35 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
36 #if $duplicate |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
37 -d |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
38 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
39 '${database}' |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
40 > '${$output}' |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
41 #if $log |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
42 2> '${logfile}' |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
43 #end if |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
44 </command> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
45 <inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
46 <param name="database" type="data" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
47 format="sqlite" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
48 label="cg/wgMLST database" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
49 help="Sqlite format from cg/wgMLST database" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
50 <conditional name="export_result"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
51 <param name="export" type="select" label="Select the data export"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
52 <option value="distance">Distance matrix between strains on the cg/wgMLST database</option> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
53 <option value="mlst">cg/wgMLST table for each strain on the cg/wgMLST database</option> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
54 <option value="strain">List of the strains on the cg/wgMLST database</option> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
55 <option value="gene">List of the genes on the cg/wgMLST database</option> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
56 </param> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
57 <when value="strain"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
58 <param name="count" type="boolean" checked="false" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
59 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
|
60 </when> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
61 <when value="distance" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
62 <when value="mlst" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
63 <when value="gene" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
64 </conditional> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
65 <param name="mincover" type="integer" value="0" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
66 optional="true" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
67 label="Minimun number of strain found to keep a gene" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
68 <param name="keep" type="boolean" checked="false" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
69 label="Keep only gene with different allele" help="Omit missing" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
70 <param name="duplicate" type="boolean" checked="false" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
71 label="Conserve duplicate gene (default remove)" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
72 <param name="inverse" type="boolean" checked="false" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
73 label="Keep only gene that not meet the filter of mincover or keep options" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
74 <param name="log" type="boolean" checked="false" |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
75 label="Write log file" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
76 </inputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
77 <outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
78 <data name="output" format="txt" label="Extract ${export_result.export} on ${database.name}"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
79 <change_format> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
80 <when input="export_result.export" value="mlst" format="tabular" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
81 <when input="export_result.export" value="distance" format="txt" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
82 <when input="export_result.export" value="strain" format="tabular" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
83 <when input="export_result.export" value="gene" format="txt" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
84 </change_format> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
85 </data> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
86 <data name="logfile" format="txt" label="${export_result.export} of ${database.name}: log"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
87 <filter>log</filter> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
88 </data> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
89 </outputs> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
90 <tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
91 <test expect_num_outputs="1"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
92 <param name="database" value="wgmlst_ecoli.db" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
93 <conditional name="export_result"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
94 <param name="export" value="distance" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
95 </conditional> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
96 <param name="mincover" value="4" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
97 <output name="output" ftype="txt" file="wgmlst_ecoli.db.distance" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
98 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
99 <test expect_num_outputs="1"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
100 <param name="database" value="wgmlst_ecoli.db" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
101 <conditional name="export_result"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
102 <param name="export" value="mlst" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
103 </conditional> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
104 <param name="keep" value="true" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
105 <output name="output" ftype="tabular" file="wgmlst_ecoli.db.mlst" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
106 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
107 <test expect_num_outputs="2"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
108 <param name="database" value="wgmlst_ecoli.db" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
109 <conditional name="export_result"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
110 <param name="export" value="strain" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
111 <param name="count" value="true" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
112 </conditional> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
113 <param name="log" value="true" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
114 <output name="output" ftype="tabular" file="wgmlst_ecoli.db.strain" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
115 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
116 <test expect_num_outputs="1"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
117 <param name="database" value="wgmlst_ecoli.db" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
118 <conditional name="export_result"> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
119 <param name="export" value="gene" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
120 </conditional> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
121 <param name="keep" value="true" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
122 <param name="inverse" value="true" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
123 <output name="output" ftype="txt" file="wgmlst_ecoli.db.gene" /> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
124 </test> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
125 </tests> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
126 <help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
127 **What it does** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
128 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
129 Extract element from a cg/wgMLST DATABASE: |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
130 - an distance matrix |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
131 - an MLST table |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
132 - a gene list |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
133 - an strains list |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
134 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
135 Options: |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
136 -m, --mincover INTEGER Minimun number of strain found to keep a gene |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
137 (default:0) |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
138 -k, --keep Keep only gene with different allele (omit missing). |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
139 -d, --duplicate Conserve duplicate gene (default remove). |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
140 -V, --inverse Keep only gene that do not meet the filter of |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
141 mincover or keep options. |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
142 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
143 -c, --count Count the number of gene present in the database for |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
144 each strains. |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
145 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
146 **License and citation** |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
147 |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
148 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
|
149 </help> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
150 <citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
151 </citations> |
a3cc35af3635
planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff
changeset
|
152 </tool> |