Commit 0d50d542 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Make working for windows

parent b3f825ed
...@@ -31,11 +31,11 @@ class Tool: ...@@ -31,11 +31,11 @@ class Tool:
if exec == "default": if exec == "default":
self.exec = os.path.join(os.path.dirname(inspect.getfile(self.__class__)), "bin", self.name) self.exec = os.path.join(os.path.dirname(inspect.getfile(self.__class__)), "bin", self.name)
else: else:
self.exec = exec self.exec = exec.replace("###SYSEXEC###", os.path.dirname(sys.executable))
if exec_cluster is None or exec_cluster == "default": if exec_cluster is None or exec_cluster == "default":
self.exec_cluster = exec self.exec_cluster = exec.replace("###SYSEXEC###", os.path.dirname(sys.executable))
else: else:
self.exec_cluster = exec_cluster self.exec_cluster = exec_cluster.replace("###SYSEXEC###", os.path.dirname(sys.executable))
# Command line: # Command line:
if "{exe}" in command_line and "{target}" in command_line and "{query}" in command_line and "{out}" \ if "{exe}" in command_line and "{target}" in command_line and "{query}" in command_line and "{out}" \
......
...@@ -16,10 +16,6 @@ max_upload_size_ava = 1G ...@@ -16,10 +16,6 @@ max_upload_size_ava = 1G
max_upload_file_size = 1G max_upload_file_size = 1G
[softwares]
minimap2 = ###SYSEXEC###/../minimap2/minimap2.exe
[debug] [debug]
# Debug (enable only for tests) # Debug (enable only for tests)
enable = False enable = False
......
minimap2:
exec: ###SYSEXEC###/../minimap2/minimap2.exe
command_line: "{exe} -t {threads} {target} {query} > {out}"
all_vs_all: "{exe} -t {threads} -X {target} {target} > {out}"
max_memory: 40
threads: 8
parser: !!null
split_before: True
help: "Better for low similar fasta files"
order: 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment