public class SmartsToChemObject
extends net.idea.modbcum.p.DefaultAmbitProcessor<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
Modifier and Type | Field and Description |
---|---|
protected org.openscience.cdk.interfaces.IChemObjectBuilder |
builder |
boolean |
forceAromaticBondsAlways |
boolean |
forceAromaticBondsForNonRingAtoms |
static String |
markProperty |
Constructor and Description |
---|
SmartsToChemObject(org.openscience.cdk.interfaces.IChemObjectBuilder builder) |
Modifier and Type | Method and Description |
---|---|
void |
analyzeSubExpressionsFromLowAnd(SmartsAtomExpression atExp,
SmartsAtomExpression sub) |
void |
analyzeSubExpressionsFromLowAnd(SmartsBondExpression boExp,
SmartsBondExpression sub) |
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
convertKekuleSmartsToAromatic(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) |
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
convertKekuleSmartsToAromatic(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query,
org.openscience.cdk.interfaces.IRingSet ringSet) |
org.openscience.cdk.interfaces.IAtomContainer |
extractAtomContainer(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
Version of the function when the Ring data is not supplied outside
|
org.openscience.cdk.interfaces.IAtomContainer |
extractAtomContainer(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query,
org.openscience.cdk.interfaces.IRingSet ringSet)
Maximal possible atom container from this query is generated.
|
org.openscience.cdk.interfaces.IAtomContainer |
extractAtomContainerFullyConnected(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) |
org.openscience.cdk.interfaces.IAtomContainer |
extractAtomContainerFullyConnected(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query,
org.openscience.cdk.interfaces.IRingSet ringSet)
Maximal possible atom container from this query is generated BUT this
container is always fully connected as the original query.
|
org.openscience.cdk.interfaces.IChemObjectBuilder |
getBuilder() |
int |
getExpressionAtomType(SmartsAtomExpression atExp,
SmartsAtomExpression sub) |
int |
getExpressionBondType(SmartsBondExpression boExp,
SmartsBondExpression sub) |
int |
getRecursiveExpressionAtomType(SmartsAtomExpression atExp,
int n) |
static List<SmartsAtomExpression> |
getSubExpressions(SmartsAtomExpression a,
int separator) |
List<SmartsBondExpression> |
getSubExpressions(SmartsBondExpression b,
int separator) |
org.openscience.cdk.interfaces.IAtomContainer |
process(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer target) |
void |
setBuilder(org.openscience.cdk.interfaces.IChemObjectBuilder builder) |
org.openscience.cdk.interfaces.IAtom |
smartsExpressionToAtom(SmartsAtomExpression a)
This function tries to convert the SmartsAtomExpression to a IAtom with
defined atom type.
|
org.openscience.cdk.interfaces.IBond |
smartsExpressionToBond(SmartsBondExpression b) |
org.openscience.cdk.interfaces.IAtom |
toAtom(org.openscience.cdk.interfaces.IAtom a)
This function tries to convert this object to a classic CDK Atom If it is
impossible to determine the atom type null is returned
|
org.openscience.cdk.interfaces.IBond |
toBond(org.openscience.cdk.interfaces.IBond b) |
public static final String markProperty
public boolean forceAromaticBondsAlways
public boolean forceAromaticBondsForNonRingAtoms
protected org.openscience.cdk.interfaces.IChemObjectBuilder builder
public SmartsToChemObject(org.openscience.cdk.interfaces.IChemObjectBuilder builder)
public org.openscience.cdk.interfaces.IChemObjectBuilder getBuilder()
public void setBuilder(org.openscience.cdk.interfaces.IChemObjectBuilder builder)
public org.openscience.cdk.interfaces.IAtomContainer extractAtomContainer(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query, org.openscience.cdk.interfaces.IRingSet ringSet)
query
- public org.openscience.cdk.interfaces.IAtomContainer extractAtomContainerFullyConnected(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query, org.openscience.cdk.interfaces.IRingSet ringSet)
public org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer convertKekuleSmartsToAromatic(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query, org.openscience.cdk.interfaces.IRingSet ringSet) throws Exception
Exception
public org.openscience.cdk.interfaces.IAtomContainer process(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public org.openscience.cdk.interfaces.IAtomContainer extractAtomContainer(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
public org.openscience.cdk.interfaces.IAtomContainer extractAtomContainerFullyConnected(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
public org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer convertKekuleSmartsToAromatic(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) throws Exception
Exception
public org.openscience.cdk.interfaces.IAtom toAtom(org.openscience.cdk.interfaces.IAtom a)
a
- public org.openscience.cdk.interfaces.IAtom smartsExpressionToAtom(SmartsAtomExpression a)
public static List<SmartsAtomExpression> getSubExpressions(SmartsAtomExpression a, int separator)
public void analyzeSubExpressionsFromLowAnd(SmartsAtomExpression atExp, SmartsAtomExpression sub)
public int getExpressionAtomType(SmartsAtomExpression atExp, SmartsAtomExpression sub)
public int getRecursiveExpressionAtomType(SmartsAtomExpression atExp, int n)
public org.openscience.cdk.interfaces.IBond toBond(org.openscience.cdk.interfaces.IBond b)
public org.openscience.cdk.interfaces.IBond smartsExpressionToBond(SmartsBondExpression b)
public List<SmartsBondExpression> getSubExpressions(SmartsBondExpression b, int separator)
public void analyzeSubExpressionsFromLowAnd(SmartsBondExpression boExp, SmartsBondExpression sub)
public int getExpressionBondType(SmartsBondExpression boExp, SmartsBondExpression sub)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.