oxpig / ANARCI

Antibody Numbering and Antigen Receptor ClassIfication
BSD 3-Clause "New" or "Revised" License
161 stars 84 forks source link

fixed case where match on not independent state was not incrementing … #71

Open dudzicp opened 8 months ago

dudzicp commented 8 months ago

…insertions

dudzicp commented 8 months ago

to test this, consider sequence: QVQLQESGPGLVKPSTLSLTCTVCGVSINSGDYWGSRIRQHPGKGEWIAYMDSGNTYYKESLQSVTMSIDCKNQFCLKLSVNAADTAVYYCARAFRPYNSRPFDYRGQGTLVTVSS numbered to kabat scheme

dudzicp commented 8 months ago

this case was handled properly:

 X X X X I X X
 m m m d m ..
 1 2 3 - 4 ..

this was not:

 X X X I  I X X
 m m m d  m ..
 1 2 3 - 3A ..

With existing logic both cases would be numbered as in first case