Spruce TK 1.3.0¶
A molecule-based API for
OEMakeDesignUnitFromPockethas been added.
More detailed changes are as follows:
OESuperposeclass can take either
OEDesignUnitas the reference for the fit molecule(s). 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, 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 in
OEMakeDesignUnitFromPocketthat caused style to remain on both the previous binding site and the one defined from the pocket has 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.
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.