Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,695
Issues
1,695
List
Boards
Labels
Service Desk
Milestones
Merge Requests
88
Merge Requests
88
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
27e24fef
Commit
27e24fef
authored
Mar 11, 2016
by
Mathieu Giraud
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/segment.cpp: junctions should have at least 6nt, and CDR3 1nt more
Problem detected by
@mikael-s
.
parent
b07d23b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
algo/core/segment.cpp
algo/core/segment.cpp
+16
-0
No files found.
algo/core/segment.cpp
View file @
27e24fef
...
...
@@ -1050,6 +1050,19 @@ void FineSegmenter::findCDR3(){
// - 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
;
// We require at least two codons
if
(
JUNCTIONend
-
JUNCTIONstart
+
1
<
6
)
{
JUNCTIONstart
=
-
1
;
JUNCTIONend
=
-
1
;
return
;
}
// We require at least one more nucleotide to export a CDR3
if
(
JUNCTIONend
-
JUNCTIONstart
+
1
<
7
)
{
JUNCTIONproductive
=
false
;
return
;
}
// IMGT-CDR3 is, on each side, 3 nucleotides shorter than IMGT-JUNCTION
CDR3start
=
JUNCTIONstart
+
3
;
...
...
@@ -1101,6 +1114,9 @@ json FineSegmenter::toJson(){
{
"stop"
,
CDR3end
},
{
"aa"
,
CDR3aa
}
};
}
if
(
JUNCTIONstart
>=
0
)
{
seg
[
"junction"
]
=
{
{
"start"
,
JUNCTIONstart
},
{
"stop"
,
JUNCTIONend
},
...
...
Mathieu Giraud
@magiraud
mentioned in merge request
!860 (merged)
·
Dec 04, 2020
mentioned in merge request
!860 (merged)
mentioned in merge request !860
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