# HG changeset patch
# User iuc
# Date 1494705118 14400
# Node ID 65c2d63fcbe6af0a8fd405c5f4abf2dd54ac5477
# Parent 909c315b656de2b75ed44c72f6cb61bed31b6336
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
diff -r 909c315b656d -r 65c2d63fcbe6 spades.xml
--- a/spades.xml Wed Mar 01 15:33:26 2017 -0500
+++ b/spades.xml Sat May 13 15:51:58 2017 -0400
@@ -70,6 +70,8 @@
--untrusted-contigs $contig.extension:$contig
#end if
#end for
+ && cat contigs.fasta | python '$write_tsv_script' > '$out_contig_stats'
+ && cat scaffolds.fasta | python '$write_tsv_script' > '$out_scaffold_stats'
]]>
@@ -141,7 +143,31 @@
+
+ (NODE|\S+)_(\d+)(?:_|\s)length_(\d+)_cov_(\d+\.*\d*).*\$'
+replace_str = r'\1_\2\t\3\t\4'
+cmd = re.compile(search_str)
+sys.stdout.write('#name\tlength\tcoverage\n')
+for i,line in enumerate(sys.stdin):
+ if cmd.match(line):
+ sys.stdout.write(cmd.sub(replace_str,line))
+]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -155,6 +181,11 @@
+