annotate seqsero2S.xml @ 10:6cba046e4aaa draft

planemo upload commit 5dde40ff78fc0b4ed8de781e143f984212ecc480
author galaxytrakr
date Fri, 15 May 2026 11:48:22 +0000
parents 4c4899031795
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
4c4899031795 planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents: 8
diff changeset
1 <tool id="seqsero2s" name="SeqSero2S" version="1.1.4+galaxytrakr">
0
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
2 <description>Simplified Salmonella serotype prediction</description>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
3 <requirements>
9
4c4899031795 planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents: 8
diff changeset
4 <container type="docker">quay.io/galaxytrakr/seqsero2s:1.1.4</container>
0
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
5 </requirements>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
7 mkdir ./output;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
8
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
9 #if $reads.reads_select == 'history'
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
10 #set $name = $reads.forward.name.split('.')[0].replace(' ','_')
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
11 #set $forward = $reads.forward
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
12 #set $reverse = $reads.reverse
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
13 #set $infile = $name + "_1.fastq " + $name + "_2.fastq"
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
14 #set $tval = 2
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
15 #if $reverse.is_of_type('fastq.gz', 'fastqsanger.gz')
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
16 gunzip -c $reverse > reverse.fastq;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
17 #set $reverse = './reverse.fastq'
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
18 gunzip -c $forward > forward.fastq;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
19 #set $forward = './forward.fastq'
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
20 #end if
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
21 ln -s $forward ${name}_1.fastq;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
22 ln -s $reverse ${name}_2.fastq;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
23 #else if $reads.reads_select == 'collection'
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
24 #set $name = $reads.coll.name.replace(' ', '_')
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
25 #set $forward = $reads.coll.forward
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
26 #set $reverse = $reads.coll.reverse
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
27 #set $infile = $name + "_1.fastq " + $name + "_2.fastq"
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
28 #set $tval = 2
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
29 #if $reverse.is_of_type('fastq.gz', 'fastqsanger.gz')
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
30 gunzip -c $reverse > reverse.fastq;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
31 #set $reverse = './reverse.fastq'
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
32 gunzip -c $forward > forward.fastq;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
33 #set $forward = './forward.fastq'
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
34 #end if
3
5ca386f1720d planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 2
diff changeset
35 ln -s $forward "${name}_1.fastq";
5ca386f1720d planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 2
diff changeset
36 ln -s $reverse "${name}_2.fastq";
0
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
37 #else
2
7a2bd16bd8d9 planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 1
diff changeset
38 #set $name = $reads.assembly.name.replace(' ', '_')
7a2bd16bd8d9 planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 1
diff changeset
39 #set $infile = $name + ".fasta"
7a2bd16bd8d9 planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 1
diff changeset
40 ln -s $reads.assembly "$infile";
0
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
41 #set $tval = 4
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
42 #set $mode='k'
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
43 #end if
1
46d49cf8db7d planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 0
diff changeset
44 echo "$name" ;
0
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
45 echo "-=-=-=-=-" ;
3
5ca386f1720d planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 2
diff changeset
46 touch output/data_log.txt ;
0
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
47 /usr/local/bin/SeqSero2S.py --version ;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
48 echo "-=-=-=-=-" ;
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
49 /usr/local/bin/SeqSero2S.py
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
50 -p \${GALAXY_SLOTS:-1}
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
51 -t $tval
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
52 -m $mode
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
53 -d ./output
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
54 #if $mode == 'a':
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
55 -b $maptype
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
56 #end if
3
5ca386f1720d planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 2
diff changeset
57 -i $infile &&
5ca386f1720d planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 2
diff changeset
58 echo "-=-=-=-=-" ;
5ca386f1720d planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents: 2
diff changeset
59 cat output/data_log.txt &&
0
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
60 echo "-=-=-=-=-" &&
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
61 ls -lah ./output
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
62 ]]></command>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
63 <inputs>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
64
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
65 <conditional name="reads">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
66 <param name="reads_select" type="select" label="Genome assembly,paired-end collection, or two datasets from your history">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
67 <option value="collection">Paired collection from your history</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
68 <option value="history">Two FASTQ datasets from your history</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
69 <option value="genome">Genome Assembly</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
70 </param>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
71 <when value="collection">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
72 <param label="Paired reads" name="coll" type="data_collection" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz" collection_type="paired" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
73 </when>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
74 <when value="history">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
75 <param label="Forward reads" type="data" name="forward" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
76 <param label="Reverse reads" type="data" name="reverse" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
77 </when>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
78 <when value="genome">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
79 <param label="Genome assembly" name="assembly" type="data" format="fasta"/>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
80 </when>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
81 </conditional>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
82
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
83 <!-- <param name="fastq1" type="data" format="fastq" label="FASTQ paired end read 1" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
84 <param name="fastq2" type="data" format="fastq" label="FASTQ paired end read 2" /> -->
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
85 <!-- <param name="numofthr" type="select" label="Number of threads">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
86 <option value="1">1</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
87 <option value="2">2</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
88 <option value="3">3</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
89 <option value="4">4</option> -->
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
90 <!-- </param> -->
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
91
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
92 <param label="Analysis mode" type="select" name="mode">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
93 <option value="a">allele mode</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
94 <option value="k">k-mer mode</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
95 </param>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
96
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
97 <param name="maptype" type="select" label="Algorithms for BWA mapping">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
98 <option value="mem">mem</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
99 <option value="sam">sam</option>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
100 </param>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
101
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
102
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
103
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
104 </inputs>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
105 <outputs>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
106 <data format="tabular" label="SeqSero Results" name="results" from_work_dir="output/SeqSero_result.tsv" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
107 </outputs>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
108 <tests>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
109 <!-- <test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
110 <param name="reads_select" value="history" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
111 <param name="forward" value="forward.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
112 <param name="reverse" value="reverse.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
113 <output name="results" file="Seqsero_result.tsv" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
114 </test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
115 <test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
116 <param name="reads_select" value="collection" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
117 <param name="coll">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
118 <collection type="paired">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
119 <element name="forward" value="forward.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
120 <element name="reverse" value="reverse.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
121 </collection>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
122 </param>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
123 <output name="results" file="Seqsero_result.tsv" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
124 </test> -->
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
125 <!-- <test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
126 <param name="mode" value="k" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
127 <param name="reads_select" value="history" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
128 <param name="forward" value="forward_25k.fastq.gz" ftype="fastqsanger" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
129 <param name="reverse" value="reverse_25k.fastq.gz" ftype="fastqsanger" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
130 <output name="results" file="Seqsero_result_25k.tsv" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
131 </test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
132 <test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
133 <param name="mode" value="k" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
134 <param name="reads_select" value="collection" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
135 <param name="coll">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
136 <collection type="paired">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
137 <element name="forward" value="forward_25k.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
138 <element name="reverse" value="reverse_25k.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
139 </collection>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
140 </param>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
141 <output name="results" file="Seqsero_result_25k_coll.tsv" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
142 </test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
143 <test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
144 <param name="mode" value="a" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
145 <param name="reads_select" value="history" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
146 <param name="forward" value="forward_250k.fastq.gz" ftype="fastqsanger" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
147 <param name="reverse" value="reverse_250k.fastq.gz" ftype="fastqsanger" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
148 <assert_stdout>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
149 <has_text text="input genome cannot be identified as Salmonella" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
150 </assert_stdout>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
151 </test> -->
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
152 <!-- <test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
153 <param name="mode" value="a" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
154 <param name="reads_select" value="collection" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
155 <param name="coll">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
156 <collection type="paired">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
157 <element name="forward" value="forward_25k.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
158 <element name="reverse" value="reverse_25k.fastq.gz" ftype="fastqsanger.gz" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
159 </collection>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
160 </param>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
161 <output name="results" file="Seqsero_result_allele.tsv" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
162 </test> -->
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
163 <test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
164 <param name="mode" value="k" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
165 <param name="reads_select" value="genome" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
166 <param name="assembly" value="test/taxonomy/salmonella/contigs.fa" ftype="fasta" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
167 <output name="results" file="test/taxonomy/salmonella/SeqSero_result/SeqSero_result.tsv" />
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
168 </test>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
169 </tests>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
170 <help><![CDATA[
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
171
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
172 **Usage: SeqSero2.py**
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
173
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
174 **Algorithms for BWA mapping**
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
175
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
176 'mem' for mem, 'sam' for samse/sampe; default=mem; optional; for now SeqSero2 is only optimized for "mem" mode
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
177
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
178 ]]></help>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
179 <citations>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
180 <citation type="bibtex">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
181 @misc{zhang_yin_jones_zhang_deathrage_dinsmore_fitzgeral_fields_deng_2015,
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
182 title={Salmonella serotype determination utilizing high-throughput genome sequencing data.},
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
183 journal={J Clin Microbiol}, publisher={ASM},
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
184 author={Zhang S, Yin Y, Jones MB, Zhang Z, Deatherage Kaiser BL, Dinsmore BA, Fitzgerald C, Fields PI, Deng X.},
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
185 year={2015}, month={Max},
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
186 url={http://http://jcm.asm.org/content/early/2015/03/05/JCM.00323-15}},
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
187 }</citation>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
188 <citation type="bibtex">
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
189 @misc{cfsan_biostatistics_group_2017,
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
190 title={CFSAN Biostatistics Group fork of SeqSero2},
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
191 url={https://github.com/CFSAN-Biostatistics/SeqSero2.git}},
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
192 </citation>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
193 </citations>
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
194
a9790ce778af planemo upload commit 233f498f942f9253a7e6e1656157e59d38549c44-dirty
jpayne
parents:
diff changeset
195 </tool>