qp.structure.convert_nhie_oxo.write_pdb

qp.structure.convert_nhie_oxo.write_pdb(atoms, pdb_path)[source]

Write a list of atom dictionaries to a PDB file.

Atoms with record == 'DELETE' are skipped.

Parameters:
  • atoms (list of dict) – Atom records as returned by read_pdb().

  • pdb_path (str) – Path to the output PDB file.