gmol.base.data.mmcif.smiles#
Classes
|
|
|
Functions
|
Convert CCD to smiles and atom indexes. |
|
|
|
Return a RDKit molecule from a list of atoms and bonds. |
|
|
|
- class MmcifRefLigand(atoms: list[ChemCompAtom], bonds: list[ChemCompBond])#
- atoms: list[ChemCompAtom]#
- bonds: list[ChemCompBond]#
- mol_from_chem_comp(atoms: list[ChemCompAtom], bonds: list[ChemCompBond]) Mol#
Return a RDKit molecule from a list of atoms and bonds.
- Parameters:
atoms – list of atoms.
bonds – list of bonds.
- Returns:
A molecule with correct atom id (
GetProp("atom_id"), stereochemistry (GetProp("absolute_config")) and aromaticity. All hydrogens are removed.
- reference_from_mmcif(res_cc: list[tuple[ResidueId, ChemComp]], extra_bonds: list[Branch] | None = None) MmcifRefLigand#
- input_from_reference(ref_ligand: MmcifRefLigand) RefLigandInput#