# HG changeset patch
# User cmonjeau
# Date 1441965880 0
# Node ID 5aea5b993ae87946911e79c0a4fc976bb5384725
# Parent f7458a23cebeca6f272788c1561594ba0332f945
fix .dat unknown extension for kissreads
diff -r f7458a23cebe -r 5aea5b993ae8 mapsembler2.py
--- a/mapsembler2.py Mon Jul 06 15:53:45 2015 +0000
+++ b/mapsembler2.py Fri Sep 11 10:04:40 2015 +0000
@@ -12,7 +12,7 @@
http://www.irisa.fr/symbiose/people/ppeterlongo/mapsembler2_2.2.3.zip
-or with the galaxy_mapsembler2 package in the GenOuest toolshed
+or with the package_mapsembler2_2_2_3 package in the GUGGO toolshed and main toolshed
"""
@@ -49,8 +49,13 @@
#inputs
cmd_line.append("-r")
- #cmd_line.append(inputs)
- cmd_line.append(' '.join(options.input_files.split(",")))
+ inputs_tab = []
+
+ for input in options.input_files.split(","):
+ os.symlink(input, os.path.basename(input)+'.'+options.extension_format)
+ inputs_tab.append(os.path.basename(input)+'.'+options.extension_format)
+
+ cmd_line.append(' '.join(inputs_tab))
# add parameters into the command line
cmd_line.extend(["-t", options.output_extension, "-k", options.kmer, "-c", options.coverage, "-d", options.substitutions, "-g", options.genome_size, "-f", options.process_search, "-x", options.max_length, "-y", options.max_depth])
@@ -59,15 +64,8 @@
log = open(options.output, "w")
log.write("[COMMAND LINE] "+' '.join(cmd_line))
- process=subprocess.Popen(cmd_line,
- stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-
- stdoutput, stderror = process.communicate()
+ process=subprocess.call(cmd_line)
- # results recuperation
- log.write(stdoutput)
- log.write(stderror)
-
# close log file
log.close()
diff -r f7458a23cebe -r 5aea5b993ae8 mapsembler2.xml
--- a/mapsembler2.xml Mon Jul 06 15:53:45 2015 +0000
+++ b/mapsembler2.xml Fri Sep 11 10:04:40 2015 +0000
@@ -7,6 +7,7 @@
mapsembler2.py
-s $input_starters
-r $data_files
+-e $extension_format
-t $output_extension
-k $kmer
-c $coverage
@@ -23,6 +24,10 @@
+
+
+
+
@@ -48,6 +53,9 @@
+
+
+
**Description**