Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
a2c01565
Commit
a2c01565
authored
14 years ago
by
William McLaren
Browse files
Options
Downloads
Patches
Plain Diff
Fix for splice sites being called at transcript ends
parent
af19e37c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
+14
-2
14 additions, 2 deletions
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
with
14 additions
and
2 deletions
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
+
14
−
2
View file @
a2c01565
...
...
@@ -459,14 +459,26 @@ sub type_variation {
if
(
$splice_site_2
or
$splice_site_3
)
{
my
(
$se_s
,
$se_e
,
$ee_s
,
$ee_e
)
=
(
$tr
->
start_Exon
->
start
,
$tr
->
start_Exon
->
end
,
$tr
->
end_Exon
->
start
,
$tr
->
end_Exon
->
end
);
(
$se_s
,
$se_e
,
$ee_s
,
$ee_e
)
=
(
$se_e
,
$se_s
,
$ee_e
,
$ee_s
)
if
$tr
->
strand
<
0
;
# check coord relative to first exon
# near beginning of first exon is obv not a splice site
if
(
$var
->
start
<
$tr
->
start_Exon
->
end
)
{
if
(
$tr
->
start_Exon
->
end
-
$var
->
start
<=
3
)
{
if
(
$var
->
start
<=
$se_e
)
{
if
(
abs
(
$se_e
-
$var
->
start
)
<=
3
)
{
$var
->
type
('
SPLICE_SITE
');
}
}
# also check relative to last exon
# near end of last exon is also not a splice site
elsif
(
$var
->
start
>=
$ee_s
)
{
if
(
abs
(
$ee_s
-
$var
->
start
)
<=
3
)
{
$var
->
type
('
SPLICE_SITE
');
}
}
# if not near either end of transcript, then it is definitely a splice site
else
{
$var
->
type
('
SPLICE_SITE
');
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment