Spruce TK 1.3.0¶
A molecule-based API for
OEMakeDesignUnitFromPockethas been added.
New high-level superposition APIs were added that unify the sequence-based (
OEStructuralSuperposition) and shape-based (
OESecondaryStructureSuperposition) APIs. This includes a new
OESuperposeclass that can calculate different types of structural superposition, a new
OESuperposeOptionsclass that allows the users to control various behaviors of the superposition calculation, such as the superposition method, and a new
OESuperposeResultsclass that holds the transformation and scores of the superposition. More detailed changes are as follows:
OESuperposeclass can take either
OEDesignUnitas the reference for the fit molecule. The reference molecule can be set by using the
OESuperpose.SetupRefmethod, and the superposition can be calculated via
OESuperpose.Superposewith the fit molecule supplied as one of its arguments.
OESuperposeMethodnamespace was added that contains the constants for different superposition methods. Functions
OEGetSuperposeMethodFromNamewere added to obtain the superposition method’s name (as a string literal) from its designated constant and vice versa.
OESuperposeOptions.SetValidTanimotohave been added. These methods can be used to set score thresholds for validating superposition results in the new
OESuperposeOptionsclass. The validity of the superposition result can be obtained by
OESuperposeResults.IsValidfrom the new
OESuperposeAPI returns an
OESuperposeResultsobject that can be used to transform the fit molecule to its superposed position with its
OESuperposeResults.Transformmethod. Alternatively, the users can use
OESuperposeResults.GetTranslationto obtain the rotation matrix and translation vector, respectively, for their analyses. The RMSD and sequence alignment score after the superposition can be obtained using
OESuperposeResults.GetSeqScoremethods for sequence-based superpositions, and the Tanimoto score can be obtained using
Please refer to the documentation for more information on these new superposition APIs.
Minor bug fixes¶
A bug that caused the loop modeling algorithm to crash in rare instances has been fixed.
Examples have been modified to use appropriate command-line arguments.
An issue that caused style on
OEProtonateDesignUnithas been fixed.
An issue with the return value of superposition when two structures cannot be superposed has been fixed. It now properly returns a -1.00 RMSD.
An issue in
OEMakeDesignUnitFromPocketthat caused style to remain on both the previous binding site and the one defined from the pocket has been fixed.
A bug in superposition that resulted in a crash when using site residues that were not present on a design unit has been fixed.
A bug that kept the insert code from its anchor residue when there was an N-terminal cap has been fixed.