annotate wgmlst_export.xml @ 1:5b2c48fa0175 draft

planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
author bvalot
date Wed, 07 Dec 2022 15:25:06 +0000
parents a3cc35af3635
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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_export_wrapper" name="Export result of cg/wgMLST 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
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
14 #if $export_result.export == "distance"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
15 distance
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 #if $export_result.export == "mlst"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
18 mlst
1
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
19 #if $export_result.mlsttype == "grapetree"
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
20 -f grapetree
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
21 #end if
0
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 #if $export_result.export == "strain"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
24 strain
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
25 #if $export_result.count
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
26 -c
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
27 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
28 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
29 #if $export_result.export == "gene"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
30 gene
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
31 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
32 #if str($mincover)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
33 -m $mincover
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
34 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
35 #if $keep
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
36 -k
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
37 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
38 #if $inverse
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
39 -V
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
40 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
41 #if $duplicate
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
42 -d
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 '${database}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
45 > '${$output}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
46 #if $log
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
47 2> '${logfile}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
48 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
49 </command>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
50 <inputs>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
51 <param name="database" type="data"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
52 format="sqlite"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
53 label="cg/wgMLST database"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
54 help="Sqlite format from cg/wgMLST database" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
55 <conditional name="export_result">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
56 <param name="export" type="select" label="Select the data export">
1
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
57 <option value="distance" selected="true">Distance matrix between strains on the cg/wgMLST database</option>
0
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
58 <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
59 <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
60 <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
61 </param>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
62 <when value="strain">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
63 <param name="count" type="boolean" checked="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
64 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
65 </when>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
66 <when value="distance" />
1
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
67 <when value="mlst">
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
68 <param name="mlsttype" type="select"
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
69 label="Select the format of export">
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
70 <option value="default" selected="true">Default format</option>
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
71 <option value="grapetree">Grapetree format</option>
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
72 </param>
5b2c48fa0175 planemo upload for repository https://github.com/bvalot/pyMLST commit fe04f6232a5f7ea78b666cb8036872902e79998b
bvalot
parents: 0
diff changeset
73 </when>
0
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
74 <when value="gene" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
75 </conditional>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
76 <param name="mincover" type="integer" value="0"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
77 optional="true"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
78 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
79 <param name="keep" type="boolean" checked="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
80 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
81 <param name="duplicate" type="boolean" checked="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
82 label="Conserve duplicate gene (default remove)" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
83 <param name="inverse" type="boolean" checked="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
84 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
85 <param name="log" type="boolean" checked="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
86 label="Write log file" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
87 </inputs>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
88 <outputs>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
89 <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
90 <change_format>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
91 <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
92 <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
93 <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
94 <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
95 </change_format>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
96 </data>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
97 <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
98 <filter>log</filter>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
99 </data>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
100 </outputs>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
101 <tests>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
102 <test expect_num_outputs="1">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
103 <param name="database" value="wgmlst_ecoli.db" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
104 <conditional name="export_result">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
105 <param name="export" value="distance" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
106 </conditional>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
107 <param name="mincover" value="4" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
108 <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
109 </test>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
110 <test expect_num_outputs="1">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
111 <param name="database" value="wgmlst_ecoli.db" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
112 <conditional name="export_result">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
113 <param name="export" value="mlst" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
114 </conditional>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
115 <param name="keep" value="true" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
116 <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
117 </test>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
118 <test expect_num_outputs="2">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
119 <param name="database" value="wgmlst_ecoli.db" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
120 <conditional name="export_result">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
121 <param name="export" value="strain" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
122 <param name="count" value="true" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
123 </conditional>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
124 <param name="log" value="true" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
125 <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
126 </test>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
127 <test expect_num_outputs="1">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
128 <param name="database" value="wgmlst_ecoli.db" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
129 <conditional name="export_result">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
130 <param name="export" value="gene" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
131 </conditional>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
132 <param name="keep" value="true" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
133 <param name="inverse" value="true" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
134 <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
135 </test>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
136 </tests>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
137 <help>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
138 **What it does**
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
139
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
140 Extract element from a cg/wgMLST DATABASE:
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
141 - an distance matrix
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
142 - an MLST table
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
143 - a gene list
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
144 - an strains list
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 Options:
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
147 -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
148 (default:0)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
149 -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
150 -d, --duplicate Conserve duplicate gene (default remove).
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
151 -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
152 mincover or keep options.
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
153
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
154 -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
155 each strains.
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
156
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
157 **License and citation**
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
158
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
159 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
160 </help>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
161 <citations>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
162 </citations>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
163 </tool>