annotate wgmlst_add.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
1 <tool id="wgmlst_add_wrapper" name="Add strain to 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><![CDATA[
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
11 cp '${database}' '${databaseout}' &&
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
12 wgMLST
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
13 #if $data.input == "fasta"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
14 add
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
15 #else
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
16 add2
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 str($coverage)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
19 -c $coverage
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
20 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
21 #if str($identity)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
22 -i $identity
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 $data.input == "fasta"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
25 #if $strain
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
26 -s '$strain'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
27 #else
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
28 -s '$data.fastain.name.replace(" ", "_").replace("-", "_")'
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 '${databaseout}' '${data.fastain}'
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 $data.input == "fastqsingle"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
33 #if str($data.reads)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
34 -r $data.reads
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 $strain
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
37 -s '$strain'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
38 #else
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
39 -s '$data.single.name.replace(" ", "_").replace("-", "_")'
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 '${databaseout}' '${data.single}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
42 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
43 #if $data.input == "fastqpaired"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
44 #if str($data.reads)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
45 -r $data.reads
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
46 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
47 #if $strain
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
48 -s '$strain'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
49 #else
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
50 -s '$data.forward.name.replace(" ", "_").replace("-", "_")'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
51 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
52 '${databaseout}' '${data.forward}' '${data.reverse}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
53 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
54 #if $data.input == "fastqpaired2"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
55 #if str($data.reads)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
56 -r $data.reads
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
57 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
58 #if $strain
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
59 -s '$strain'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
60 #else
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
61 -s '$data.pairedfile.name.replace(" ", "_").replace("-", "_")'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
62 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
63 '${databaseout}' '${data.pairedfile.forward}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
64 '${data.pairedfile.reverse}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
65 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
66 #if $log
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
67 2> '${logfile}'
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
68 #end if
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
69 ]]>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
70 </command>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
71 <inputs>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
72 <param name="database" type="data"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
73 format="sqlite"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
74 label="cg/wgMLST database"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
75 help="Sqlite format from cg/wgMLST database" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
76 <conditional name="data">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
77 <param name="input" type="select" label="Select type of data">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
78 <option value="fasta" selected="true">Assembly (fasta)</option>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
79 <option value="fastqsingle">Raw data (single)</option>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
80 <option value="fastqpaired">Raw data (paired separated)</option>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
81 <option value="fastqpaired2">Raw data (paired)</option>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
82 </param>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
83 <when value="fasta">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
84 <param name="fastain" type="data" format="fasta"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
85 label="Assembly Genome" help="Fasta format" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
86 </when>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
87 <when value="fastqsingle">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
88 <param name="single" type="data" format="fastq,fastq.gz"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
89 label="Single read file" help="Fastq(gz) format" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
90 <param name="reads" type="integer" value="10" optional="true"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
91 label="Minimum reads coverage to search gene" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
92 </when>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
93 <when value="fastqpaired">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
94 <param name="forward" type="data" format="fastq,fastq.gz"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
95 label="Forward read file" help="Fastq(gz) format" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
96 <param name="reverse" type="data" format="fastq,fastq.gz"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
97 label="Reverse read file" help="Fastq(gz) format" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
98 <param name="reads" type="integer" value="10" optional="true"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
99 label="Minimum reads coverage to search gene" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
100 </when>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
101 <when value="fastqpaired2">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
102 <param name="pairedfile" type="data_collection" format="fastq,fastq.gz"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
103 label="Paired of read files" help="Fastq(gz) format"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
104 collection_type="paired" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
105 <param name="reads" type="integer" value="10" optional="true"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
106 label="Minimum reads coverage to search gene" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
107 </when>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
108 </conditional>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
109 <param name="strain" type="text" value="" size="50"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
110 optional="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
111 label="Strain"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
112 help="Name of the strain">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
113 <sanitizer invalid_char="_" >
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
114 <valid initial="string.ascii_letters,string.digits">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
115 <add value="_" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
116 <add value="." />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
117 </valid>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
118 </sanitizer>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
119 </param>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
120 <param name="identity" type="float" value="0.9" optional="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
121 label="Identity"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
122 help="Minimum identity to search gene" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
123 <param name="coverage" type="float" value="0.9" optional="false"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
124 label="Coverage"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
125 help="Minimum coverage to search gene" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
126 <param name="log" type="boolean" checked="true"
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
127 label="Write log file" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
128 </inputs>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
129 <outputs>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
130 <data name="databaseout" format="sqlite" label="${database.name}">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
131 </data>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
132 <data name="logfile" format="txt" label="${tool.name} on ${on_string}: log">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
133 <filter>log</filter>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
134 </data>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
135 </outputs>
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 <test expect_num_outputs="2">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
138 <param name="database" value="wgmlst_ecoli.db" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
139 <conditional name="data">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
140 <param name="input" value="fasta" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
141 <param name="fastain" ftype="fasta" value="EHSB-021.fasta" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
142 </conditional>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
143 <param name="identity" value="0.8" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
144 <output name="logfile" ftype="txt">
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
145 <assert_contents>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
146 <has_text text="Added 2497 new MLST genes to the database" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
147 <has_text text="Found 32 partial genes, filled 30" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
148 <has_text text="Removed 4 genes" />
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
149 </assert_contents>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
150 </output>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
151 </test>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
152 <!-- <test expect_num_outputs="2"> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
153 <!-- <param name="database" value="wgmlst_ecoli.db" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
154 <!-- <param name="strain" value="EHSB-021" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
155 <!-- <conditional name="data"> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
156 <!-- <param name="input" value="fastqpaired" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
157 <!-- <param name="forward" ftype="fastq.gz" value="EHSB-021_R1.fastq.gz" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
158 <!-- <param name="reverse" ftype="fastq.gz" value="EHSB-021_R2.fastq.gz" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
159 <!-- <param name="reads" value="5" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
160 <!-- </conditional> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
161 <!-- <output name="logfile" ftype="txt"> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
162 <!-- <assert_contents> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
163 <!-- <has_text_matching expression="Add 24\d\d new MLST genes to database" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
164 <!-- <has_text_matching expression="Remove \d genes with uncertain bases" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
165 <!-- <has_text_matching expression="Remove \d\d genes with bad CDS" /> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
166 <!-- </assert_contents> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
167 <!-- </output> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
168 <!-- </test> -->
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
169 </tests>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
170 <help>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
171 **What it does**
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
172
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
173 Add a Strain to the cg/wgMLST database
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
174
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
175 You can use
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
176 - Genome assembly (blat search)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
177 - Raw data (kma search)
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
178
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
179 **Options:**
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
180 -s, --strain TEXT Name of the strain (default:genome name).
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
181 -i, --identity FLOAT Minimum identity to search gene (default=0.9).
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
182 -c, --coverage FLOAT Minimum coverage to search gene (default=0.95).
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
183 -r, --reads INTEGER Minimum reads coverage to search gene (default=10).
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
184 -f, --fasta FILENAME Write fasta file with gene allele.
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
185
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
186 **License and citation**
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
187
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
188 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
189 </help>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
190 <citations>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
191 </citations>
a3cc35af3635 planemo upload for repository https://github.com/bvalot/pyMLST commit 13edfab02a5da9e374c38ecbd0e229ec0f8d53bb
bvalot
parents:
diff changeset
192 </tool>