innate2adaptive / Decombinator

Decombinator v4: fast, error-correcting analysis of TCR repertoires
https://innate2adaptive.github.io/Decombinator/
MIT License
22 stars 8 forks source link

fix for incorrect number of deletions when no insertions #13

Closed tp-peacock closed 4 years ago

tp-peacock commented 5 years ago

Addresses edge case for CDR3s with no insertions.

Originally V and J deletions were determined independently, but for cases where there is no insertion, there can be problems where V and J appear to overlap.

Issue is fixed by reading in the end of V position when determining J deletions, and adding to the deletion count correspondingly.