diff --git a/misc-scripts/xref_projection/project_display_xrefs.pl b/misc-scripts/xref_projection/project_display_xrefs.pl index 1334c9611fd34308db44ee49fc751bdf6018c4a6..f630b8293f92242f55db1a510125a5ed90499e73 100644 --- a/misc-scripts/xref_projection/project_display_xrefs.pl +++ b/misc-scripts/xref_projection/project_display_xrefs.pl @@ -292,11 +292,8 @@ sub project_go_terms { # also exclude ISS terms (manually projected based on orthologs) next if (ref($dbEntry) ne "Bio::EnsEMBL::GoXref"); - # TODO - this will skip whole xref if any evidence type is IEA - # even if there are more than one evidence type for this GO term - # Should be changed to just skip IEA one, not others + # Skip the whole dbEntry if one or more if its evidence codes isn't in the whitelist foreach my $et (@{$dbEntry->get_all_linkage_types}){ - print "$et " . "\n"; next DBENTRY if (!grep(/$et/, @evidence_codes)); }