-
Notifications
You must be signed in to change notification settings - Fork 90
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
Chain IDs reduced to first 3 characters #215
Comments
The reason is that the |
pdbx_file = pdbx.PDBxFile.read(rcsb.fetch("6n1d", "pdbx"))
pdbx_structure = pdbx.get_structure(pdbx_file, model=1)
print(np.unique(pdbx_structure.chain_id)) Before:
After fix:
|
The PR is merged now, the issue should be fixed. Thanks for bringing this up. |
Version: 0.22.0
The mmCIF and MMTF parsers only keep the first 3 characters of chain IDs.
This makes handling structures like 6n1d impractical, since information is lost
and duplicate chain IDs are produced.
The text was updated successfully, but these errors were encountered: