Mercurial > repos > cstrittmatter > skesa
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 |
rev | line source |
---|---|
14 | 1 <tool id="skesa" name="skesa" version="0.1"> |
2 <requirements> | |
20
a368d48a4562
planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents:
19
diff
changeset
|
3 <requirement type="package" version="2.2">skesa</requirement> |
14 | 4 </requirements> |
5 <command detect_errors="exit_code"><![CDATA[ | |
21
8bafd3d18864
planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents:
20
diff
changeset
|
6 |
14 | 7 skesa |
20
a368d48a4562
planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty
cstrittmatter
parents:
19
diff
changeset
|
8 #if $jobtype.select == "asm" |
14 | 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 | 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 | 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 | 25 |
26 ]]></command> | |
27 <inputs> | |
28 <conditional name="jobtype"> | |
29 <param name="select" type="select" label="Assembly or FASTQ Reads?"> | |
30 <option value="asm">Genome Assembly</option> | |
31 <option value="se">Single-End Reads</option> | |
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 | 34 </param> |
35 <when value="asm"> | |
36 <param name="draft" type="data" format="fasta" label="FASTA" /> | |
37 </when> | |
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 | 43 </when> |
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 | 47 </when> |
48 </conditional> | |
49 <param name="memory" type="integer" label="Memory available (GB) [integer]" value="16" /> | |
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 | 52 </inputs> |
53 <outputs> | |
54 <data format="fasta" label="skesa Results" name="${input.name}.skesa.fasta" from_work_dir="*.fasta"/> | |
55 </outputs> | |
56 | |
57 <help><![CDATA[ | |
58 | |
59 **Usage: skesa** | |
60 | |
61 **INPUT** | |
62 | |
63 A fasta assembly or single or paired end reads test or data set list of fastqs | |
64 | |
65 **Memory available** | |
66 | |
67 --memory arg (=32) Memory available (GB) [integer] | |
68 | |
69 | |
70 **Number of cores** | |
71 | |
72 --cores arg (=0) Number of cores to use (default all) [integer] | |
73 | |
74 https://github.com/ncbi/ngs-tools/tree/master/tools/skesa/ | |
75 | |
76 ]]></help> | |
77 <citations> | |
78 <citation type="bibtex"> | |
79 @misc{pope_dashnow_zobel_holt_raven_schultz_inouye_tomita_2014, | |
80 title={skesa: eSKESA is a de-novo sequence read assembler for cultured single isolate genomes | |
81 based on DeBruijn graphs. It uses conservative heuristics and is designed to | |
82 create breaks at repeat regions in the genome. This leads to excellent sequence | |
83 quality but not necessarily a large N50 statistic. It is a multi-threaded | |
84 application that scales well with the number of processors. For different runs | |
85 with the same inputs, including the order of reads, the order and orientation | |
86 of contigs in the output is deterministic. }, | |
87 url={https://github.com/ncbi/ngs-tools/tree/master/tools/skesa/}, | |
88 author={National Center for Biotechnology Information }, | |
89 }</citation> | |
90 </citations> | |
91 </tool> |