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/Parse Information about Secondary Structure Elements #40

Open
rasbt opened this issue Jun 15, 2017 · 0 comments
Open

Add/Parse Information about Secondary Structure Elements #40

rasbt opened this issue Jun 15, 2017 · 0 comments

Comments

@rasbt
Copy link
Member

rasbt commented Jun 15, 2017

Add a new dataframe object as PandasPdb.df['SSE'], which contains secondary structure element information. This pandas DataFrame would have the same number of rows as the coordinate section DataFrame ('ATOM') and columns "helix" and "sheet" with type "bool."

For ease of use, the SSE dataframe could share the dataframe indices with the PandasPdb.df['ATOM'] section. It may only get tricky if one ('ATOM' or 'SSE') gets updated & reindex and not the other.

Thus, alternatively, SSE information could be added directly to the 'ATOM' DataFrame, for instance as bool columns 'helix' and 'sheet'.

In any case, I would suggest to make this feature optional; for instance, by calling a function "parse_sse" that uses the information provided in the .pdb_text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant