annotate seqsero.xml @ 3:ff697abc6b11 draft

Uploaded
author estrain
date Wed, 11 Sep 2019 06:50:04 -0400
parents
children ab0802d77891
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
1 <tool id="seqsero_v1" name="seqsero_v1" version="1.0">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
2 <requirements>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
3 <requirement type="package" version="2.7">python</requirement>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
4 <requirement type="package" version="1.65">biopython</requirement>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
5 <requirement type="package" version="2.7.1">blast</requirement>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
6 <requirement type="package" version="1.9">samtools</requirement>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
7 <requirement type="package" version="2.9.1">sra-tools</requirement>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
8 <requirement type="package" version="0.7.17">bwa</requirement>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
9 </requirements>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
11 #if $jobtype.select == "asm"
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
12 ln -s $jobtype.draft sample.fasta;
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
13 #else if $jobtype.select == "se"
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
14 ln -s $jobtype.fastq1 sample_1.fastq;
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
15 #else if $jobtype.select == "pe"
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
16 ln -s $jobtype.fastq1 sample_1.fastq;
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
17 ln -s $jobtype.fastq2 sample_2.fastq;
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
18 #end if
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
19
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
20 $__tool_directory__/SeqSero.py
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
21 #if $jobtype.select == "asm"
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
22 -m 4
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
23 -i sample.fasta
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
24 #else if $jobtype.select == "se"
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
25 -m 3
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
26 -i sample_1.fastq
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
27 #else if $jobtype.select == "pe"
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
28 -m 2
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
29 -i sample_1.fastq sample_2.fastq
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
30 #end if
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
31 -b $maptype.select
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
32 ; cat SeqSero_result*/Seqsero_result.txt > results.txt;
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
33
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
34 ]]></command>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
35 <inputs>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
36 <conditional name="jobtype">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
37 <param name="select" type="select" label="Assembly or FASTQ Reads?">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
38 <option value="asm">Genome Assembly</option>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
39 <option value="se">Single-End Reads</option>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
40 <option value="pe">Paired-End Reads</option>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
41 </param>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
42 <when value="asm">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
43 <param name="draft" type="data" format="fasta" label="FASTA" />
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
44 </when>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
45 <when value="se">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
46 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
47 </when>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
48 <when value="pe">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
49 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
50 <param name="fastq2" type="data" format="fastq" label="FASTQ" />
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
51 </when>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
52 </conditional>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
53
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
54 <conditional name="maptype">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
55 <param name="select" type="select" label="Algorithms for BWA mapping?">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
56 <option value="sam">sam</option>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
57 <option value="mem">mem</option>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
58 </param>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
59 </conditional>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
60
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
61 </inputs>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
62 <outputs>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
63 <data format="txt" label="SeqSero Results" name="results" from_work_dir="results.txt"/>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
64 </outputs>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
65 <help><![CDATA[
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
66
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
67 ]]></help>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
68 <citations>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
69 <citation type="bibtex">
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
70 @misc{zhang_yin_jones_zhang_deathrage_dinsmore_fitzgeral_fields_deng_2015,
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
71 title={Salmonella serotype determination utilizing high-throughput genome sequencing data.},
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
72 journal={J Clin Microbiol}, publisher={ASM},
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
73 author={Zhang S, Yin Y, Jones MB, Zhang Z, Deatherage Kaiser BL, Dinsmore BA, Fitzgerald C, Fields PI, Deng X.},
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
74 year={2015}, month={Max},
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
75 url={http://http://jcm.asm.org/content/early/2015/03/05/JCM.00323-15}},
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
76 }</citation>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
77 </citations>
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
78
ff697abc6b11 Uploaded
estrain
parents:
diff changeset
79 </tool>