annotate SeqSero/seqsero.xml @ 0:c577b57b7c74 draft

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