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
c25dcd6d
Commit
c25dcd6d
authored
9 years ago
by
ChuangKee Ong
Browse files
Options
Downloads
Patches
Plain Diff
To use dbprimary_acc instead of display_id;Fix GO source duplication
parent
89f30aff
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!104
To use dbprimary_acc instead of display_id;Fix GO source duplication
,
!104
To use dbprimary_acc instead of display_id;Fix GO source duplication
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/Utils/SeqDumper.pm
+5
-3
5 additions, 3 deletions
modules/Bio/EnsEMBL/Utils/SeqDumper.pm
with
5 additions
and
3 deletions
modules/Bio/EnsEMBL/Utils/SeqDumper.pm
+
5
−
3
View file @
c25dcd6d
...
...
@@ -77,7 +77,7 @@ my $DUMP_HANDLERS =
my
@COMMENTS
=
('
This sequence was annotated by the Ensembl system. Please visit
'
.
'
the Ensembl web site, http://www.ensembl.org/ for more information.
',
'
the Ensembl web site, http://www.ensembl.org/
or http://www.ensemblgenomes.org/
for more information.
',
'
All feature locations are relative to the first (5
\'
) base
'
.
'
of the sequence in this file. The sequence presented is
'
.
...
...
@@ -94,7 +94,6 @@ my @COMMENTS =
'
All the exons and transcripts in Ensembl are confirmed by
'
.
'
similarity to either protein or cDNA sequences.
');
=head2 new
Arg [1] : none
...
...
@@ -810,7 +809,9 @@ sub _dump_feature_table {
$self
->
write
(
@ff
,''
,'
/note="transcript_id=
'
.
$transcript
->
stable_id
()
.
'
"
');
foreach
my
$dbl
(
@
{
$transcript
->
get_all_DBLinks
})
{
$value
=
'
/db_xref="
'
.
$dbl
->
dbname
()
.
'
:
'
.
$dbl
->
display_id
()
.
'
"
';
my
$db_xref
=
'
/db_xref="
'
.
$dbl
->
dbname
()
.
'
:
'
.
$dbl
->
primary_id
()
.
'
"
';
my
$go_db_xref
=
'
/db_xref="
'
.
$dbl
->
primary_id
()
.
'
"
';
$value
=
(
$dbl
->
dbname
()
=~
/GO/
)
?
$go_db_xref
:
$db_xref
;
$self
->
write
(
@ff
,
'',
$value
);
}
...
...
@@ -1238,4 +1239,5 @@ sub print {
}
}
1
;
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