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

Support auth_seq_id #9

Closed
benmwebb opened this issue Apr 5, 2018 · 1 comment
Closed

Support auth_seq_id #9

benmwebb opened this issue Apr 5, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@benmwebb
Copy link
Contributor

benmwebb commented Apr 5, 2018

Currently we assume that the author-provided seq_id is the same as the internal 1-based consecutive numbering and provide no mechanism to change it. This is true for all currently-deposited IMP models but is not true for Nup133 or some HADDOCK models. Provide a mechanism to allow the user to number residues. The simplest way to do this would be for AsymUnit to take an auth_seq_id parameter which could be either an int (add it to each seq_id to get auth_seq_id) or a mapping (list or dict; auth_seq_id = mapping[seq_id]).

@benmwebb benmwebb added the enhancement New feature or request label Apr 5, 2018
@benmwebb benmwebb self-assigned this Apr 5, 2018
@benmwebb
Copy link
Contributor Author

benmwebb commented Apr 5, 2018

Note that this may be the most appropriate place to add insertion codes too - the provided mapping could return a tuple of (auth_seq_id, insertion_code).

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

No branches or pull requests

1 participant