From 27d1006af74f17721c74db17bdb12068aaeac0a7 Mon Sep 17 00:00:00 2001 From: Glenn Proctor <gp1@sanger.ac.uk> Date: Fri, 24 Nov 2006 08:43:47 +0000 Subject: [PATCH] Rmeoved debug. --- misc-scripts/xref_projection/project_display_xrefs.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/misc-scripts/xref_projection/project_display_xrefs.pl b/misc-scripts/xref_projection/project_display_xrefs.pl index 1334c9611f..f630b8293f 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)); } -- GitLab