distToNearest amino acid model – "IUPAC base expected" error
Issue #159
resolved
Hello,
Using distToNearest function (with immcantation/suite devel docker image) model=”aa” I have an error: task failed - "IUPAC base expected". Small data subsample (AA sequences correspond to IUPAC alphabet), code and error are attached.
Best regards,
Dasha
Comments (3)
-
-
- changed status to resolved
This issue seems resolved and is not active. Reopen if needed.
-
reporter Dear Jason Vander Heiden,
thanks for the clarification.
Best regards,
Dasha
- Log in to comment
Greetings @Dasha Balashova ,
Sorry for the slow reply and thank you for the reproducible example.
distToNearest
expects nucleotide sequence input even for the animo acid model. It does the translation automatically before calculating the distances. If you use thecdr3
column instead of thecdr3_aa
column, then it should work. Meaning:That error is specifically coming from: