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
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) voidsetFlexibleRingSize(int s) voidvoidsetMinimumCommonSize(int mcs) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMode(AlignmentAccuracyMode mode) voidvoidvoidvoidvoidsetQueryRigidForced(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 bondsdoubledoubleCalculates 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:
addNodeColorWeightin interfacePairwiseComparison
-
removeAllMolecules
public void removeAllMolecules()- Specified by:
removeAllMoleculesin interfacePairwiseComparison
-
setQuery
- Specified by:
setQueryin interfacePairwiseComparison- Throws:
AlignmentException
-
setQuery
- Specified by:
setQueryin interfacePairwiseComparison- Throws:
AlignmentException
-
setMode
-
similarity
Description copied from interface:PairwiseComparisonCalculates the 3D similarity between the previously set query and the target.- Specified by:
similarityin interfacePairwiseComparison- Parameters:
m- target to calculate similarity- Returns:
- the similarity value.
- Throws:
AlignmentException
-
similarity
- Specified by:
similarityin interfacePairwiseComparison- Throws:
AlignmentException
-
setCount
public void setCount(int count) - Specified by:
setCountin interfacePairwiseComparison
-
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.
-
getShapeTanimoto
- Specified by:
getShapeTanimotoin interfacePairwiseComparison- Throws:
AlignmentException
-
setProgressBar
- Specified by:
setProgressBarin interfacePairwiseComparison
-
setProgressMonitor
-
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.
-
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:
setLicenseEnvironmentin interfacePairwiseComparison
-