Commit 1a34e448 authored by Ian Longden's avatar Ian Longden
Browse files

removed . from end of hgnc name

parent 85f21205
...@@ -346,11 +346,12 @@ sub create_xrefs { ...@@ -346,11 +346,12 @@ sub create_xrefs {
$dep{SOURCE_ID} = $dependent_sources{$source}; $dep{SOURCE_ID} = $dependent_sources{$source};
if($source =~ /HGNC/){ if($source =~ /HGNC/){
$acc =~ s/HGNC://; $acc =~ s/HGNC://;
$dep{LABEL} = $extra[0] $extra[0] =~ s/[.]//;
$dep{LABEL} = $extra[0];
} }
if($source =~ /MGI/){ if($source =~ /MGI/){
$extra[0] =~ s/[.]$//; $extra[0] =~ s/[.]$//;
$dep{LABEL} = $extra[0] $dep{LABEL} = $extra[0];
} }
$dep{ACCESSION} = $acc; $dep{ACCESSION} = $acc;
if($dep =~ /MIM/){ if($dep =~ /MIM/){
......
Markdown is supported
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