This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # !pip install molviewspec ipymolstar requests | |
| import requests | |
| from molviewspec import create_builder | |
| from ipymolstar.molviewspec import MolViewSpec | |
| builder = create_builder() | |
| ( | |
| builder.download(url=f"https://files.rcsb.org/download/2src.pdb") | |
| .parse(format="pdb") | |
| .model_structure() |