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
aba3513a
Commit
aba3513a
authored
12 years ago
by
Kieron Taylor
Browse files
Options
Downloads
Patches
Plain Diff
Warnings made to go away... one hack to complement another.
parent
c4057733
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
misc-scripts/canonical_transcripts/reason_changes.pl
+3
-3
3 additions, 3 deletions
misc-scripts/canonical_transcripts/reason_changes.pl
with
3 additions
and
3 deletions
misc-scripts/canonical_transcripts/reason_changes.pl
+
3
−
3
View file @
aba3513a
...
...
@@ -49,12 +49,12 @@ sub compare {
my
(
@new_contents
)
=
@
{
$new
}[
1
..
4
];
my
(
$new_id
,
$new_length
)
=
(
$new
->
[
-
1
],
$new
->
[
-
2
]);
my
$old_key
=
join
(
q{'=!='}
,
@old_contents
);
my
$old_key
=
join
(
q{'=!='}
,
@old_contents
)
if
defined
(
$old_contents
[
0
])
;
my
$new_key
=
join
(
q{'=!='}
,
@new_contents
);
my
$reason_key
;
my
$possible_reason
;
if
(
$old_key
eq
$new_key
)
{
if
(
$old_key
&&
$old_key
eq
$new_key
)
{
if
(
$new_length
>
$old_length
)
{
$reason_key
=
'
transcript_length
';
}
...
...
@@ -74,7 +74,7 @@ sub compare {
}
else
{
#If all other keys are equal then we used translation length
if
(
join
(
q{=!=}
,
@
{
$old
}[
1
..
3
])
eq
join
(
q{=!=}
,
@
{
$new
}[
1
..
3
])
)
{
if
(
defined
(
$old
->
[
1
])
&&
join
(
q{=!=}
,
@
{
$old
}[
1
..
3
])
eq
join
(
q{=!=}
,
@
{
$new
}[
1
..
3
])
)
{
$reason_key
=
'
translation_length
';
}
#If we have translatable genes and we prefered Havana merged NMD over E/H PC
...
...
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