14
|
1 <tool id="skesa" name="skesa" version="0.1">
|
|
2 <requirements>
|
|
3 <requirement type="package" version="2.2">skesa</requirement>
|
|
4 </requirements>
|
|
5 <command detect_errors="exit_code"><![CDATA[
|
|
6 #if $jobtype.select != "cl"
|
|
7 skesa
|
|
8 #if $jobtype.select == "srr"
|
|
9 -sra_run $srrnum
|
|
10 #else if $jobtype.select == "asm"
|
|
11 --fasta $draft
|
|
12 #else if $jobtype.select == "se"
|
|
13 --fastq $fastq1
|
|
14 #else if $jobtype.select == "pe"
|
|
15 --fastq $fastq1,$fastq2 --use_paired_ends
|
|
16 #else if $jobtype.select == "rp"
|
15
|
17 --fastq $pairedf['forward'],$pairedf['reverse'] --use_paired_ends
|
14
|
18 #end if
|
|
19 #if $cores != 0
|
|
20 --cores $cores
|
|
21 #end if
|
|
22 --memory $memory > results.skesa.fasta
|
|
23 #end if
|
|
24
|
|
25 ]]></command>
|
|
26 <inputs>
|
|
27 <conditional name="jobtype">
|
|
28 <when value="srr">
|
|
29 <param name="srrnum" type="text" label="Sra run number"/>
|
|
30 </when>
|
|
31 <param name="select" type="select" label="Assembly or FASTQ Reads?">
|
|
32 <option value="sra">SRR number</option>
|
|
33 <option value="asm">Genome Assembly</option>
|
|
34 <option value="se">Single-End Reads</option>
|
|
35 <option value="pe">Paired-End Reads (Separate Files)</option>
|
|
36 <option value="rp">Paired-End Reads (Paired Data Set)</option>
|
|
37 <option value="cl">Collection of Reads</option>
|
|
38 </param>
|
|
39 <when value="asm">
|
|
40 <param name="draft" type="data" format="fasta" label="FASTA" />
|
|
41 </when>
|
|
42 <when value="se">
|
|
43 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
|
|
44 </when>
|
|
45 <when value="pe">
|
|
46 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
|
|
47 <param name="fastq2" type="data" format="fastq" label="FASTQ" />
|
|
48 </when>
|
|
49 <when value="cl">
|
|
50 <param type="data_collection" name="collection_files" format="fastq" collection_type="list" label="FASTQS: Must be a Data Set list built from multiple fastq files" />
|
|
51 </when>
|
|
52 <when value="rp">
|
|
53 <param type="data_collection" collection_type="paired" name="pairedf" format="fastq" label="FASTQS: Must be a paired set of forward and reverse fastq files" />
|
|
54 </when>
|
|
55 </conditional>
|
|
56 <param name="memory" type="integer" label="Memory available (GB) [integer]" value="16" />
|
|
57 <param name="cores" type="integer" label="Number of cores to use (default all) [integer]" value="0" />
|
|
58 <param name="kmer" type="integer" label="Minimal kmer length for assembly [default 21] if non are specified " value="0" />
|
|
59 <param name="min_count" type="integer" label="Minimal count for kmers retained for comparing alternate choices [integer]" value="0" />
|
|
60
|
|
61 </inputs>
|
|
62 <outputs>
|
|
63 <data format="fasta" label="skesa Results" name="${input.name}.skesa.fasta" from_work_dir="*.fasta"/>
|
|
64 </outputs>
|
|
65
|
|
66 <help><![CDATA[
|
|
67
|
|
68 **Usage: skesa**
|
|
69
|
|
70 **INPUT**
|
|
71
|
|
72 A fasta assembly or single or paired end reads test or data set list of fastqs
|
|
73
|
|
74 **Memory available**
|
|
75
|
|
76 --memory arg (=32) Memory available (GB) [integer]
|
|
77
|
|
78
|
|
79 **Number of cores**
|
|
80
|
|
81 --cores arg (=0) Number of cores to use (default all) [integer]
|
|
82
|
|
83 https://github.com/ncbi/ngs-tools/tree/master/tools/skesa/
|
|
84
|
|
85 ]]></help>
|
|
86 <citations>
|
|
87 <citation type="bibtex">
|
|
88 @misc{pope_dashnow_zobel_holt_raven_schultz_inouye_tomita_2014,
|
|
89 title={skesa: eSKESA is a de-novo sequence read assembler for cultured single isolate genomes
|
|
90 based on DeBruijn graphs. It uses conservative heuristics and is designed to
|
|
91 create breaks at repeat regions in the genome. This leads to excellent sequence
|
|
92 quality but not necessarily a large N50 statistic. It is a multi-threaded
|
|
93 application that scales well with the number of processors. For different runs
|
|
94 with the same inputs, including the order of reads, the order and orientation
|
|
95 of contigs in the output is deterministic. },
|
|
96 url={https://github.com/ncbi/ngs-tools/tree/master/tools/skesa/},
|
|
97 author={National Center for Biotechnology Information },
|
|
98 }</citation>
|
|
99 </citations>
|
|
100 </tool>
|