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

Custom CDR and FR definitions? #21

Open
jon-cheng opened this issue May 17, 2024 · 0 comments
Open

Custom CDR and FR definitions? #21

jon-cheng opened this issue May 17, 2024 · 0 comments

Comments

@jon-cheng
Copy link

jon-cheng commented May 17, 2024

Hi,

Would it be possible to enable customization of CDR and framework boundary definitions as an input?

I believe it would involve just enabling the user to input a custom coordinate definition into SCHEME_BORDERS in https://github.com/prihoda/AbNumber/blob/master/abnumber/common.py

SCHEME_BORDERS = {
               # Start coordinates
               # CDR1, FR2, CDR2, FR3, CDR3, FR4
         'imgt': [27,  39,  56,   66,  105,  118, 129],
      'kabat_H': [31,  36,  50,   66,  95,   103, 114],
      'kabat_K': [24,  35,  50,   57,  89,    98, 108],
      'kabat_L': [24,  35,  50,   57,  89,    98, 108],
    'chothia_H': [26,  33,  52,   57,  95,   103, 114],
    'chothia_K': [24,  35,  50,   57,  89,    98, 108],
    'chothia_L': [24,  35,  50,   57,  89,    98, 108],
      'north_H': [23,  36,  50,   59,  93,   103, 114],
      'north_K': [24,  35,  49,   57,  89,    98, 108],
      'north_L': [24,  35,  49,   57,  89,    98, 108],
      'custom_def':[cdr1,fr2,cdr2,fr3,cdr3,fr4] # enter custom coordinates
}

Thanks for the very helpful package!

Jonathan

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