Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
0d50d542
Commit
0d50d542
authored
Apr 16, 2018
by
Floreal Cabanettes
Browse files
Make working for windows
parent
b3f825ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/dgenies/tools.py
View file @
0d50d542
...
@@ -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}"
\
...
...
win32/data/application.properties
View file @
0d50d542
...
@@ -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
...
...
win32/data/tools.yaml
0 → 100644
View file @
0d50d542
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment