annotate skesa.xml @ 14:1581b4e8d993 draft

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