Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
VEBER Philippe
codepi
Commits
b1ac3c14
Commit
b1ac3c14
authored
Jun 25, 2018
by
Carine Rey
Browse files
try to use local python package
parent
0f25e8c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
lib/convergence_detection.ml
lib/convergence_detection.ml
+21
-2
No files found.
lib/convergence_detection.ml
View file @
b1ac3c14
...
...
@@ -27,14 +27,33 @@ let pcoc ?plot_complete ?gamma ~(faa:aminoacid_fasta workflow) ~(tree:_ workflo
let
diffsel
~
(
phy_n
:
nucleotide_phylip
workflow
)
~
(
tree
:
_
workflow
)
~
(
w_every
:
int
)
~
(
n_cycles
:
int
)
:
(*`diffsel TODO*)
det_out
directory
workflow
=
let
env
=
docker_image
~
account
:
"vlanore"
~
name
:
"diffsel"
~
tag
:
"v1.0"
()
in
let
chainname
=
dest
//
"myrun"
in
(*_build/diffsel -t data/samhd1.tree -d data/samhd1.ali -ncond 3 -x 1 10000 myrun*)
workflow
~
descr
:
"convergence_detection.diffsel"
[
let
run_diffsel
=
workflow
~
descr
:
"convergence_detection.
run_
diffsel"
[
mkdir_p
dest
;
cmd
"_build/diffsel"
~
env
[
opt
"-t"
dep
tree
;
opt
"-d"
dep
phy_n
;
opt
"-ncond"
int
2
;
opt
"-x"
seq
[
int
w_every
;
string
" "
;
int
n_cycles
];
seq
[
ident
dest
;
string
"/myrun"
]
;
ident
chainname
;
]
]
in
let
package
=
tmp
//
"diffsel_script_utils.py"
in
let
script
=
tmp
//
"diffsel_analyze_result.py"
in
workflow
~
descr
:
"convergence_detection.parse_diffsel"
[
docker
env
(
and_list
[
(*python diffsel_analyze_result.py [-r /path/to/readdiffsel] [-o output_file] chainname *)
cmd
"cat"
~
stdout
:
package
[
file_dump
(
string
Scripts
.
diffsel_analyze_result
)
]
;
cmd
"cat"
~
stdout
:
script
[
file_dump
(
string
Scripts
.
diffsel_analyze_result
)
]
;
cd
tmp
;
cmd
"python"
[
string
"diffsel_analyze_result.py"
;
opt
"-r"
string
"_build/readdiffsel"
;
opt
"-o"
ident
dest
;
dep
(
run_diffsel
/
selector
[
"myrun.chain"
])
]
]
)
]
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