pwtools.parse.PDBFile.dump

PDBFile.dump(dump_filename, mkdir=True)

Write object to binary file using pickle. Read back with read_pickle().