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
8b3cd971
Commit
8b3cd971
authored
Jun 25, 2018
by
Carine Rey
Browse files
add a parsing step after diffsel
parent
003d828f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
lib/convergence_detection.ml
lib/convergence_detection.ml
+15
-6
No files found.
lib/convergence_detection.ml
View file @
8b3cd971
...
...
@@ -37,22 +37,31 @@ let diffsel ~(phy_n:nucleotide_phylip workflow) ~(tree: _ workflow) ~(w_every:in
opt
"-ncond"
int
2
;
opt
"-x"
seq
[
int
w_every
;
string
" "
;
int
n_cycles
];
ident
chainname
;
]
]
;
]
in
let
package
=
tmp
//
"diffsel_script_utils.py"
in
let
script
=
tmp
//
"diffsel_analyze_result.py"
in
let
chainname
=
(
dep
run_diffsel
)
//
"myrun"
in
let
out
=
dest
//
"diffsel_results.tsv"
in
workflow
~
descr
:
"convergence_detection.parse_diffsel"
[
docker
env
(
and_list
[
mkdir_p
dest
;
mkdir_p
tmp
;
cd
tmp
;
cmd
"ls"
[
dep
run_diffsel
];
cmd
"ls"
[
dep
phy_n
];
(* required dep to link the file in the env *)
cmd
"ls"
[
dep
tree
];
(* required dep to link the file in the env *)
(*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
:
package
[
file_dump
(
string
Scripts
.
diffsel_
script_utils
)
]
;
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
des
t
;
de
p
(
run_diffsel
/
selector
[
"myrun.chain"
])
opt
"-r"
string
"
/diffsel/
_build/readdiffsel"
;
opt
"-o"
ident
ou
t
;
i
de
nt
chainname
;
]
]
)
...
...
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