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
Open sidebar
VEBER Philippe
codepi
Commits
aa70eef1
Commit
aa70eef1
authored
Jun 12, 2018
by
Philippe Veber
Browse files
set up basic CLI
parent
c1e5000b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
app/reviewphiltrans_app.ml
app/reviewphiltrans_app.ml
+8
-0
lib/pipeline.ml
lib/pipeline.ml
+22
-1
No files found.
app/reviewphiltrans_app.ml
View file @
aa70eef1
open
Core
open
Reviewphiltrans
let
()
=
Command
.
group
~
summary
:
"Reviewphiltrans"
[
"pipeline"
,
Pipeline
.
command
;
]
|>
Command
.
run
lib/pipeline.ml
View file @
aa70eef1
open
Core
open
Bistro_utils
open
Bistro_utils
let
repo
=
Repo
.[
let
repo
()
=
Repo
.[
]
]
let
main
~
outdir
?
np
?
mem
~
preview_mode
()
=
()
let
command
=
let
open
Command
.
Let_syntax
in
Command
.
basic
~
summary
:
"Run simulation pipeline"
[
%
map_open
let
outdir
=
flag
"--outdir"
(
optional
string
)
~
doc
:
"PATH Output directory"
and
preview_mode
=
flag
"--preview-mode"
(
optional
int
)
~
doc
:
"INT If present, only consider K million reads"
and
np
=
flag
"--np"
(
optional
int
)
~
doc
:
"INT Number of available processors"
and
mem
=
flag
"--mem"
(
optional
int
)
~
doc
:
"INT Available memory (in GB)"
in
main
~
outdir
?
np
?
mem
~
preview_mode
]
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