Mercurial > repos > lionelguy > spades
annotate tools/spades_2_5/spades.xml @ 6:1b1af74a54ae draft
Uploaded
author | lionelguy |
---|---|
date | Thu, 12 Sep 2013 07:49:07 -0400 |
parents | d82f18c76309 |
children | 95ddc2380130 |
rev | line source |
---|---|
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
1 <tool id="spades" name="spades" version="0.6"> |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
2 <description>SPAdes genome assembler for regular and single-cell projects</description> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
3 <requirements> |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
4 <requirement type="package" version="2.5.1">spades</requirement> |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
5 </requirements> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
6 <command interpreter="perl">spades.pl |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
7 $out_contigs |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
8 $out_contig_stats |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
9 $out_scaffolds |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
10 $out_scaffold_stats |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
11 $out_log |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
12 ## 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 |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
13 spades.py |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
14 ## Forces unzipped output, faster |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
15 --disable-gzip-output |
2 | 16 $sc |
17 $onlyassembler | |
18 $careful | |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
19 $rectangles |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
20 -t $threads |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
21 -k $kmers |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
22 ##-i $iterations |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
23 ##--phred-offset |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
24 ## Sequence files |
2 | 25 #for $i, $library in enumerate( $libraries ) |
26 #set num=$i+1 | |
27 #if str( $library.lib_type ) == "paired_end": | |
28 #set prefix = 'pe' | |
29 #else: | |
30 #set prefix = 'mp' | |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
31 #end if |
2 | 32 --$prefix$num-$library.orientation |
33 #for $file in $library.files | |
34 #if $file.file_type.type == "separate" | |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
35 --$prefix$num-1 fastq:$file.file_type.fwd_reads |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
36 --$prefix$num-2 fastq:$file.file_type.rev_reads |
2 | 37 #elif $file.file_type.type == "interleaved" |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
38 --$prefix$num-12 fastq:$file.file_type.interleaved_reads |
2 | 39 #elif $file.file_type.type == "unpaired" |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
40 --$prefix$num-s fastq:$file.file_type.unpaired_reads |
2 | 41 #end if |
42 #end for | |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
43 #end for |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
44 </command> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
45 <inputs> |
2 | 46 <param name="sc" type="boolean" truevalue="--sc" falsevalue="" label="Single-cell?" help="This option is required for MDA (single-cell) data."> |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
47 <option value="false">No</option> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
48 <option value="true">Yes</option> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
49 </param> |
2 | 50 <param name="onlyassembler" type="boolean" truevalue="--only-assembler" falsevalue="" checked="False" label="Run only assembly? (without read error correction)" /> |
51 <param name="careful" type="boolean" truevalue="--careful" falsevalue="" checked="True" 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)." /> | |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
52 <param name="rectangles" type="boolean" truevalue="--rectangles" falsevalue="" checked="False" label="Use rectangle graph algorithm for repeat resolution?" help="Uses rectangle graph algorithm for repeat resolution stage instead of usual SPAdes repeat resolution module (experimental, use at your own risks)." /> |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
53 <param name="threads" type="integer" label="Number of threads to use" value="16"> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
54 </param> |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
55 <!-- <param name="iterations" type="integer" label="Number of iterations for read error correction." value="1"> --> |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
56 <!-- </param> --> |
2 | 57 <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, listed in ascending order, and smaller than the read length). The default value is 21,33,55." > |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
58 </param> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
59 <!-- Reads --> |
2 | 60 <repeat name="libraries" title="Libraries"> |
61 <param name="lib_type" type="select" label="Library type"> | |
62 <option value="paired_end">Paired end / Single reads</option> | |
63 <option value="mate_paired">Mate pairs</option> | |
64 </param> | |
65 <param name="orientation" type="select" label="Orientation"> | |
66 <option value="fr" selected="true">-> <- (fr)</option> | |
67 <option value="rf"><- -> (rf)</option> | |
68 <option value="ff">-> -> (ff)</option> | |
69 </param> | |
70 <repeat name="files" title="Files"> | |
71 <conditional name="file_type"> | |
72 <param name="type" type="select" label="Select file format"> | |
73 <option value="separate">Separate input files</option> | |
74 <option value="interleaved">Interleaved files</option> | |
75 <option value="unpaired">Unpaired/Single reads</option> | |
76 </param> | |
77 <when value="separate"> | |
78 <param name="fwd_reads" type="data" format="fastq" label="Forward reads" help="FASTQ format" /> | |
79 <param name="rev_reads" type="data" format="fastq" label="Reverse reads" help="FASTQ format" /> | |
80 </when> | |
81 <when value="interleaved"> | |
82 <param name="interleaved_reads" type="data" format="fastq" label="Interleaved paired reads" help="FASTQ format" /> | |
83 </when> | |
84 <when value="unpaired"> | |
85 <param name="unpaired_reads" type="data" format="fastq" label="Unpaired reads" help="FASTQ format" /> | |
86 </when> | |
87 </conditional> | |
88 </repeat> | |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
89 </repeat> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
90 </inputs> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
91 <outputs> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
92 <data name="out_contigs" format="fasta" label="SPAdes contigs (fasta)" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
93 <data name="out_contig_stats" format="tabular" label="SPAdes contig stats" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
94 <data name="out_scaffolds" format="fasta" label="SPAdes scaffolds (fasta)" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
95 <data name="out_scaffold_stats" format="tabular" label="SPAdes scaffold stats" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
96 <data name="out_log" format="txt" label="SPAdes log" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
97 </outputs> |
2 | 98 <!-- <tests> |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
99 <test> |
2 | 100 |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
101 <param name="sc" value="false" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
102 <param name="careful" value="false" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
103 <param name="rectangle" value="false" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
104 <param name="threads" value="16" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
105 <param name="kmers" value="33,55" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
106 <param name="type" value="pairedend" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
107 <param name="fwd_reads" value="ecoli_1K_1.fq" ftype="fastq" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
108 <param name="rev_reads" value="ecoli_1K_2.fq" ftype="fastq" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
109 <output name="out_contigs" file="reference_1K.fa" ftype="fasta" compare="re_match" lines_diff="1" /> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
110 </test> |
2 | 111 </tests> --> |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
112 <help> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
113 **What it does** |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
114 |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
115 SPAdes – St. Petersburg genome assembler – is intended for both standard isolates and single-cell MDA bacteria assemblies. See http://bioinf.spbau.ru/en/spades for more details on SPAdes. |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
116 |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
117 This wrapper runs SPAdes 2.5.1, collects the output, and throws away all the temporary files. It also produces a tab file with contig names, length and coverage. |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
118 |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
119 **SPAdes citation** |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
120 |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
121 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. |
3
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
122 |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
123 **License** |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
124 |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
125 SPAdes is developed by and copyrighted to Saint-Petersburg Academic University, and is released under GPLv2. |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
126 |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
127 This wrapper is copyrighted by Lionel Guy, and is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
128 |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
129 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
130 |
d82f18c76309
Uploaded spades wrapper 0.6. Supports spades 2.5.1. Also removes the need for the hack at installation time, by fixing the problem with input files. Shows the license for the tool as well.
lionelguy
parents:
2
diff
changeset
|
131 You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. |
1
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
132 </help> |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
133 </tool> |