Skip to content
Snippets Groups Projects
Commit 17432a9a authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-2355: order by highest score for reproducible results

parent cf419499
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ sub run_script {
my ($score, $tl_score);
# Comparing the scores based on coding exon overlap
# If there is a stale mate, chose best exon overlap score
foreach my $tid (keys(%transcript_result)) {
foreach my $tid (sort { $transcript_result{$b} <=> $transcript_result{$a} } keys(%transcript_result)) {
$score = $transcript_result{$tid};
$tl_score = $tl_transcript_result{$tid};
if ($score > $transcript_score_threshold || $tl_score > $tl_transcript_score_threshold) {
......
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