I'm using Biopython to load structures into my code. I then change them into poses, via PyRosetta, because I want to align my theo structure to the PDB website structures. This is my code:
pdbl = PDBList()
native_pdb = pdbl.retrieve_pdb_file('%s' %protein, pdir='/my/directory/path/test_natives', file_format='pdb')
native_pose = pose_from_pdb(native_pdb)
but the retrieve_pdb_file
creates .ent
files and not pdb files. how do I fix this?
OR how do I load the known PDB structures in order to align them to theo structures and find the rmsd?