Skip to content

Commit

Permalink
fix is matching assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Jul 23, 2024
1 parent caf5ea2 commit c5fdd6b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/isoform_assignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,11 @@ def is_matching_assignment(isoform_assignment):
MatchEventSubtype.terminal_site_match_left,
MatchEventSubtype.terminal_site_match_right,
MatchEventSubtype.terminal_site_match_left_precise,
MatchEventSubtype.terminal_site_match_right_precise}
MatchEventSubtype.terminal_site_match_right_precise,
MatchEventSubtype.correct_polya_site_right,
MatchEventSubtype.correct_polya_site_left,
MatchEventSubtype.exon_elongation_left,
MatchEventSubtype.exon_elongation_right}

return all(m.event_type in allowed_set for m in isoform_assignment.isoform_matches[0].match_subclassifications)
return False

0 comments on commit c5fdd6b

Please sign in to comment.