Skip to content
Snippets Groups Projects
Commit be82aa8f authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-660: when looking for EMBL, make sure it is not ChEMBL

ChEMBL xrefs are now being imported
parent 81d933c1
No related branches found
No related tags found
No related merge requests found
......@@ -501,7 +501,7 @@ sub create_xrefs {
push @{$xref->{DEPENDENT_XREFS}}, \%dep; # array of hashrefs
$seen{$dep{SOURCE_NAME}.":".$dep{ACCESSION}} =1;
}
if($dep =~ /EMBL/){
if($dep =~ /EMBL/ && !($dep =~ /ChEMBL/)){
my ($protein_id) = $extra[0];
if(($protein_id ne "-") and (!defined($seen{$source.":".$protein_id}))){
my %dep2;
......
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