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

Add parsing for mutant alleles #19

Open
iskandr opened this issue Jul 25, 2017 · 0 comments
Open

Add parsing for mutant alleles #19

iskandr opened this issue Jul 25, 2017 · 0 comments

Comments

@iskandr
Copy link
Collaborator

iskandr commented Jul 25, 2017

IEDB is full of experiments with alleles such as HLA-DRA*01:01/DRB1*01:01 C30S mutant, one way to support this is to add a mutations field to AlleleName which is a list like ["C30S"], sorted in order of the protein positions. The mutations can also be represented with more structure via a class like:

class Mutation(object):
    def __init__(self, aa_ref, aa_mut, aa_pos):
        self.aa_ref = aa_ref
        self.aa_pos = aa_pos
        self.aa_mut = aa_mut
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

1 participant