annotate SeqSero/seqsero.xml @ 2:2f81c626194a draft

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