Mercurial > repos > lionelguy > spades
annotate tools/spades_2_5/spades.xml @ 7:95ddc2380130 draft
Uploaded
author | lionelguy |
---|---|
date | Thu, 28 Nov 2013 05:29:32 -0500 |
parents | d82f18c76309 |
children |
rev | line source |
---|---|
7 | 1 <tool id="spades" name="spades" version="0.7"> |
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 | |
7 | 19 ##$rectangles |
20 -t \${GALAXY_SLOTS:-16} | |
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)." /> | |
7 | 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)." /> It uses a different format for the sequence identifier in the output FASTA files which do not contain the coverage information --> |
53 <!-- <param name="iterations" type="integer" label="Number of iterations for read error correction." value="1" /> --> | |
2 | 54 <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
|
55 </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
|
56 <!-- Reads --> |
7 | 57 <repeat name="libraries" title="Libraries" min="1" help="It is not possible to specify only mate-pair libraries. Scaffolds are not produced if neither a paired-end nor a mate-pair library is provided."> |
2 | 58 <param name="lib_type" type="select" label="Library type"> |
7 | 59 <option value="paired_end">Paired-end / Single reads</option> |
2 | 60 <option value="mate_paired">Mate pairs</option> |
61 </param> | |
62 <param name="orientation" type="select" label="Orientation"> | |
63 <option value="fr" selected="true">-> <- (fr)</option> | |
64 <option value="rf"><- -> (rf)</option> | |
65 <option value="ff">-> -> (ff)</option> | |
66 </param> | |
7 | 67 <repeat name="files" title="Files" min="1"> |
2 | 68 <conditional name="file_type"> |
69 <param name="type" type="select" label="Select file format"> | |
70 <option value="separate">Separate input files</option> | |
71 <option value="interleaved">Interleaved files</option> | |
72 <option value="unpaired">Unpaired/Single reads</option> | |
73 </param> | |
74 <when value="separate"> | |
75 <param name="fwd_reads" type="data" format="fastq" label="Forward reads" help="FASTQ format" /> | |
76 <param name="rev_reads" type="data" format="fastq" label="Reverse reads" help="FASTQ format" /> | |
77 </when> | |
78 <when value="interleaved"> | |
79 <param name="interleaved_reads" type="data" format="fastq" label="Interleaved paired reads" help="FASTQ format" /> | |
80 </when> | |
81 <when value="unpaired"> | |
82 <param name="unpaired_reads" type="data" format="fastq" label="Unpaired reads" help="FASTQ format" /> | |
83 </when> | |
84 </conditional> | |
85 </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
|
86 </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
|
87 </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
|
88 <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
|
89 <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
|
90 <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
|
91 <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
|
92 <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
|
93 <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
|
94 </outputs> |
2 | 95 <!-- <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
|
96 <test> |
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 <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
|
98 <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
|
99 <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
|
100 <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
|
101 <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
|
102 <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
|
103 <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
|
104 </test> |
2 | 105 </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
|
106 <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
|
107 **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
|
108 |
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
|
109 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
|
110 |
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
|
111 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
|
112 |
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
|
113 **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
|
114 |
0f8b2da62d7d
Support for SPAdes 2.5.0. Added a tab-separated output with coverage vs. length info for each contig.
lionelguy
parents:
diff
changeset
|
115 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
|
116 |
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 **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
|
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 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
|
120 |
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
|
121 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
|
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 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
|
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 You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. |
7 | 126 |
127 ** Acknowledgments ** | |
128 | |
129 Anton Korobeynikov greatlty helped understanding how SPAdes work, and integrated handy features into SPAdes. | |
130 | |
131 Nicola Soranzo fixed bugs in the 0.6 version. | |
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> |