qp.manager.charge_embedding¶
Generate charge embedding ptchrges.xyz file for TeraChem input.
By default, partial charges are taken from the built-in AMBER ff14SB
dictionary. Users can supply a custom JSON file of charges via the
charge_embedding_charges configuration option to support other
force fields.
Functions
Calculate the geometric centroid of a set of coordinates. |
|
Generate the MM point charge embedding file ( |
|
Load custom partial charges from a JSON file. |
|
Write ff14SB partial charges into the B-factor column of a PDB file. |
|
Convert PDB with charges to TeraChem point charge XYZ format. |
|
Read a PDB file and extract ATOM record lines. |
|
Read an XYZ file and extract atomic coordinates. |
|
Filter PDB lines to remove atoms close to XYZ coordinates. |
|
Remove QM cluster atoms from a PDB file based on coordinate matching. |
|
Rename histidine residues for ff14SB compatibility and convert HETATM to ATOM. |
|
Write PDB lines to a file. |