diff --git a/misc-scripts/xref_mapping/XrefParser/UniProtParser.pm b/misc-scripts/xref_mapping/XrefParser/UniProtParser.pm index 883a428a55a5bb887b324ba2f38dbc2632c9afac..8ae9fd913347d580fc75391e10a6b6aded8b5f4d 100644 --- a/misc-scripts/xref_mapping/XrefParser/UniProtParser.pm +++ b/misc-scripts/xref_mapping/XrefParser/UniProtParser.pm @@ -259,7 +259,9 @@ sub create_xrefs { my ($deps) = $_ =~ /(DR\s+.+)/s; # /s allows . to match newline my @dep_lines = split /\n/, $deps; foreach my $dep (@dep_lines) { - if($dep =~ /GO/){ + #both GO and UniGene have the own sources so ignore those in the uniprot files + #as the uniprot data should be older + if($dep =~ /GO/ || $dep =~ /UniGene/){ next; } if ($dep =~ /^DR\s+(.+)/) {