annotate tools/spades_2_4/spades.xml @ 0:a407a6ed437d draft

Uploaded version 0.2, tested on the toolshed
author lionelguy
date Wed, 17 Jul 2013 06:07:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
1 <tool id="spades" name="spades" version="0.2">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
2 <description>SPAdes genome assembler for regular and single-cell projects</description>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
3 <requirements>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
4 <requirement type="package" version="2.4.0">spades</requirement>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
5 </requirements>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
6 <command interpreter="perl">spades.pl $out_contigs $out_scaffolds $out_log
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
7 ## A real command looks like: spades.py -k 21,33,55,77,99,127 --careful -1 Y.fastq.gz -2 X.fastq.gz -t 24 -o output
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
8 spades.py
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
9 ## TODO: kmers, threads, other options (-sc for single-cell)
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
10 #if $sc == "true":
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
11 --sc
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
12 #end if
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
13 #if $careful == "true":
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
14 --careful
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
15 #end if
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
16 #if $rectangle == "true"
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
17 --rectangle
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
18 #end if
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
19 -t $threads
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
20 -k $kmers
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
21 -i $iterations
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
22 ##--phred-offset
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
23 ## Sequence files
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
24 #for $i, $s in enumerate( $reads )
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
25 #if $s.read_type.type == "pairedend"
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
26 -1 $s.read_type.fwd_reads
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
27 -2 $s.read_type.rev_reads
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
28 #elif $s.read_type.type == "interleaved"
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
29 --12 $s.read_type.interleaved_reads
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
30 #elif $s.read_type.type == "unpaired"
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
31 -s $s.read_type.unpaired_reads
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
32 #end if
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
33 #end for
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
34 </command>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
35 <inputs>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
36 <param name="sc" type="select" label="Single-cell?" help="This flag is required for MDA (single-cell) data.">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
37 <option value="false">No</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
38 <option value="true">Yes</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
39 </param>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
40 <param name="careful" type="select" label="Careful correction?" help="Tries to reduce number of mismatches and short indels. Also runs MismatchCorrector – a post processing tool, which uses BWA tool (comes with SPAdes).">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
41 <option value="false">No</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
42 <option value="true" selected="true">Yes</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
43 </param>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
44 <param name="rectangle" type="select" label="Use rectangle correction for repeat resolution?" help="Uses rectangle graph algorithm for repeat resolution stage instead of usual SPAdes repeat resolution module (experimental).">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
45 <option value="false" selected="true">No</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
46 <option value="true">Yes</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
47 </param>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
48 <param name="threads" type="integer" label="Number of threads to use" value="16">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
49 </param>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
50 <param name="iterations" type="integer" label="Number of iterations for read error correction." value="1">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
51 </param>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
52 <param name="kmers" type="text" label="K-mers to use, separated by commas" value="21,33,55" help="Comma-separated list of k-mer sizes to be used (all values must be odd, less than 128 and listed in ascending order). The default value is 21,33,55." >
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
53 </param>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
54 <!-- Reads -->
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
55 <repeat name="reads" title="Reads">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
56 <conditional name="read_type">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
57 <param name="type" type="select" label="Select type of reads">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
58 <option value="pairedend">Paired-end, separate inputs</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
59 <option value="interleaved">Paired-end, interleaved</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
60 <option value="unpaired">Unpaired reads</option>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
61 </param>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
62 <when value="pairedend">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
63 <param name="fwd_reads" type="data" format="fastq" label="Forward reads" help="FASTQ format" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
64 <param name="rev_reads" type="data" format="fastq" label="Reverse reads" help="FASTQ format" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
65 </when>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
66 <when value="interleaved">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
67 <param name="interleaved_reads" type="data" format="fastq" label="Interleaved paired reads" help="FASTQ format" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
68 </when>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
69 <when value="unpaired">
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
70 <param name="unpaired_reads" type="data" format="fastq" label="Unpaired reads" help="FASTQ format" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
71 </when>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
72 </conditional>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
73 </repeat>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
74 </inputs>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
75 <outputs>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
76 <data name="out_contigs" format="fasta" label="SPAdes contigs (fasta)" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
77 <data name="out_scaffolds" format="fasta" label="SPAdes scaffolds (fasta)" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
78 <data name="out_log" format="txt" label="SPAdes log" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
79 </outputs>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
80 <tests>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
81 <test>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
82 <!-- Based on the tests coming along with SPAdes -->
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
83 <param name="sc" value="false" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
84 <param name="careful" value="false" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
85 <param name="rectangle" value="false" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
86 <param name="threads" value="16" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
87 <param name="kmers" value="33,55" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
88 <param name="type" value="pairedend" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
89 <param name="fwd_reads" value="ecoli_1K_1.fq" ftype="fastq" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
90 <param name="rev_reads" value="ecoli_1K_2.fq" ftype="fastq" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
91 <output name="out_contigs" file="reference_1K.fa" ftype="fasta" compare="re_match" lines_diff="1" />
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
92 </test>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
93 </tests>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
94 <help>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
95 **What it does**
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
96
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
97 Runs SPAdes 2.4.0, collects the output, and throws away all the temporary files.
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
98
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
99 **Citation**
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
100
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
101 Anton Bankevich, Sergey Nurk, Dmitry Antipov, Alexey A. Gurevich, Mikhail Dvorkin, Alexander S. Kulikov, Valery M. Lesin, Sergey I. Nikolenko, Son Pham, Andrey D. Prjibelski, Alexey V. Pyshkin, Alexander V. Sirotkin, Nikolay Vyahhi, Glenn Tesler, Max A. Alekseyev, and Pavel A. Pevzner. Journal of Computational Biology. May 2012, 19(5): 455-477. doi:10.1089/cmb.2012.0021.
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
102
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
103 </help>
a407a6ed437d Uploaded version 0.2, tested on the toolshed
lionelguy
parents:
diff changeset
104 </tool>