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

Document expected standard residues #98

Open
IAlibay opened this issue Nov 12, 2020 · 6 comments
Open

Document expected standard residues #98

IAlibay opened this issue Nov 12, 2020 · 6 comments
Assignees

Comments

@IAlibay
Copy link
Contributor

IAlibay commented Nov 12, 2020

Apologies if I'm missing something obvious here.

My understanding is that propka expects certain standard residues (defined here) as ATOM entries in the input PDB and that other "non-standard" residues (say ASH coming off an AMBER force field residue definition) will be ignored without warning.

Additionally, it seems that "standard" residues for DNA are usually just automatically set to HETATM (or so it seems to appear this way here).

In part I'm opening this issue to check that this interpretation is correct, but it would be really useful downstream (i.e. for tools like propkatraj) to have this documented (I couldn't find this anywhere, maybe I missed something obvious) somewhere so we can enforce what we pass as ATOM and HETATM entries to propka.

@sobolevnrm
Copy link
Collaborator

Hello; you are correct: the list is not documented. This is a good suggestion and we will add it to the "to-do" list. We are also always looking for help with tasks like this if you (or anyone) is interested!

Thank you for the suggestion.

@IAlibay
Copy link
Contributor Author

IAlibay commented Nov 15, 2020

Thanks for confirming this @sobolevnrm

We are also always looking for help with tasks like this if you (or anyone) is interested!

Sure can do 😃 I'll probably open two separate PRs, one to add to the API docs, and one to add an "I/O" section to the main docs.

@sobolevnrm
Copy link
Collaborator

That sounds awesome, @IAlibay. Thank you very much!

@sobolevnrm
Copy link
Collaborator

Per your comment in #104, I'm not sure that we'd document standard residue types in the API docs. Can you clarify this request?

@IAlibay
Copy link
Contributor Author

IAlibay commented Nov 23, 2020

@sobolevnrm apologies for the confusion, my proposal here is to do two things:

  1. Document I/O in detail as a new entry in the main docs.
  2. Add extra docstring details (probably through notes) to protein_precheck / set_properties / anything related (also maybe looking to add type hints, f-strings if/where appropriate).

@sobolevnrm
Copy link
Collaborator

sobolevnrm commented Nov 24, 2020 via email

@sobolevnrm sobolevnrm self-assigned this Nov 28, 2020
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