From 593f110bb1f6aa069025ed1aaa700df051e2ca66 Mon Sep 17 00:00:00 2001 From: Magali Ruffier <mr6@ebi.ac.uk> Date: Thu, 2 May 2013 09:29:11 +0000 Subject: [PATCH] reverting back to previous code, works fine once you use the correct mapping list --- modules/Bio/EnsEMBL/IdMapping/ExonScoreBuilder.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/IdMapping/ExonScoreBuilder.pm b/modules/Bio/EnsEMBL/IdMapping/ExonScoreBuilder.pm index 5386b1ef6d..e35a31432e 100644 --- a/modules/Bio/EnsEMBL/IdMapping/ExonScoreBuilder.pm +++ b/modules/Bio/EnsEMBL/IdMapping/ExonScoreBuilder.pm @@ -808,7 +808,7 @@ sub non_mapped_transcript_rescore { foreach my $target_tr (@target_transcripts) { my $mapped_target = $transcript_lookup{ $source_tr->id }; - if ( $mapped_target ) { + if ( $mapped_target && $mapped_target == $target_tr->id ) { $found_mapped = 1; last TR; } @@ -829,4 +829,5 @@ sub non_mapped_transcript_rescore { } ## end sub non_mapped_transcript_rescore + 1; -- GitLab