Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
da7abd24
Commit
da7abd24
authored
Apr 28, 2015
by
Mathieu Giraud
Browse files
vidjil.cpp: '-W' option, give a labeled windows on the command line
parent
84b26644
Changes
1
Show whitespace changes
Inline
Side-by-side
algo/vidjil.cpp
View file @
da7abd24
...
...
@@ -182,8 +182,9 @@ void usage(char *progname, bool advanced)
<<
" -e <float> maximal e-value for determining if a segmentation can be trusted (default: "
<<
THRESHOLD_NB_EXPECTED
<<
")"
<<
endl
<<
endl
<<
"Window annotations"
<<
endl
<<
" -l <file> labels for some windows -- these windows will be kept even if -r/-% thresholds are not reached"
<<
endl
<<
"Labeled windows (these windows will be kept even if -r/-% thresholds are not reached)"
<<
endl
<<
" -W <window> label the given window"
<<
endl
<<
" -l <file> label a set of windows given in <file>"
<<
endl
<<
" -F filter -- keep only the labeled windows"
<<
endl
<<
endl
;
...
...
@@ -347,7 +348,7 @@ int main (int argc, char **argv)
//$$ options: getopt
while
((
c
=
getopt
(
argc
,
argv
,
"A!x:X:hHaiI12g:G:V:D:J:k:r:vw:e:C:f:l:Fc:m:M:N:s:b:Sn:o:L%:y:z:uUK3E:"
))
!=
EOF
)
while
((
c
=
getopt
(
argc
,
argv
,
"A!x:X:hHaiI12g:G:V:D:J:k:r:vw:e:C:f:
W:
l:Fc:m:M:N:s:b:Sn:o:L%:y:z:uUK3E:"
))
!=
EOF
)
switch
(
c
)
{
...
...
@@ -521,6 +522,12 @@ int main (int argc, char **argv)
max_reads_processed
=
atoi_NO_LIMIT
(
optarg
);
break
;
// Labels
case
'W'
:
windows_labels
[
string
(
optarg
)]
=
'
-
W
'
;
break
;
case
'l'
:
windows_labels_file
=
optarg
;
break
;
...
...
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