Skip to content
Snippets Groups Projects
Commit 1e9c412e authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Removed some no-longer-needed checks.

parent 3295a932
No related branches found
No related tags found
No related merge requests found
......@@ -277,12 +277,6 @@ sub project_go_terms {
DBENTRY: foreach my $dbEntry (@{$from_translation->get_all_DBEntries("GO")}) {
next if ($dbEntry->dbname() ne "GO" || !$dbEntry);
# only project GO terms with non-IEA evidence codes
# also exclude ISS terms (manually projected based on orthologs)
next if (ref($dbEntry) ne "Bio::EnsEMBL::GoXref");
# 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}){
next DBENTRY if (!grep(/$et/, @evidence_codes));
......
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