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
258045e9
Commit
258045e9
authored
16 years ago
by
Ian Longden
Browse files
Options
Downloads
Patches
Plain Diff
added MGI_curated_gene and MGI_curated_transcript to list for display_xref etc
parent
a36850f4
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/xref_mapping/XrefMapper/mus_musculus.pm
+37
-0
37 additions, 0 deletions
misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm
with
37 additions
and
0 deletions
misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm
+
37
−
0
View file @
258045e9
...
...
@@ -19,11 +19,48 @@ sub consortium {
}
sub
get_canonical_name
{
return
"
MGI
";
}
sub
species_specific_pre_attributes_set
{
my
$self
=
shift
;
$self
->
official_naming
();
}
sub
species_specific_cleanup
{
my
$self
=
shift
;
my
$dbname
=
$self
->
get_canonical_name
;
print
"
Removing all
$dbname
from object_xref not on a Gene
\n
";
my
$remove_old_ones
=
(
<<
JSQL
);
delete
ox
from
object_xref
ox
,
xref
x
,
external_db
e
where
e
.
db_name
like
"
$dbname
"
and
ox
.
ensembl_object_type
!=
"
Gene
"
and
ox
.
xref_id
=
x
.
xref_id
and
x
.
external_db_id
=
e
.
external_db_id
;
JSQL
#
# First Delete all the hgnc object_xrefs not on a gene. (i.e these are copys).
#
my
$sth
=
$self
->
core
->
dbc
->
prepare
(
$remove_old_ones
);
$sth
->
execute
()
||
die
"
Could not execute:
\n
$remove_old_ones
\n
";
$sth
->
finish
;
}
sub
gene_description_sources
{
return
("
miRBase
",
"
RFAM
",
"
IMGT/GENE_DB
",
"
MGI_curated_gene
",
"
MGI_curated_transcript
",
"
MGI
",
"
Uniprot/SWISSPROT
",
"
Uniprot/Varsplic
",
...
...
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