Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
aa6d0d24
Commit
aa6d0d24
authored
Nov 04, 2009
by
Ian Longden
Browse files
Do not get HGNC from Uniprot anymore as this makes it circular
parent
0323765d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
misc-scripts/xref_mapping/XrefParser/UniProtParser.pm
misc-scripts/xref_mapping/XrefParser/UniProtParser.pm
+7
-4
No files found.
misc-scripts/xref_mapping/XrefParser/UniProtParser.pm
View file @
aa6d0d24
...
@@ -168,10 +168,10 @@ sub create_xrefs {
...
@@ -168,10 +168,10 @@ sub create_xrefs {
my
%dependent_sources
=
$self
->
get_dependent_xref_sources
();
# name-id hash
my
%dependent_sources
=
$self
->
get_dependent_xref_sources
();
# name-id hash
# get from HGNC file
if
(
defined
(
$dependent_sources
{'
HGNC
'})){
#
if(defined($dependent_sources{'HGNC'})){
$dependent_sources
{'
HGNC
'}
=
XrefParser::
BaseParser
->
get_source_id_for_source_name
("
HGNC
","
uniprot
");
#
$dependent_sources{'HGNC'} = XrefParser::BaseParser->get_source_id_for_source_name("HGNC","uniprot");
}
#
}
if
(
defined
(
$dependent_sources
{'
MGI
'})){
if
(
defined
(
$dependent_sources
{'
MGI
'})){
$dependent_sources
{'
MGI
'}
=
XrefParser::
BaseParser
->
get_source_id_for_source_name
("
MGI
","
uniprot
");
$dependent_sources
{'
MGI
'}
=
XrefParser::
BaseParser
->
get_source_id_for_source_name
("
MGI
","
uniprot
");
...
@@ -488,6 +488,9 @@ sub create_xrefs {
...
@@ -488,6 +488,9 @@ sub create_xrefs {
if
(
$source
=~
"
UCSC
"){
if
(
$source
=~
"
UCSC
"){
next
;
next
;
}
}
if
(
$source
=~
"
HGNC
"){
next
;
}
if
(
exists
$dependent_sources
{
$source
}
)
{
if
(
exists
$dependent_sources
{
$source
}
)
{
# create dependent xref structure & store it
# create dependent xref structure & store it
my
%dep
;
my
%dep
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment