Creating OEDesignUnits Using Provided Metadata
Preparation of a biological structure file (PDB, mmCIF) to a fully charged, hydrogenated, molecular componentized object (design unit, or DU; OEDesignUnit) is one of the more advanced functionalities offered through Spruce TK. Metadata can be provided to Spruce TK to identify the target ligand, the desired ligand tautomeric state, and the DU title. In the case where SEQRES data is not present for the structure, the sequence specified in the metadata can be used to build missing gaps and identify natural termini versus termini that need to be capped.
Metadata can be provided in the form of a JSON. The example below shows a template for it. It was generated by
exporting an OEStructureMetadata class.
{
"StructureID": "",
"Author": "",
"Keywords": [],
"RevisionDate": "",
"Revision": "",
"ExperimentDate": "",
"ExperimentType": "UNKNOWN",
"IridiumData": {
"Category": "NA",
"LaD": 0.0,
"ASaD": 0.0,
"POL": false,
"POAS": false,
"AltConfs": false,
"PackRes": false,
"Excp": false,
"IrrRFree": false,
"PossCov": false,
"DPI": 20.0,
"RFree": 0.0,
"Resolution": 0.0,
"HasMTZ": false
},
"SequenceMetadata": [],
"HeterogenMetadata": []
}
This example shows how to construct DUs with a specific ligand tautomer by providing ligand metadata.
Command Line Interface
This example uses an input PDB/mmCIF file and a metadata JSON file, and will output a set of DUs with the specified ligand tautomers. However, the provided script can be used with a modified metadata file to accomplish the other mentioned examples.
prompt> make_design_unit_using_metadata.py -in <PDB/mmCIF file> -loop_db <loop database> -metadata <metadata JSON>
Code
See also
OEMakeDesignUnitsfunctionOEReadDesignUnitandOEWriteDesignUnitfunctions in the OEChem TK manualOEDesignUnit class in the OEChem TK manual
OEStructureMetadataclass