Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'X' for NLF encoder #10

Open
berkedilekoglu opened this issue Sep 24, 2022 · 1 comment
Open

KeyError: 'X' for NLF encoder #10

berkedilekoglu opened this issue Sep 24, 2022 · 1 comment

Comments

@berkedilekoglu
Copy link

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?

@dmnfarrell
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants