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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNodeColorWeight(int t1, int t2, double w) After the similarity calculation the final orientations and conformations can be retrieved as a single molecule.doublevoidvoidsetCount(int count) voidvoidvoidsetQuery(AlignmentMolecule query) voidvoidsetQueryRigidForced(boolean forced) Set this molecule to be rigid in the input conformation even if it contains rotatable bondsvoidsetTargetRigidForced(boolean targetRigid) Set this molecule to be rigid in the input conformation even if it contains rotatable bondsdoublesimilarity(AlignmentMolecule target) doublesimilarity(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:
removeAllMoleculesin interfacePairwiseComparison
-
setQuery
- Specified by:
setQueryin interfacePairwiseComparison- Throws:
AlignmentException
-
setQuery
- Specified by:
setQueryin interfacePairwiseComparison- Throws:
AlignmentException
-
setProgressBar
- Specified by:
setProgressBarin interfacePairwiseComparison
-
similarity
Description copied from interface:PairwiseComparisonCalculates the 3D similarity between the previously set query and the target.- Specified by:
similarityin interfacePairwiseComparison- Parameters:
target- target to calculate similarity- Returns:
- the similarity value.
- Throws:
AlignmentException
-
similarity
- Specified by:
similarityin interfacePairwiseComparison- Throws:
AlignmentException
-
getAlignedMoleculesAsFragments
Description copied from interface:PairwiseComparisonAfter the similarity calculation the final orientations and conformations can be retrieved as a single molecule.- Specified by:
getAlignedMoleculesAsFragmentsin interfacePairwiseComparison- Returns:
- the aligned molecules.
-
getAlignedTarget
- Specified by:
getAlignedTargetin interfacePairwiseComparison- Returns:
- the target molecule in the final orientation and conformation.
-
getAlignedQuery
- Specified by:
getAlignedQueryin interfacePairwiseComparison
-
setQueryRigidForced
public void setQueryRigidForced(boolean forced) Description copied from interface:PairwiseComparisonSet this molecule to be rigid in the input conformation even if it contains rotatable bonds- Specified by:
setQueryRigidForcedin interfacePairwiseComparison- Parameters:
forced- if true than rigid.
-
setTargetRigidForced
public void setTargetRigidForced(boolean targetRigid) Description copied from interface:PairwiseComparisonSet this molecule to be rigid in the input conformation even if it contains rotatable bonds- Specified by:
setTargetRigidForcedin interfacePairwiseComparison- Parameters:
targetRigid- if true than rigid.
-
addNodeColorWeight
public void addNodeColorWeight(int t1, int t2, double w) - Specified by:
addNodeColorWeightin interfacePairwiseComparison
-
getShapeTanimoto
- Specified by:
getShapeTanimotoin interfacePairwiseComparison- Throws:
AlignmentException
-
setLicenseEnvironment
- Specified by:
setLicenseEnvironmentin interfacePairwiseComparison
-
setCount
public void setCount(int count) - Specified by:
setCountin interfacePairwiseComparison
-