annotate skesa.xml @ 21:8bafd3d18864 draft

planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
author cstrittmatter
date Mon, 17 Sep 2018 06:49:22 -0400
parents a368d48a4562
children 9448df7c25a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
1 <tool id="skesa" name="skesa" version="0.1">
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
2 <requirements>
20
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
3 <requirement type="package" version="2.2">skesa</requirement>
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
4 </requirements>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
5 <command detect_errors="exit_code"><![CDATA[
21
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
6
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
7 skesa
20
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
8 #if $jobtype.select == "asm"
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
9 --fasta $draft
20
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
10 #else if $jobtype.select == "se"
21
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
11 --fastq $fastq
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
12 #else if $jobtype.select == "cl"
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
13 #set forward=$jobtype.coll.forward
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
14 #set reverse=$jobtype.coll.reverse
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
15 --fastq $forward,$reverse --use_paired_ends
20
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
16 #else if $jobtype.select == "pe"
21
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
17 --fastq $forward,$reverse --use_paired_ends
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
18
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
19 #end if
20
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
20 #if $cores != 0
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
21 --cores $cores
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
22 #end if
20
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
23 --memory $memory > results.skesa.fasta
21
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
24
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
25
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
26 ]]></command>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
27 <inputs>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
28 <conditional name="jobtype">
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
29 <param name="select" type="select" label="Assembly or FASTQ Reads?">
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
30 <option value="asm">Genome Assembly</option>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
31 <option value="se">Single-End Reads</option>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
32 <option value="pe">Paired-End Reads (Separate Files)</option>
21
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
33 <option value="cl">Paired collection from your history</option>
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
34 </param>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
35 <when value="asm">
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
36 <param name="draft" type="data" format="fasta" label="FASTA" />
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
37 </when>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
38 <when value="se">
21
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
39 <param name="fastq" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz,fastq.bz2,fastqsanger.bz2" label="FASTQ" />
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
40 </when>
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
41 <when value="cl">
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
42 <param label="Paired reads" name="coll" type="data_collection" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz,fastq.bz2,fastqsanger.bz2" collection_type="paired" />
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
43 </when>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
44 <when value="pe">
21
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
45 <param name="forward" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz,fastq.bz2,fastqsanger.bz2" label="FASTQ" />
8bafd3d18864 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 20
diff changeset
46 <param name="reverse" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz,fastq.bz2,fastqsanger.bz2" label="FASTQ" />
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
47 </when>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
48 </conditional>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
49 <param name="memory" type="integer" label="Memory available (GB) [integer]" value="16" />
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
50 <param name="cores" type="integer" label="Number of cores to use (default all) [integer]" value="0" />
20
a368d48a4562 planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents: 19
diff changeset
51
14
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
52 </inputs>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
53 <outputs>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
54 <data format="fasta" label="skesa Results" name="${input.name}.skesa.fasta" from_work_dir="*.fasta"/>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
55 </outputs>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
56
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
57 <help><![CDATA[
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
58
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
59 **Usage: skesa**
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
60
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
61 **INPUT**
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
62
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
63 A fasta assembly or single or paired end reads test or data set list of fastqs
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
64
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
65 **Memory available**
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
66
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
67 --memory arg (=32) Memory available (GB) [integer]
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
68
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
69
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
70 **Number of cores**
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
71
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
72 --cores arg (=0) Number of cores to use (default all) [integer]
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
73
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
74 https://github.com/ncbi/ngs-tools/tree/master/tools/skesa/
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
75
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
76 ]]></help>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
77 <citations>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
78 <citation type="bibtex">
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
79 @misc{pope_dashnow_zobel_holt_raven_schultz_inouye_tomita_2014,
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
80 title={skesa: eSKESA is a de-novo sequence read assembler for cultured single isolate genomes
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
81 based on DeBruijn graphs. It uses conservative heuristics and is designed to
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
82 create breaks at repeat regions in the genome. This leads to excellent sequence
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
83 quality but not necessarily a large N50 statistic. It is a multi-threaded
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
84 application that scales well with the number of processors. For different runs
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
85 with the same inputs, including the order of reads, the order and orientation
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
86 of contigs in the output is deterministic. },
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
87 url={https://github.com/ncbi/ngs-tools/tree/master/tools/skesa/},
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
88 author={National Center for Biotechnology Information },
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
89 }</citation>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
90 </citations>
1581b4e8d993 Uploaded
estrain
parents:
diff changeset
91 </tool>