Package chemaxon.marvin.alignment
Class PairwiseAlignment
java.lang.Object
chemaxon.marvin.alignment.PairwiseAlignment
- All Implemented Interfaces:
PairwiseComparison
Align pairs of molecules (query and the target) using the shape
Alignment
-
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
setFlexibleRingSize
(int s) void
void
setMinimumCommonSize
(int mcs) Deprecated, for removal: This API element is subject to removal in a future version.void
setMode
(AlignmentAccuracyMode mode) void
void
void
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
double
Calculates the 3D similarity between the previously set query and the target.
-
Constructor Details
-
PairwiseAlignment
-
PairwiseAlignment
public PairwiseAlignment()
-
-
Method Details
-
addNodeColorWeight
public void addNodeColorWeight(int t1, int t2, double w) - Specified by:
addNodeColorWeight
in interfacePairwiseComparison
-
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
-
setMode
-
similarity
Description copied from interface:PairwiseComparison
Calculates the 3D similarity between the previously set query and the target.- Specified by:
similarity
in interfacePairwiseComparison
- Parameters:
m
- target to calculate similarity- Returns:
- the similarity value.
- Throws:
AlignmentException
-
similarity
- Specified by:
similarity
in interfacePairwiseComparison
- Throws:
AlignmentException
-
setCount
public void setCount(int count) - Specified by:
setCount
in interfacePairwiseComparison
-
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.
-
getShapeTanimoto
- Specified by:
getShapeTanimoto
in interfacePairwiseComparison
- Throws:
AlignmentException
-
setProgressBar
- Specified by:
setProgressBar
in interfacePairwiseComparison
-
setProgressMonitor
-
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.
-
setMinimumCommonSize
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public void setMinimumCommonSize(int mcs) Deprecated, for removal: This API element is subject to removal in a future version. -
setFlexibleRingSize
public void setFlexibleRingSize(int s) -
setLicenseEnvironment
- Specified by:
setLicenseEnvironment
in interfacePairwiseComparison
-