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
bb0c512b
Commit
bb0c512b
authored
Sep 04, 2018
by
LANORE Vincent
Browse files
Global seed is now written to file (outdir/global.seed).
parent
93a3f87f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lib/pipeline.ml
lib/pipeline.ml
+1
-0
No files found.
lib/pipeline.ml
View file @
bb0c512b
...
...
@@ -384,6 +384,7 @@ let simulation_main ~outdir ?(ns = 0) ?(np = 2) ?(mem = 2) ~tree_dir ~profile_fn
let
validation_main
~
outdir
?
(
indir
=
""
)
?
(
ns
=
0
)
?
(
np
=
2
)
?
(
mem
=
2
)
~
preview
~
fast_mode
~
no_Ne
~
ne_test
~
no_HaPC
~
tree_dir
~
profile_fn
~
use_concat
~
add_indels
~
only_simu
?
(
seed
=
Random
.
int
Int
.
max_value
)
()
=
printf
"Global seed: %i
\n
"
seed
;
Out_channel
.
write_all
(
Filename
.
concat
outdir
"global.seed"
)
~
data
:
(
string_of_int
seed
);
(* simulated trees *)
Random
.
init
seed
;
let
nb_sites
=
if
ns
=
0
then
(
if
preview
then
20
else
50
)
else
ns
in
...
...
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