Skip to content
Snippets Groups Projects
Commit aa6d0d24 authored by Ian Longden's avatar Ian Longden
Browse files

Do not get HGNC from Uniprot anymore as this makes it circular

parent 0323765d
No related branches found
No related tags found
No related merge requests found
......@@ -168,10 +168,10 @@ sub create_xrefs {
my %dependent_sources = $self->get_dependent_xref_sources(); # name-id hash
if(defined($dependent_sources{'HGNC'})){
$dependent_sources{'HGNC'} = XrefParser::BaseParser->get_source_id_for_source_name("HGNC","uniprot");
}
# get from HGNC file
# if(defined($dependent_sources{'HGNC'})){
# $dependent_sources{'HGNC'} = XrefParser::BaseParser->get_source_id_for_source_name("HGNC","uniprot");
# }
if(defined($dependent_sources{'MGI'})){
$dependent_sources{'MGI'} = XrefParser::BaseParser->get_source_id_for_source_name("MGI","uniprot");
......@@ -488,6 +488,9 @@ sub create_xrefs {
if($source =~ "UCSC"){
next;
}
if($source =~ "HGNC"){
next;
}
if (exists $dependent_sources{$source} ) {
# create dependent xref structure & store it
my %dep;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment