public class Hydrogenize extends Object implements StereoConstants
ANTI, ATOMSTEREO_EITHER, ATOMSTEREO_MASK, ATOMSTEREO_NONE, ATOMSTEREO_SPECIFIC, CHIRALITY_M, CHIRALITY_MASK, CHIRALITY_P, CHIRALITY_r, CHIRALITY_R, CHIRALITY_s, CHIRALITY_S, CHIRALITYSUPPORT_ALL, CHIRALITYSUPPORT_NONE, CHIRALITYSUPPORT_SELECTED, CIS, CTUMASK, CTUNKNOWN, CTUNSPEC, DBS_ALL, DBS_MARKED, DBS_NONE, ENDO, EXO, PARITY_ALLENE, PARITY_EITHER, PARITY_EVEN, PARITY_MASK, PARITY_ODD, PARITY_TETRAHEDRAL, PARITY_UNSPEC, STGRP_ABS, STGRP_AND, STGRP_NONE, STGRP_OR, SYN, TRANS| Constructor and Description |
|---|
Hydrogenize() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addHAtoms(MoleculeGraph m)
Deprecated.
since Marvin 5.11 use
convertImplicitHToExplicit(MoleculeGraph) instead
|
static boolean |
addHAtoms(MoleculeGraph m,
MolAtom[] atoms)
Deprecated.
since Marvin 5.11 use
convertImplicitHToExplicit(MoleculeGraph, MolAtom[]) instead
|
static boolean |
addHAtoms(MoleculeGraph m,
MolAtom[] atoms,
int flags)
Deprecated.
since Marvin 5.11 use
convertImplicitHToExplicit(MoleculeGraph, MolAtom[], int) instead
|
static boolean |
addLonePairs(MoleculeGraph m,
MolAtom[] atoms)
Deprecated.
since Marvin 5.11 use
convertImplicitLonePairsToExplicit(MoleculeGraph, MolAtom[]) isntead
|
static boolean |
convertExplicitHToImplicit(MoleculeGraph m)
Convert explicit Hydrogen atoms of the molecule to implicit.
|
static boolean |
convertExplicitHToImplicit(MoleculeGraph m,
int flags)
Convert explicit Hydrogen atoms of the molecule to implicit.
|
static boolean |
convertExplicitHToImplicit(MoleculeGraph m,
MolAtom[] atoms,
int flags)
Convert explicit Hydrogen atoms attached to the specified atoms of the
molecule to implicit.
|
static boolean |
convertExplicitHToImplicit(MoleculeGraph m,
MolAtom[] atoms,
int flags,
boolean check)
Convert explicit Hydrogen atoms attached to the specified atoms of a
molecule to implicit.
|
static boolean |
convertExplicitLonePairsToImplicit(MoleculeGraph m)
Converts explicit lone pairs from a molecule to implicit.
|
static boolean |
convertImplicitHToExplicit(MoleculeGraph m)
Convert implicit Hydrogen atoms of the molecule to explicit.
|
static boolean |
convertImplicitHToExplicit(MoleculeGraph m,
MolAtom[] atoms)
Convert implicit Hydrogen atoms of the specified atoms in a molecule
to explicit.
|
static boolean |
convertImplicitHToExplicit(MoleculeGraph m,
MolAtom[] atoms,
int flags)
Convert implicit Hydrogen atoms of the specified atoms in a molecule to explicit.
|
static boolean |
convertImplicitLonePairsToExplicit(MoleculeGraph m,
MolAtom[] atoms)
Convert implicit lone pairs of the atoms of a molecule to explicit.
|
static boolean[] |
getImplicitizableHList(Molecule m,
int flags)
Gets which atom is an implicitizable hydrogen.
|
static boolean |
isBridgeHeadAtom(MoleculeGraph mol,
int atom)
Deprecated.
as of Marvin 5.11.1, replaced by
TopologyUtil.isBridgeHeadAtom(MoleculeGraph, int) |
static boolean |
removeHAtoms(MoleculeGraph m)
Deprecated.
since Marvin 5.11 use
convertExplicitHToImplicit(MoleculeGraph) instead
|
static boolean |
removeHAtoms(MoleculeGraph m,
int flags)
Deprecated.
since Marvin 5.11 use
convertExplicitHToImplicit(MoleculeGraph, int) instead
|
static boolean |
removeHAtoms(MoleculeGraph m,
MolAtom[] atoms,
int flags)
Deprecated.
since Marvin 5.11 use
convertExplicitHToImplicit(MoleculeGraph, MolAtom[], int) instead
|
static boolean |
removeHAtoms(MoleculeGraph m,
MolAtom[] atoms,
int flags,
boolean check)
Deprecated.
since Marvin 5.11 use convertExplicitHToImplicit(MoleculeGraph, MolAtom[],
int, boolean) instead
|
static boolean |
removeLonePairs(MoleculeGraph m)
Deprecated.
since Marvin 5.11 use
convertExplicitLonePairsToImplicit(MoleculeGraph) instead
|
@Deprecated public static boolean addHAtoms(MoleculeGraph m, MolAtom[] atoms)
m - the molecule to add Hydrogen atoms to.atoms - the atoms to add Hydrogen atoms to, null for allpublic static boolean convertImplicitHToExplicit(MoleculeGraph m, MolAtom[] atoms)
m - the molecule to add Hydrogen atoms to.atoms - the atoms to add Hydrogen atoms to, null for all@Deprecated public static boolean addHAtoms(MoleculeGraph m)
m - the molecule to add Hydrogen atoms to.public static boolean convertImplicitHToExplicit(MoleculeGraph m)
m - the molecule to add Hydrogen atoms to.@Deprecated public static boolean addHAtoms(MoleculeGraph m, MolAtom[] atoms, int flags)
m - the molecule to add Hydrogen atoms to.atoms - the atoms to add Hydrogen atoms to, null for allflags - set this flag to MoleculeGraph.OMIT_POSTCLEAN to include partial clean after Hydrogen atom addition.public static boolean convertImplicitHToExplicit(MoleculeGraph m, MolAtom[] atoms, int flags)
m - the molecule to add Hydrogen atoms to.atoms - the atoms to add Hydrogen atoms to, null for allflags - set this flag to MoleculeGraph.OMIT_POSTCLEAN to include partial clean after Hydrogen atom addition.@Deprecated public static boolean removeHAtoms(MoleculeGraph m, int flags)
m - the molecule to remove Hydrogen atoms from.flags - to use special removal conditions setconvertExplicitHToImplicit(MoleculeGraph, MolAtom[], int, boolean)public static boolean convertExplicitHToImplicit(MoleculeGraph m, int flags)
m - the molecule to remove Hydrogen atoms from.flags - to use special removal conditions setconvertExplicitHToImplicit(MoleculeGraph, MolAtom[], int, boolean)@Deprecated public static boolean removeHAtoms(MoleculeGraph m)
m - the molecule to remove Hydrogen atoms from.MolAtom.isImplicitizableH(int)public static boolean convertExplicitHToImplicit(MoleculeGraph m)
m - the molecule to remove Hydrogen atoms from.MolAtom.isImplicitizableH(int)@Deprecated public static boolean removeHAtoms(MoleculeGraph m, MolAtom[] atoms, int flags)
m - the molecule to remove Hydrogen atoms from.atoms - the subset of atoms to include or null for allflags - to use special removal conditionsremoveHAtoms(MoleculeGraph, MolAtom[], int, boolean)public static boolean convertExplicitHToImplicit(MoleculeGraph m, MolAtom[] atoms, int flags)
m - the molecule to remove Hydrogen atoms from.atoms - the subset of atoms to include or null for allflags - to use special removal conditionsremoveHAtoms(MoleculeGraph, MolAtom[], int, boolean)public static boolean convertExplicitHToImplicit(MoleculeGraph m, MolAtom[] atoms, int flags, boolean check)
m - the molecule to remove Hydrogen atoms from.atoms - the subset of atoms to include or null for allflags - to use special removal conditions set this flag to:
check - checks if the given atoms belong to the given molecule.MolAtom.ALL_H,
MolAtom.LONELY_H,
MolAtom.ISOTOPE_H,
MolAtom.CHARGED_H,
MolAtom.RADICAL_H,
MolAtom.MAPPED_H,
MolAtom.WEDGED_H,
MolAtom.HCONNECTED_H,
MolAtom.HBONDED_H,
MolAtom.CTSPECIFIC_H,
MolAtom.POLYMERENDGROUP_H,
MolAtom.SGROUPEND_H,
MolAtom.VALENCEERROR_H,
MolAtom.SGROUP_H,
MolAtom.BRIDGEHEAD_H@Deprecated public static boolean removeHAtoms(MoleculeGraph m, MolAtom[] atoms, int flags, boolean check)
m - the molecule to remove Hydrogen atoms from.atoms - the subset of atoms to include or null for allflags - to use special removal conditions set this flag to:
check - checks if the given atoms belong to the given molecule.MolAtom.ALL_H,
MolAtom.LONELY_H,
MolAtom.ISOTOPE_H,
MolAtom.CHARGED_H,
MolAtom.RADICAL_H,
MolAtom.MAPPED_H,
MolAtom.WEDGED_H,
MolAtom.HCONNECTED_H,
MolAtom.CTSPECIFIC_H,
MolAtom.POLYMERENDGROUP_H,
MolAtom.SGROUPEND_H,
MolAtom.VALENCEERROR_H,
MolAtom.SGROUP_H,
MolAtom.BRIDGEHEAD_Hpublic static boolean convertImplicitLonePairsToExplicit(MoleculeGraph m, MolAtom[] atoms)
m - the molecule to add lone pairs to.atoms - the atoms to include for lone pair addition, null for all@Deprecated public static boolean addLonePairs(MoleculeGraph m, MolAtom[] atoms)
m - the molecule to add lone pairs to.atoms - the atoms to include for lone pair addition, null for allpublic static boolean convertExplicitLonePairsToImplicit(MoleculeGraph m)
m - the molecule to remove lone pairs from.@Deprecated public static boolean removeLonePairs(MoleculeGraph m)
m - the molecule to remove lone pairs from.@Deprecated public static boolean isBridgeHeadAtom(MoleculeGraph mol, int atom)
TopologyUtil.isBridgeHeadAtom(MoleculeGraph, int)mol - moleculeatom - atom to checkpublic static boolean[] getImplicitizableHList(Molecule m, int flags)
m - flags -