Package chemaxon.marvin.alignment
Class PairwiseSimilarity3D
java.lang.Object
chemaxon.marvin.alignment.PairwiseSimilarity3D
- All Implemented Interfaces:
PairwiseComparison
Align pairs of molecules (query and the target) using the atom/atom matcher
Similarity3D
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNodeColorWeight
(int t1, int t2, double w) After the similarity calculation the final orientations and conformations can be retrieved as a single molecule.double
void
void
setCount
(int count) void
void
void
setQuery
(AlignmentMolecule query) void
void
setQueryRigidForced
(boolean forced) Set this molecule to be rigid in the input conformation even if it contains rotatable bondsvoid
setTargetRigidForced
(boolean targetRigid) Set this molecule to be rigid in the input conformation even if it contains rotatable bondsdouble
similarity
(AlignmentMolecule target) double
similarity
(Molecule target) Calculates the 3D similarity between the previously set query and the target.
-
Constructor Details
-
PairwiseSimilarity3D
public PairwiseSimilarity3D(boolean fastmode) -
PairwiseSimilarity3D
public PairwiseSimilarity3D()
-
-
Method Details
-
removeAllMolecules
public void removeAllMolecules()- Specified by:
removeAllMolecules
in interfacePairwiseComparison
-
setQuery
- Specified by:
setQuery
in interfacePairwiseComparison
- Throws:
AlignmentException
-
setQuery
- Specified by:
setQuery
in interfacePairwiseComparison
- Throws:
AlignmentException
-
setProgressBar
- Specified by:
setProgressBar
in interfacePairwiseComparison
-
similarity
Description copied from interface:PairwiseComparison
Calculates the 3D similarity between the previously set query and the target.- Specified by:
similarity
in interfacePairwiseComparison
- Parameters:
target
- target to calculate similarity- Returns:
- the similarity value.
- Throws:
AlignmentException
-
similarity
- Specified by:
similarity
in interfacePairwiseComparison
- Throws:
AlignmentException
-
getAlignedMoleculesAsFragments
Description copied from interface:PairwiseComparison
After the similarity calculation the final orientations and conformations can be retrieved as a single molecule.- Specified by:
getAlignedMoleculesAsFragments
in interfacePairwiseComparison
- Returns:
- the aligned molecules.
-
getAlignedTarget
- Specified by:
getAlignedTarget
in interfacePairwiseComparison
- Returns:
- the target molecule in the final orientation and conformation.
-
getAlignedQuery
- Specified by:
getAlignedQuery
in interfacePairwiseComparison
-
setQueryRigidForced
public void setQueryRigidForced(boolean forced) Description copied from interface:PairwiseComparison
Set this molecule to be rigid in the input conformation even if it contains rotatable bonds- Specified by:
setQueryRigidForced
in interfacePairwiseComparison
- Parameters:
forced
- if true than rigid.
-
setTargetRigidForced
public void setTargetRigidForced(boolean targetRigid) Description copied from interface:PairwiseComparison
Set this molecule to be rigid in the input conformation even if it contains rotatable bonds- Specified by:
setTargetRigidForced
in interfacePairwiseComparison
- Parameters:
targetRigid
- if true than rigid.
-
addNodeColorWeight
public void addNodeColorWeight(int t1, int t2, double w) - Specified by:
addNodeColorWeight
in interfacePairwiseComparison
-
getShapeTanimoto
- Specified by:
getShapeTanimoto
in interfacePairwiseComparison
- Throws:
AlignmentException
-
setLicenseEnvironment
- Specified by:
setLicenseEnvironment
in interfacePairwiseComparison
-
setCount
public void setCount(int count) - Specified by:
setCount
in interfacePairwiseComparison
-