Class PharmacophoreQueryAtom
java.lang.Object
org.openscience.cdk.ChemObject
org.openscience.cdk.Element
org.openscience.cdk.Isotope
org.openscience.cdk.AtomType
org.openscience.cdk.Atom
org.openscience.cdk.pharmacophore.PharmacophoreQueryAtom
- All Implemented Interfaces:
Serializable, Cloneable, IAtom, IAtomType, ICDKObject, IChemObject, IElement, IIsotope, IQueryAtom
Represents a query pharmacophore group.
This class is meant to be used to construct pharmacophore queries in conjunction
with
PharmacophoreQueryBond and an
QueryAtomContainer.- Author:
- Rajarshi Guha
- See Also:
- Keywords:
- pharmacophore, 3D isomorphism
-
Nested Class Summary
Nested classes/interfaces inherited from interface IAtomType
IAtomType.Hybridization -
Field Summary
Fields inherited from class Atom
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParityFields inherited from class AtomType
electronValency, formalCharge, formalNeighbourCount, hybridizationFields inherited from class Isotope
exactMass, naturalAbundanceFields inherited from class Element
atomicNumberFields inherited from interface IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, MARKUSH, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITEDFields inherited from interface IElement
Ac, Ag, Al, Am, Ar, As, At, Au, B, Ba, Be, Bh, Bi, Bk, Br, C, Ca, Cd, Ce, Cf, Cl, Cm, Cn, Co, Cr, Cs, Cu, Db, Ds, Dy, Er, Es, Eu, F, Fe, Fl, Fm, Fr, Ga, Gd, Ge, H, He, Hf, Hg, Ho, Hs, I, In, Ir, K, Kr, La, Li, Lr, Lu, Lv, Mc, Md, Mg, Mn, Mo, Mt, N, Na, Nb, Nd, Ne, Nh, Ni, No, Np, O, Og, Os, P, Pa, Pb, Pd, Pm, Po, Pr, Pt, Pu, Ra, Rb, Re, Rf, Rg, Rh, Rn, Ru, S, Sb, Sc, Se, Sg, Si, Sm, Sn, Sr, Ta, Tb, Tc, Te, Th, Ti, Tl, Tm, Ts, U, V, W, Wildcard, Xe, Y, Yb, Zn, Zr -
Constructor Summary
ConstructorsConstructorDescriptionPharmacophoreQueryAtom(String symbol, String smarts) Creat a new query pharmacophore group -
Method Summary
Modifier and TypeMethodDescriptionGet the SMARTS pattern for this pharmacophore group.Returns the element symbol of this element.booleanChecks whether this query atom matches a target atom.voidSets the element symbol of this element.toString()String representation of this pharmacophore group.Methods inherited from class Atom
bonds, clone, compare, equals, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, hashCode, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setMapIdx, setPoint2d, setPoint3d, setStereoParityMethods inherited from class AtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from class Isotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundanceMethods inherited from class Element
getAtomicNumber, setAtomicNumberMethods inherited from class ChemObject
addListener, addProperties, clear, flags, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyMethods inherited from interface IAtom
bonds, clone, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, getTotalHydrogenCount, isAromatic, isInRing, neighbors, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setMapIdx, setPoint2d, setPoint3d, setStereoParityMethods inherited from interface IAtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from interface ICDKObject
getBuilderMethods inherited from interface IChemObject
addListener, addProperties, clear, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setPropertyMethods inherited from interface IElement
getAtomicNumber, setAtomicNumberMethods inherited from interface IIsotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
-
Constructor Details
-
PharmacophoreQueryAtom
-
-
Method Details
-
getSymbol
-
setSymbol
-
getSmarts
Get the SMARTS pattern for this pharmacophore group.- Returns:
- The SMARTS pattern
-
matches
Checks whether this query atom matches a target atom. Currently a query pharmacophore atom will match a target pharmacophore group if the symbols of the two groups match. This is based on the assumption that pharmacophore groups with the same symbol will have the same SMARTS pattern.- Specified by:
matchesin interfaceIQueryAtom- Parameters:
atom- A target pharmacophore group- Returns:
- true if the current query group has the same symbol as the target group
-
toString
String representation of this pharmacophore group.- Specified by:
toStringin interfaceIChemObject- Overrides:
toStringin classAtom- Returns:
- String representation of this pharmacophore group
-