Mercurial > repos > cstrittmatter > seqsero_v2
annotate seqsero2.xml @ 0:6275272ebcbc draft
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
author | cstrittmatter |
---|---|
date | Thu, 21 Dec 2017 12:45:31 -0500 |
parents | |
children | 3b30ea175c54 |
rev | line source |
---|---|
0
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
1 <tool id="seqsero_v2" name="seqsero_v2" version="2.0"> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
2 <requirements> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
3 <requirement type="package" version="2.7">python</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
4 <requirement type="package">biopython</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
5 <requirement type="package">blast</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
6 <requirement type="package">samtools</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
7 <requirement type="package">sra-tools</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
8 <requirement type="package">bwa</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
9 <requirement type="package">spades</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
10 <requirement type="package">bedtools</requirement> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
11 </requirements> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
13 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
14 ln -s $fastq1 sample_1.fastq; |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
15 ln -s $fastq2 sample_2.fastq; |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
16 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
17 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
18 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
19 $__tool_directory__/SeqSero2.py |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
20 -p $numofthr |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
21 -i sample_1.fastq sample_2.fastq |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
22 -b $maptype; |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
23 cat SeqSero_result*/Seqsero_result.txt > results.txt; |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
24 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
25 ]]></command> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
26 <inputs> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
27 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
28 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
29 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
30 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
31 <param name="fastq1" type="data" format="fastq" label="FASTQ paired end read 1" /> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
32 <param name="fastq2" type="data" format="fastq" label="FASTQ paired end read 2" /> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
33 <param name="numofthr" type="select" label="Number of threads"> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
34 <option value="1">1</option> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
35 <option value="2">2</option> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
36 <option value="3">3</option> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
37 <option value="4">4</option> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
38 </param> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
39 <param name="maptype" type="select" label="Algorithms for BWA mapping?"> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
40 <option value="mem">mem</option> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
41 <option value="sam">sam</option> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
42 </param> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
43 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
44 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
45 </inputs> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
46 <outputs> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
47 <data format="txt" label="SeqSero Results" name="results" from_work_dir="results.txt"/> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
48 </outputs> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
49 <tests> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
50 <test> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
51 <output name="results" file="results.txt"/> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
52 </test> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
53 </tests> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
54 <help><![CDATA[ |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
55 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
56 **Usage: SeqSero2.py** |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
57 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
58 **Number of threads** |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
59 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
60 The range is 1 through 4, only 4 threads will be used for assembly since the amount of extracted reads is small, default=1 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
61 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
62 **Algorithms for BWA mapping** |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
63 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
64 'mem' for mem, 'sam' for samse/sampe; default=mem; optional; for now SeqSero2 is only optimized for "mem" mode |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
65 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
66 ]]></help> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
67 <citations> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
68 <citation type="bibtex"> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
69 @misc{zhang_yin_jones_zhang_deathrage_dinsmore_fitzgeral_fields_deng_2015, |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
70 title={Salmonella serotype determination utilizing high-throughput genome sequencing data.}, |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
71 journal={J Clin Microbiol}, publisher={ASM}, |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
72 author={Zhang S, Yin Y, Jones MB, Zhang Z, Deatherage Kaiser BL, Dinsmore BA, Fitzgerald C, Fields PI, Deng X.}, |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
73 year={2015}, month={Max}, |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
74 url={http://http://jcm.asm.org/content/early/2015/03/05/JCM.00323-15}}, |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
75 }</citation> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
76 </citations> |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
77 |
6275272ebcbc
planemo upload commit 9b152b4a900a8cd70df992da881c7e3fa00d4e4c-dirty
cstrittmatter
parents:
diff
changeset
|
78 </tool> |