We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f892561 commit 152d32dCopy full SHA for 152d32d
1 file changed
malariagen_data/veff.py
@@ -539,7 +539,11 @@ def _get_within_intron_effect(base_effect, intron):
539
effect = base_effect._replace(effect="INTRONIC", impact="MODIFIER")
540
541
else:
542
- # TODO intronic INDELs and MNPs
543
- effect = base_effect._replace(effect="TODO intronic indels and MNPs")
+ if intron_min_dist <= 2:
+ effect = base_effect._replace(effect="SPLICE_CORE", impact="HIGH")
544
+ elif intron_min_dist <= 7:
545
+ effect = base_effect._replace(effect="SPLICE_REGION", impact="MODERATE")
546
+ else:
547
+ effect = base_effect._replace(effect="INTRONIC", impact="MODIFIER")
548
549
return effect
0 commit comments