public class Screening extends Object
Constructor and Description |
---|
Screening(boolean useStrKeys)
Fingerprints screening is on always
|
Screening(org.openscience.cdk.interfaces.IChemObjectBuilder builder)
Screening by fingerprints and structural keys
|
Screening(List<String> externalSmartsKeys)
structural keys by external file
|
Modifier and Type | Method and Description |
---|---|
boolean |
bitSetCheck(BitSet query,
BitSet target)
Every bit set on in the query shouldbe present inthe target but the
target can have more bits set on compared to the query
|
boolean |
bitSetCheck(BitSet query,
BitSet target,
int nBits) |
boolean |
checkTarget(ScreeningData targetSD)
PreScreening - run this after the query is set
|
String |
getBitSetString(BitSet bs) |
ScreeningData |
getScreeningDataForTarget(org.openscience.cdk.interfaces.IAtomContainer ac)
The
ScreeningData for the target structure |
BitSet |
getStructureKeyBits(org.openscience.cdk.interfaces.IAtomContainer ac) |
String |
queryKeysToString() |
void |
setQuery(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
obtained by
SmartsParser - might not work by other
QueryAtomContainer |
BitSet |
stringToBitSet(String s) |
String |
strKeysToString(BitSet bs) |
public Screening(org.openscience.cdk.interfaces.IChemObjectBuilder builder) throws Exception
Exception
public Screening(boolean useStrKeys) throws Exception
useStrKeys
- whether to screen by structural keysException
public Screening(List<String> externalSmartsKeys) throws EmptyMoleculeException
externalSmartsKeys
- EmptyMoleculeException
public void setQuery(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) throws Exception
SmartsParser
- might not work by other
QueryAtomContainerquery
- search for this queryException
public boolean checkTarget(ScreeningData targetSD)
targetSD
- public boolean bitSetCheck(BitSet query, BitSet target)
query
- target
- public ScreeningData getScreeningDataForTarget(org.openscience.cdk.interfaces.IAtomContainer ac) throws Exception
ScreeningData
for the target structureac
- Exception
public BitSet getStructureKeyBits(org.openscience.cdk.interfaces.IAtomContainer ac)
public String queryKeysToString()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.