epitopepredict icon indicating copy to clipboard operation
epitopepredict copied to clipboard

KeyError: 'X' for NLF encoder

Open berkedilekoglu opened this issue 3 years ago • 1 comments

I'm using Blosum62 and NLF encoders. However for an amino acid sequence 'GILKDYPHSAFTLEKKVIKTEPEDSRXXXXX' NLF encoder gives a key error.

KeyError: 'X'

I know the meaning of the error: the letter 'X' is not encoded in NLF matrix.

I wonder that should I use only Blosum62 ? Or should I use another letter instead of 'X' ? Or there might be any update for CSV file?

berkedilekoglu avatar Sep 24 '22 21:09 berkedilekoglu

Sorry for delay in reply. You could try using N.

dmnfarrell avatar Nov 07 '22 23:11 dmnfarrell