public class SmartsHelper extends Object
Constructor and Description |
---|
SmartsHelper(org.openscience.cdk.interfaces.IChemObjectBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static String |
atomPropertiesToString(org.openscience.cdk.interfaces.IAtom atom) |
static String |
atomToString(org.openscience.cdk.interfaces.IAtom a) |
static String |
bondAtomNumbersToString(org.openscience.cdk.interfaces.IAtomContainer container,
org.openscience.cdk.interfaces.IBond b) |
static int |
bondOrderToIntValue(org.openscience.cdk.interfaces.IBond b) |
static String |
bondToString(org.openscience.cdk.interfaces.IBond b) |
static String |
bondToStringExhaustive(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query,
org.openscience.cdk.interfaces.IBond bond) |
static void |
convertToCarbonSkelleton(org.openscience.cdk.interfaces.IAtomContainer mol) |
static String |
getAtomExpressionTokens(SmartsAtomExpression expression) |
static String |
getAtomsAttributes(org.openscience.cdk.interfaces.IAtomContainer container) |
static String |
getAtomsExpressionTokens(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) |
static String |
getAtomsString(org.openscience.cdk.interfaces.IAtomContainer container) |
static String |
getAtomsString(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) |
static String |
getBondAttributes(org.openscience.cdk.interfaces.IAtomContainer container) |
static String |
getBondsString(org.openscience.cdk.interfaces.IAtomContainer query) |
static String |
getBondsString(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) |
static String[] |
getCarbonSkelletonsFromString(String smiles) |
static org.openscience.cdk.interfaces.IAtomContainer |
getMoleculeFromSmiles(String smi) |
static org.openscience.cdk.interfaces.IAtomContainer |
getMoleculeFromSmiles(String smi,
boolean FlagExplicitHatoms) |
static org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
getQueryAtomContainer(org.openscience.cdk.interfaces.IAtomContainer ac,
boolean HandleAromaticity) |
static List<Integer> |
getSmartsPositions(String smartsQuery,
org.openscience.cdk.interfaces.IAtomContainer target,
boolean FlagSupportDoubleBondAromaticityNotSpecified) |
static String |
implicitHAtomsVector(org.openscience.cdk.interfaces.IAtomContainer mol) |
static boolean |
isQueryDoubleBond(org.openscience.cdk.interfaces.IBond bond) |
static boolean |
isSingleBondOrExpression(org.openscience.cdk.interfaces.IBond b) |
static String |
moleculeToSMILES(org.openscience.cdk.interfaces.IAtomContainer mol,
boolean useAromaticityFlag) |
static void |
preProcessStructure(org.openscience.cdk.interfaces.IAtomContainer mol) |
static void |
preProcessStructure(org.openscience.cdk.interfaces.IAtomContainer mol,
boolean HandleAromaticity,
boolean AddImplicitHAtoms) |
static void |
preProcessStructure(org.openscience.cdk.interfaces.IAtomContainer mol,
boolean HandleAromaticity,
boolean AddImplicitHAtoms,
boolean ImplicitHToExplicit) |
static void |
printIntArray(int[] c) |
static void |
setAromaticAtomsFromBondFlagInfo(org.openscience.cdk.interfaces.IAtomContainer mol) |
static String |
smilesBondToString(org.openscience.cdk.interfaces.IBond b,
boolean aromaticity) |
static String |
stereoCenterToString(org.openscience.cdk.interfaces.IAtomContainer container,
org.openscience.cdk.interfaces.ITetrahedralChirality chiral) |
static String |
stereoInfoToString(org.openscience.cdk.interfaces.IAtomContainer container) |
String |
toSmarts(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) |
static String |
toString(int[] c) |
public SmartsHelper(org.openscience.cdk.interfaces.IChemObjectBuilder builder)
public static String getAtomsString(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
public static String getAtomExpressionTokens(SmartsAtomExpression expression)
public static String getAtomsExpressionTokens(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
public static String getAtomsString(org.openscience.cdk.interfaces.IAtomContainer container)
public static String getAtomsAttributes(org.openscience.cdk.interfaces.IAtomContainer container)
public static String stereoInfoToString(org.openscience.cdk.interfaces.IAtomContainer container)
public static String stereoCenterToString(org.openscience.cdk.interfaces.IAtomContainer container, org.openscience.cdk.interfaces.ITetrahedralChirality chiral)
public static String getBondAttributes(org.openscience.cdk.interfaces.IAtomContainer container)
public static String getBondsString(org.openscience.cdk.interfaces.IAtomContainer query)
public static String bondToStringExhaustive(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query, org.openscience.cdk.interfaces.IBond bond)
public static String getBondsString(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
public static org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer getQueryAtomContainer(org.openscience.cdk.interfaces.IAtomContainer ac, boolean HandleAromaticity)
public static int bondOrderToIntValue(org.openscience.cdk.interfaces.IBond b)
public static String atomToString(org.openscience.cdk.interfaces.IAtom a)
public static String bondToString(org.openscience.cdk.interfaces.IBond b)
public static boolean isQueryDoubleBond(org.openscience.cdk.interfaces.IBond bond)
public static boolean isSingleBondOrExpression(org.openscience.cdk.interfaces.IBond b)
public static String smilesBondToString(org.openscience.cdk.interfaces.IBond b, boolean aromaticity)
public static String bondAtomNumbersToString(org.openscience.cdk.interfaces.IAtomContainer container, org.openscience.cdk.interfaces.IBond b)
public String toSmarts(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
query
- public static String moleculeToSMILES(org.openscience.cdk.interfaces.IAtomContainer mol, boolean useAromaticityFlag) throws Exception
Exception
public static void convertToCarbonSkelleton(org.openscience.cdk.interfaces.IAtomContainer mol)
public static org.openscience.cdk.interfaces.IAtomContainer getMoleculeFromSmiles(String smi) throws Exception
Exception
public static org.openscience.cdk.interfaces.IAtomContainer getMoleculeFromSmiles(String smi, boolean FlagExplicitHatoms) throws Exception
Exception
public static String[] getCarbonSkelletonsFromString(String smiles) throws Exception
Exception
public static void printIntArray(int[] c)
public static String toString(int[] c)
public static String atomPropertiesToString(org.openscience.cdk.interfaces.IAtom atom)
public static List<Integer> getSmartsPositions(String smartsQuery, org.openscience.cdk.interfaces.IAtomContainer target, boolean FlagSupportDoubleBondAromaticityNotSpecified) throws Exception
Exception
public static void setAromaticAtomsFromBondFlagInfo(org.openscience.cdk.interfaces.IAtomContainer mol)
public static void preProcessStructure(org.openscience.cdk.interfaces.IAtomContainer mol) throws Exception
Exception
public static void preProcessStructure(org.openscience.cdk.interfaces.IAtomContainer mol, boolean HandleAromaticity, boolean AddImplicitHAtoms) throws Exception
Exception
public static void preProcessStructure(org.openscience.cdk.interfaces.IAtomContainer mol, boolean HandleAromaticity, boolean AddImplicitHAtoms, boolean ImplicitHToExplicit) throws Exception
Exception
public static String implicitHAtomsVector(org.openscience.cdk.interfaces.IAtomContainer mol)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.