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