-
Hey I just went through your superimposition code. A quick query regarding that.. how do I read a local pdb file and still get all the functions to perform (instead of retrieving from rcsb and then reading them)? |
Beta Was this translation helpful? Give feedback.
Answered by
padix-key
Feb 12, 2021
Replies: 1 comment
-
Instead of pdb_file = pdb.PDBFile.read("path/to/your/file")
structure = pdb.get_structure(pdb_file, model=1) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
padix-key
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of
pdbx.get_structure(pdbx.PDBxFile.read(rcsb.fetch("1JEY", "cif")))
you can use thestructure.io.pdb.PDBFile
class, e.g.: