annotate skesa.xml @ 20:a368d48a4562 draft

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