andersen-lab / ivar

iVar is a computational package that contains functions broadly useful for viral amplicon-based sequencing.
https://andersen-lab.github.io/ivar/html/
GNU General Public License v3.0
118 stars 40 forks source link

Allow different thresholds for insertions and SNVs #114

Open bwlang opened 2 years ago

bwlang commented 2 years ago

In omicron SC2 sequences there is difficult area (3 bp deletion - 8 bp - 9 bp insertion). Typical aligners produce more soft clips than insertions.

image

Since insertions are more difficult to align correctly it would be helpful to have different thresholds for insertions vs. SNVs.

other ideas to improve calling in such regions:

danrlu commented 2 years ago

Is this similar to https://github.com/andersen-lab/ivar/issues/79? May be worth consolidating so the follower of that thread can see this. It would be really helpful to have this feature in. Thank you Brad!

bwlang commented 2 years ago

I think it's only a bit related to #79 , if I understand it correctly that one is referring to a situation that calls an indel using an adjacent SNVs frequency.