Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
ac9d430b
Commit
ac9d430b
authored
Mar 27, 2014
by
Mathieu Giraud
Browse files
vidjil.cpp: fix 6880d7d, warn if there are less than WARN_PERCENT_SEGMENTED (40)
The threshold is a percentage, not a ratio.
parent
0c43639a
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/vidjil.cpp
View file @
ac9d430b
...
...
@@ -111,7 +111,7 @@ enum { CMD_WINDOWS, CMD_ANALYSIS, CMD_SEGMENT } ;
#define DEFAULT_SEGMENT_COST VDJ
// warn
#define WARN_
RATIO
_SEGMENTED
0.
4
#define WARN_
PERCENT
_SEGMENTED 4
0
// display
#define WIDTH_NB_READS 7
...
...
@@ -643,7 +643,7 @@ int main (int argc, char **argv)
<<
" inside "
<<
nb_total_reads
<<
" sequences"
<<
endl
;
// warn if there are too few segmented sequences
if
(
ratio_segmented
<
WARN_
RATIO
_SEGMENTED
)
if
(
ratio_segmented
<
WARN_
PERCENT
_SEGMENTED
)
{
cout
<<
" ! There are not so many CDR3 windows found in this set of reads."
<<
endl
;
cout
<<
" ! If this is unexpected, check the germline (-G) and try to change seed parameters (-k)."
<<
endl
;
...
...
Write
Preview
Supports
Markdown
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