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

fix amino3to1 to handle multiple chain_ids #22

Merged
merged 1 commit into from
Apr 12, 2017
Merged

fix amino3to1 to handle multiple chain_ids #22

merged 1 commit into from
Apr 12, 2017

Conversation

rasbt
Copy link
Member

@rasbt rasbt commented Apr 12, 2017

The amino3to1 now correctly handles multi-chain PDBs and residue-number duplicates. The return value has been changes from a pandas.Series to a pandas.DataFrame as shown below:

from biopandas.pdb import PandasPdb
ppdb = PandasPdb().fetch_pdb('5mtn')
sequence = ppdb.amino3to1()
sequence.tail()

screen shot 2017-04-12 at 2 22 26 pm

fixes #21

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 94.017% when pulling 43727ba on amino3to1 into da7668d on master.

@rasbt rasbt merged commit 193f998 into master Apr 12, 2017
@rasbt rasbt deleted the amino3to1 branch September 27, 2017 03:43
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

Successfully merging this pull request may close these issues.

amino3to1 in protein-protein complexes
2 participants