# HG changeset patch
# User lionelguy
# Date 1385634572 18000
# Node ID 95ddc23801300f7570b20fde242876993b77c361
# Parent 1b1af74a54ae0af6a593081440acda683609df2a
Uploaded
diff -r 1b1af74a54ae -r 95ddc2380130 CHANGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/CHANGE Thu Nov 28 05:29:32 2013 -0500
@@ -0,0 +1,17 @@
+0.7
+===
+(thanks to Nicola Soranzo for fixing these bugs)
+- spades.pl doesn't die when NODE number is 0
+- removed the --rectangles option (will be deprecated in SPAdes 2.6), because it uses a different seqid format
+- switched the --threads parameter to $GALAXY_SLOTS
+- a few minor improvements
+
+0.6
+===
+- Supports SPAdes 2.5.1
+- Disables gzipped output for corrected reads
+- Removes the hack that was necessary to accept .dat files (thanks to SPAdes
+ new input format
+- Adds licensing information
+
+(started at version 0.6)
\ No newline at end of file
diff -r 1b1af74a54ae -r 95ddc2380130 tools/spades_2_5/filter_spades_output.xml
--- a/tools/spades_2_5/filter_spades_output.xml Thu Sep 12 07:49:07 2013 -0400
+++ b/tools/spades_2_5/filter_spades_output.xml Thu Nov 28 05:29:32 2013 -0500
@@ -26,8 +26,8 @@
**What it does**
-Using the output of SPAdes (a fasta and stats file, either from contigs or scaffolds), it filters the fasta files, discarding all sequences that are under a given length or under a given coverage.
+Using the output of SPAdes (a fasta and a stats file, either from contigs or scaffolds), it filters the fasta files, discarding all sequences that are under a given length or under a given coverage.
-Typically, this is used to discard short contigs, or contaminations. To dispaly a coverage vs. length plot, use the "SPAdes stats" tool in the same package.
+Typically, this is used to discard short contigs, or contaminations. To display a coverage vs. length plot, use the "SPAdes stats" tool in the same package.
-
\ No newline at end of file
+
diff -r 1b1af74a54ae -r 95ddc2380130 tools/spades_2_5/spades.pl
--- a/tools/spades_2_5/spades.pl Thu Sep 12 07:49:07 2013 -0400
+++ b/tools/spades_2_5/spades.pl Thu Nov 28 05:29:32 2013 -0500
@@ -76,9 +76,8 @@
while (){
next unless /^>/;
chomp;
- my @a = split(/\s/, $_);
- my ($NODE, $n, $LENGTH, $l, $COV, $cov) = split(/_/, $a[0]);
- die "Not all elements found in $_\n" unless ($n && $l && $cov);
+ die "Not all elements found in $_\n" if (! m/^>NODE_(\d+)_length_(\d+)_cov_(\d+\.*\d*)_/);
+ my ($n, $l, $cov) = ($1, $2, $3);
print TAB "NODE_$n\t$l\t$cov\n";
}
close TAB;
diff -r 1b1af74a54ae -r 95ddc2380130 tools/spades_2_5/spades.xml
--- a/tools/spades_2_5/spades.xml Thu Sep 12 07:49:07 2013 -0400
+++ b/tools/spades_2_5/spades.xml Thu Nov 28 05:29:32 2013 -0500
@@ -1,4 +1,4 @@
-
+SPAdes genome assembler for regular and single-cell projectsspades
@@ -16,9 +16,9 @@
$sc
$onlyassembler
$careful
- $rectangles
- -t $threads
- -k $kmers
+ ##$rectangles
+ -t \${GALAXY_SLOTS:-16}
+ -k "$kmers"
##-i $iterations
##--phred-offset
## Sequence files
@@ -49,17 +49,14 @@
-
-
-
-
-
+
+
-
+
-
+
@@ -67,7 +64,7 @@
-
+
@@ -97,11 +94,8 @@