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

Adding support for non-canonical amino acids #1

Merged
merged 2 commits into from
Mar 28, 2016

Conversation

kylebarlow
Copy link
Collaborator

Before, the script treated unrecognized residues as "" (null strings) in the sequence constructed for alignment. This resulted in numbering mismatches for mutations after the non-canonical residue, and the wrong residue being centered and highlighted for display.

Now, the script treats all non-canonical sequences as "X" when aligning. Mismatches between non-canonicals are given a generic, BLOSUM-style score of -4 (e.g. "A"->"X"), and matches a score of 5.

And added final dictionary comma
Before, the script treated unrecognized residues as "" (null strings) in the sequence contstructed for alignment.
This resulted in numbering mismatches for mutations after the non-canonical residue, and the wrong residue being
centered and highlighted for disply.

Now, the script treats all non-canonical sequences as "X" when aligning. Mismatches between non-canonicals are given a generic,
BLOSUM-style score of -4 (e.g. "A"->"X"), and matches a score of 5.
@kalekundert kalekundert merged commit dec5313 into kalekundert:master Mar 28, 2016
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

Successfully merging this pull request may close these issues.

2 participants