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
1e68f230
Commit
1e68f230
authored
18 years ago
by
Yuan Chen
Browse files
Options
Downloads
Patches
Plain Diff
bug fix about splice_site type
parent
f71f5647
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
+7
-3
7 additions, 3 deletions
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
with
7 additions
and
3 deletions
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
+
7
−
3
View file @
1e68f230
...
...
@@ -311,7 +311,7 @@ sub type_variation {
}
# variation must be intronic since mapped to cdna gap, but is within
# transcript
# transcript
, note that ESSENTIAL_SPLICE_SITE only consider first (AG) and last (GT) 2 bases inside the intron.
$var
->
type
('
INTRONIC
');
...
...
@@ -324,7 +324,9 @@ sub type_variation {
return
[
$var
];
}
if
(
$splice_site_3
)
{
#now variation must be in exons, the first 3 bs into exon could be splice_site
if
(
$splice_site_2
or
$splice_site_3
)
{
$var
->
type
('
SPLICE_SITE
');
}
...
...
@@ -464,8 +466,10 @@ sub apply_aa_change {
}
}
#note if type is already defined as SOTP_GAINED OR STOP_LOST, then even @aa_alleles > 1, we are not given type
# of 'NON_SYNONYMOUS_CODING'
if
(
@aa_alleles
>
1
)
{
if
(
!
defined
$var
->
type
){
if
(
!
defined
$var
->
type
or
$var
->
type
eq
"
SPLICE_SITE
"
){
$var
->
type
('
NON_SYNONYMOUS_CODING
');
}
}
...
...
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