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
505c29de
Commit
505c29de
authored
Feb 29, 2016
by
Mathieu Giraud
Browse files
core/segment.cpp: findCDR3() now uses the 'marked_pos' from DP backtrack
This solves the problem identified in
0aae0cf8
.
parent
e2bff0aa
Changes
1
Show whitespace changes
Inline
Side-by-side
algo/core/segment.cpp
View file @
505c29de
...
...
@@ -1067,6 +1067,15 @@ void FineSegmenter::findCDR3(){
if
(
JUNCTIONstart
<
1
||
JUNCTIONend
>
getSequence
().
sequence
.
length
())
return
;
JUNCTIONstart
=
box_V
->
marked_pos
;
JUNCTIONend
=
box_J
->
marked_pos
;
// There are two cases when we can not detect a JUNCTION/CDR3:
// - Germline V or J gene has no 'marked_pos'
// - Sequence may be too short on either side, and thus the backtrack did not find a suitable 'marked_pos'
if
(
JUNCTIONstart
==
0
||
JUNCTIONend
==
0
)
return
;
// IMGT-CDR3 is, on each side, 3 nucleotides shorter than IMGT-JUNCTION
CDR3start
=
JUNCTIONstart
+
3
;
CDR3end
=
JUNCTIONend
-
3
;
...
...
Vidjil Team
@vidjilteam
Mentioned in issue
#1369 (closed)
·
Nov 29, 2016
Mentioned in issue
#1369 (closed)
Mentioned in issue #1369
Toggle commit list
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