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
131eca8d
Commit
131eca8d
authored
18 years ago
by
Daniel Rios
Browse files
Options
Downloads
Patches
Plain Diff
Added calculation on the flyu of new consequence type: SARA (Same As Reference Allele)
parent
1d0ccb0c
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
+8
-3
8 additions, 3 deletions
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
with
8 additions
and
3 deletions
modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm
+
8
−
3
View file @
131eca8d
...
...
@@ -98,10 +98,15 @@ sub get_all_ConsequenceType {
}
my
$consequence_type
=
Bio::EnsEMBL::Variation::
ConsequenceType
->
new
(
$transcript
->
dbID
(),'',
$allele
->
start
,
$allele
->
end
,
$transcript
->
strand
,
[
$string
]);
if
(
$allele
->
start
==
16165
){
print
"
hello
";
#calculate the consequence type of the Allele if different from the reference Allele
if
(
$allele
->
ref_allele_string
eq
$string
){
#same allele as reference, there is no consequence, called SARA
$consequence_type
->
type
('
SARA
');
push
@out
,
$consequence_type
;
next
;
}
#calculate the consequence type of the Allele
my
$ref_consequences
=
type_variation
(
$transcript
,"",
$consequence_type
);
if
(
$allele
->
start
!=
$allele
->
end
){
#do not calculate for indels effects of 2 or more in same codon
...
...
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