comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:a407a6ed437d
1 <tool id="spades" name="spades" version="0.2">
2 <description>SPAdes genome assembler for regular and single-cell projects</description>
3 <requirements>
4 <requirement type="package" version="2.4.0">spades</requirement>
5 </requirements>
6 <command interpreter="perl">spades.pl $out_contigs $out_scaffolds $out_log
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
8 spades.py
9 ## TODO: kmers, threads, other options (-sc for single-cell)
10 #if $sc == "true":
11 --sc
12 #end if
13 #if $careful == "true":
14 --careful
15 #end if
16 #if $rectangle == "true"
17 --rectangle
18 #end if
19 -t $threads
20 -k $kmers
21 -i $iterations
22 ##--phred-offset
23 ## Sequence files
24 #for $i, $s in enumerate( $reads )
25 #if $s.read_type.type == "pairedend"
26 -1 $s.read_type.fwd_reads
27 -2 $s.read_type.rev_reads
28 #elif $s.read_type.type == "interleaved"
29 --12 $s.read_type.interleaved_reads
30 #elif $s.read_type.type == "unpaired"
31 -s $s.read_type.unpaired_reads
32 #end if
33 #end for
34 </command>
35 <inputs>
36 <param name="sc" type="select" label="Single-cell?" help="This flag is required for MDA (single-cell) data.">
37 <option value="false">No</option>
38 <option value="true">Yes</option>
39 </param>
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).">
41 <option value="false">No</option>
42 <option value="true" selected="true">Yes</option>
43 </param>
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).">
45 <option value="false" selected="true">No</option>
46 <option value="true">Yes</option>
47 </param>
48 <param name="threads" type="integer" label="Number of threads to use" value="16">
49 </param>
50 <param name="iterations" type="integer" label="Number of iterations for read error correction." value="1">
51 </param>
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." >
53 </param>
54 <!-- Reads -->
55 <repeat name="reads" title="Reads">
56 <conditional name="read_type">
57 <param name="type" type="select" label="Select type of reads">
58 <option value="pairedend">Paired-end, separate inputs</option>
59 <option value="interleaved">Paired-end, interleaved</option>
60 <option value="unpaired">Unpaired reads</option>
61 </param>
62 <when value="pairedend">
63 <param name="fwd_reads" type="data" format="fastq" label="Forward reads" help="FASTQ format" />
64 <param name="rev_reads" type="data" format="fastq" label="Reverse reads" help="FASTQ format" />
65 </when>
66 <when value="interleaved">
67 <param name="interleaved_reads" type="data" format="fastq" label="Interleaved paired reads" help="FASTQ format" />
68 </when>
69 <when value="unpaired">
70 <param name="unpaired_reads" type="data" format="fastq" label="Unpaired reads" help="FASTQ format" />
71 </when>
72 </conditional>
73 </repeat>
74 </inputs>
75 <outputs>
76 <data name="out_contigs" format="fasta" label="SPAdes contigs (fasta)" />
77 <data name="out_scaffolds" format="fasta" label="SPAdes scaffolds (fasta)" />
78 <data name="out_log" format="txt" label="SPAdes log" />
79 </outputs>
80 <tests>
81 <test>
82 <!-- Based on the tests coming along with SPAdes -->
83 <param name="sc" value="false" />
84 <param name="careful" value="false" />
85 <param name="rectangle" value="false" />
86 <param name="threads" value="16" />
87 <param name="kmers" value="33,55" />
88 <param name="type" value="pairedend" />
89 <param name="fwd_reads" value="ecoli_1K_1.fq" ftype="fastq" />
90 <param name="rev_reads" value="ecoli_1K_2.fq" ftype="fastq" />
91 <output name="out_contigs" file="reference_1K.fa" ftype="fasta" compare="re_match" lines_diff="1" />
92 </test>
93 </tests>
94 <help>
95 **What it does**
96
97 Runs SPAdes 2.4.0, collects the output, and throws away all the temporary files.
98
99 **Citation**
100
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.
102
103 </help>
104 </tool>