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
dbcc9d2f
Commit
dbcc9d2f
authored
Feb 28, 2016
by
Mathieu Giraud
Browse files
core.segment.cpp: sequences may be too short to extract their CDR3
parent
5beb3cbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/segment.cpp
View file @
dbcc9d2f
...
...
@@ -1058,6 +1058,10 @@ void FineSegmenter::findCDR3(){
JUNCTIONstart
=
(
box_V
->
end
+
1
+
1
)
-
V_104_offset
;
JUNCTIONend
=
(
box_J
->
start
+
1
-
1
)
+
J_118_offset
;
// Sequence may be too short
if
(
JUNCTIONstart
<
1
||
JUNCTIONend
>
getSequence
().
sequence
.
length
())
return
;
// IMGT-CDR3 is, on each side, 3 nucleotides shorter than IMGT-JUNCTION
CDR3start
=
JUNCTIONstart
+
3
;
CDR3end
=
JUNCTIONend
-
3
;
...
...
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