Crystal form prediction method, device and electronic equipment

By acquiring and correcting crystal form images, and combining known molecular structures for crystal form prediction, the problem of increased prediction time and difficulty caused by molecular complexity is solved, and efficient crystal form prediction is achieved.

CN113850801BActive Publication Date: 2024-09-13SHENZHEN JINGTAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111211742.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-18
Publication Date
2024-09-13
Estimated Expiration
2041-10-18

AI Technical Summary

Technical Problem

When the molecular complexity of the existing crystal form prediction technology increases, the prediction time and difficulty increase sharply, affecting the efficiency.

Method used

By acquiring the diffraction images of multiple sample particles of the target sample, the initial crystal form is generated, and the erroneous parts are corrected based on the known molecular structure. The corrected crystal form is obtained and then predicted, thereby reducing the difficulty and time of prediction.

Benefits of technology

It effectively reduces the difficulty and time of prediction, improves the efficiency of crystal form prediction, reduces the impact of molecular degrees of freedom on prediction, and improves the accuracy of prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113850801B
    Figure CN113850801B
Patent Text Reader

Abstract

The present application relates to a crystal form prediction method, device and electronic device. The method comprises: obtaining diffraction images corresponding to a plurality of sample particles of a target sample; generating an initial crystal form of the target sample according to parameter information obtained from each diffraction image; correcting the initial crystal form according to the known molecular structure of the target sample to obtain a corrected crystal form; performing crystal form prediction according to the corrected crystal form to obtain a predicted crystal form of the target sample. The solution provided in the present application can reduce the difficulty of crystal form prediction, shorten the prediction time and improve the prediction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of crystal form prediction, and in particular to a crystal form prediction method, device and electronic equipment. Background Art

[0002] The phenomenon that the same substance has two or more spatial arrangements and unit cell parameters, forming multiple crystal forms, is called polymorphism. Through years of research, it has been found that different crystal forms of the same drug may have significant differences in appearance, solubility, melting point, dissolution, bioavailability, etc., thus affecting the stability, bioavailability and efficacy of the drug. Therefore, experimental screening of polymorphic drugs to obtain relatively stable pharmaceutical crystal forms has become an indispensable part of the standard drug development process.

[0003] With the development of technology, in order to reduce artificial experiments, relatively ideal pharmaceutical crystal forms can be discovered through computer assistance. In related technologies, crystal form prediction (Crystal Structure Prediction, CSP) of drug molecules is performed through simulation to find multiple potential stable crystal forms, and then experimental confirmation is performed on a few clear potential crystal forms to obtain the best pharmaceutical crystal form. However, CSP crystal form prediction is affected by the molecular degrees of freedom. As the complexity of the molecule increases, the prediction time and difficulty will increase dramatically, thereby affecting the prediction efficiency. Summary of the invention

[0004] In order to solve or partially solve the problems existing in the related art, the present application provides a crystal form prediction method, device and electronic equipment, which can reduce the difficulty of crystal form prediction, shorten the prediction time and improve the prediction efficiency.

[0005] The first aspect of the present application provides a crystal form prediction method, which comprises:

[0006] Acquire diffraction images corresponding to a plurality of sample particles of a target sample;

[0007] Generating an initial crystal form of the target sample according to the parameter information obtained in each of the diffraction images;

[0008] Modifying the initial crystal form according to the known molecular structure of the target sample to obtain a modified crystal form;

[0009] The crystal form is predicted based on the modified crystal form to obtain the predicted crystal form of the target sample.

[0010] In one embodiment, the step of obtaining diffraction images corresponding to a plurality of sample particles of a target sample includes:

[0011] A plurality of diffraction images of a plurality of sample particles of a target sample within a preset angle range in a shooting environment at a preset temperature are respectively acquired by electron diffraction.

[0012] In one embodiment, generating the initial crystal form of the target sample according to the parameter information obtained in each of the diffraction images comprises:

[0013] Performing index processing on each of the diffraction images respectively to obtain parameter information corresponding to the sample particles; wherein the parameter information includes unit cell parameters and diffraction intensity of diffraction points;

[0014] Merging parameter information of a plurality of sample particles to obtain parameter merge information; wherein the number of diffraction points in the parameter merge information is not less than a preset number threshold;

[0015] The parameter merging information is analyzed to obtain the initial crystal form of the target sample; wherein the molecular structure error rate of the initial crystal form is less than or equal to a preset ratio threshold.

[0016] In one embodiment, the initial crystal form is modified according to the known molecular structure of the target sample to obtain the modified crystal form, comprising:

[0017] According to the known atoms and known groups of the target sample, the erroneous atoms in the initial crystal form that are different from the known atoms are deleted, and the erroneous groups in the initial crystal form that are different from the known groups are deleted to obtain the corresponding corrected crystal form.

[0018] In one embodiment, the method further comprises:

[0019] If the molecular structure error rate of the initial crystal form is greater than the preset ratio threshold, the initial crystal form is discarded, and sample particles are re-obtained for electron diffraction to generate a new initial crystal form.

[0020] In one embodiment, the step of performing crystal form prediction according to the modified crystal form to obtain the predicted crystal form of the target sample comprises:

[0021] Using the atomic coordinates in the modified crystal form as discrete point coordinates to generate a Voronoi diagram;

[0022] Obtaining virtual atom information in the Voronoi diagram;

[0023] According to the known molecular structure of the target sample and the virtual atom information, the missing atoms in the modified crystal form are predicted to obtain a predicted crystal form whose ground state energy conforms to a preset rule.

[0024] In one embodiment, predicting the missing atoms in the modified crystal form to obtain a predicted crystal form whose ground state energy meets a preset rule includes:

[0025] Completing the molecular structure of the modified crystal form according to the predicted missing atoms to obtain at least one preliminary predicted crystal form;

[0026] energy ranking of each of the preliminarily predicted crystal forms according to the value of the ground state energy of the preliminarily predicted crystal forms;

[0027] The initially predicted crystal form with the lowest ground state energy is selected as the predicted crystal form.

[0028] In one embodiment, the method further comprises:

[0029] The predicted crystal form is verified; wherein, when the residual factor between the simulated structure factor and the experimental structure factor of the predicted crystal form is less than or equal to a preset value, it is determined that the predicted crystal form has been verified.

[0030] The second aspect of the present application provides a crystal form prediction device, which includes:

[0031] An image acquisition module, used to acquire diffraction images corresponding to a plurality of sample particles of a target sample;

[0032] A crystal form generation module, used to generate an initial crystal form of the target sample according to the parameter information obtained in each of the diffraction images;

[0033] A crystal form correction module, used to correct the initial crystal form according to the known molecular structure of the target sample to obtain a corrected crystal form;

[0034] A crystal form prediction module is used to predict the crystal form according to the modified crystal form to obtain the predicted crystal form of the target sample.

[0035] A third aspect of the present application provides an electronic device, including:

[0036] Processor; and

[0037] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.

[0038] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.

[0039] The technical solution provided by this application may have the following beneficial effects:

[0040] The technical solution of the present application first obtains the diffraction images of multiple sample particles of the target sample, then obtains the required parameter information through the diffraction images to obtain the initial crystal form, then corrects the initial crystal form to obtain the corrected crystal form, and finally predicts the crystal form on the basis of the corrected crystal form to obtain the predicted crystal form of the target sample. Compared with directly predicting the crystal form based on the known molecular structure of the target sample, such a design can eliminate the interference of some erroneous crystal forms in advance, so as to make a targeted prediction based on the corrected crystal form, reduce the difficulty of prediction, shorten the prediction time, and improve the efficiency of crystal form prediction.

[0041] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The above and other objects, features and advantages of the present application will become more apparent by describing in more detail exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.

[0043] Figure 1 It is a schematic flow chart of the crystal form prediction method shown in the embodiment of the present application;

[0044] Figure 2 is another schematic flow chart of the crystal form prediction method shown in the embodiment of the present application;

[0045] Figure 3 is a schematic diagram of the structure of a crystal form prediction device shown in an embodiment of the present application;

[0046] Figure 4 is another structural schematic diagram of the crystal form prediction device shown in the embodiment of the present application;

[0047] Figure 5 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0049] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0050] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0051] In the related art, when CSP prediction technology is used to predict the crystal form of a molecule, if the complexity of the molecule is high, the prediction time and difficulty will increase dramatically, thereby affecting the prediction efficiency.

[0052] In response to the above problems, the embodiments of the present application provide a crystal form prediction method, which can reduce the prediction difficulty, shorten the prediction time, and improve the prediction efficiency.

[0053] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0054] Figure 1 It is a schematic flow chart of the crystal form prediction method shown in the embodiment of the present application.

[0055] See also Figure 1 , a crystal form prediction method according to an embodiment of the present application comprises:

[0056] Step S110, obtaining diffraction images corresponding to a plurality of sample particles of the target sample.

[0057] The target sample is prepared into a powder form in advance, thereby obtaining a plurality of sample particles. In one embodiment, a diffraction image corresponding to each sample particle can be obtained by electron diffraction. In one embodiment, a corresponding diffraction image obtained by photographing a single sample particle at different angles can be obtained, thereby obtaining diffraction images of the sample particle at multiple angles, so that parameter information at different angles can be extracted in subsequent steps.

[0058] Step S120, generating an initial crystal form of the target sample according to parameter information obtained from the diffraction image of each sample particle.

[0059] The parameter information includes unit cell parameters and diffraction intensity of diffraction points. According to the diffraction pattern in the diffraction image, the corresponding unit cell parameters can be obtained by calibrating the diffraction pattern. For example, the unit cell parameters can include the angle between two intersecting crystal planes and the interplanar spacing between two adjacent crystal planes. In addition, the diffraction intensity of each diffraction point in the diffraction pattern is measured according to relevant technologies.

[0060] Furthermore, by respectively acquiring the acquired parameter information in each diffraction image and summarizing and merging them, a sufficient amount of parameter information can be obtained, and then the initial crystal form can be obtained by analyzing the parameter information according to the relevant technology. It can be understood that if the constituent elements or groups of the crystalline material are different or their structures are different, their diffraction images will show differences in the number of diffraction peaks, angular positions, relative diffraction intensity order and even the shape of the diffraction peaks. Therefore, according to the relevant technology, comparative analysis can complete the qualitative identification of the phase composition and structure of the target sample; by analyzing and calculating the diffraction intensity data of each diffraction point of the sample particles, the quantitative analysis of the phase composition of the target sample can be completed.

[0061] Step S130, modifying the initial crystal form according to the known molecular structure of the target sample to obtain a modified crystal form.

[0062] It can be understood that although the best pharmaceutical crystal form of the target sample is unknown, under the premise that the molecular structure of the target sample is known, the known atoms and known groups corresponding to the target sample can be determined based on the known molecular structure of the target sample, so that the atoms and groups that are obviously incorrect in the initial crystal form can be deleted, thereby correcting the initial crystal form, that is, obtaining the corrected crystal form. By making a preliminary correction to the initial crystal form, the crystal form of the target sample can be predicted based on the corrected crystal form in the subsequent steps, thereby narrowing the prediction range.

[0063] Step S140, performing crystal form prediction based on the corrected crystal form to obtain a predicted crystal form of the target sample.

[0064] Among them, according to the CSP crystal form prediction in the relevant technology, the predicted crystal form of the target sample can be obtained by inputting the structure of the modified crystal form.

[0065] It can be seen from the above embodiments that the technical solution of the present application first obtains the diffraction images of multiple sample particles of the target sample, then obtains the required parameter information through the diffraction images to obtain the initial crystal form, then corrects the initial crystal form to obtain the corrected crystal form, and finally predicts the crystal form on the basis of the corrected crystal form to obtain the predicted crystal form of the target sample. Compared with directly predicting the crystal form based on the known molecular structure of the target sample, such a design can eliminate the interference of some erroneous crystal forms in advance, so as to make predictions on the basis of the corrected crystal form in a targeted manner, reduce the difficulty of prediction, shorten the prediction time, and improve the efficiency of crystal form prediction.

[0066] Figure 2 It is another schematic flow chart of the crystal form prediction method shown in the embodiment of the present application.

[0067] See also Figure 2 , the crystal form prediction method of the present application comprises:

[0068] Step S210 , obtaining a plurality of diffraction images of a plurality of sample particles of a target sample within a preset angle range in a shooting environment at a preset temperature by electron diffraction.

[0069] In this embodiment, the diffraction images of multiple sample particles of the powdered target sample can be obtained by electron diffraction (MicroED). Further, the sample particles can be photographed by an electron microscope, such as a transmission electron microscope, to obtain a diffraction image. In one embodiment, before shooting, the sample particles and the shooting environment are frozen in advance, so that the sample particles are placed in a frozen shooting environment for electron diffraction to avoid the destruction of the sample particles by electrons during the shooting process, thereby ensuring that a diffraction image with an ideal shooting effect is obtained. In one embodiment, the preset temperature can be -250℃~0℃. For example, -250℃~-50℃, -200℃~-50℃ or -200℃~-100℃, etc. It can be understood that the sample particles at non-freezing temperatures will be destroyed by electrons, and the effect of the obtained diffraction image is not good. In one embodiment, a number of powdered sample particles can be evenly dispersed on the carrier mesh, and then the carrier mesh containing the sample particles is frozen by liquid nitrogen; then the frozen carrier mesh is loaded into the sample rod, and then the sample rod is installed in the transmission electron microscope in the freezing mode, and the frozen sample particles are photographed in the freezing mode. In order to obtain diffraction images of sample particles at different angles, in one embodiment, the sample rod is rotated at a preset rotation speed within a preset angle range to obtain different shooting angles. For example, the sample rod is rotated along a fixed axis at a rotation speed of 0.5° to 1° per second within a preset angle range of -60° to 60°. In one embodiment, the preset angle range can also be -45° to 45°, -30° to 30°, or -10° to 10°, etc.

[0070] Furthermore, for at least a portion of the sample particles in the sample rod, a transmission electron microscope is used in a freezing mode to obtain a series of diffraction images at different angles for each sample particle within a preset angle range.

[0071] It should be noted that X-ray single crystal diffraction requires large-sized quality crystals. However, for organic molecules, it is very difficult or even impossible to cultivate single crystals, that is, it is very difficult to obtain a sample that meets the requirements. This embodiment uses electron diffraction to act on a powdered target sample, without consuming a lot of manpower and material resources to cultivate single crystals.

[0072] Step S220, respectively acquiring and merging parameter information acquired from a plurality of diffraction images to obtain parameter merging information.

[0073] In order to obtain a sufficient amount of parameter information for analysis, in one embodiment, each diffraction image is indexed to obtain parameter information corresponding to the sample particles; wherein the parameter information includes unit cell parameters and diffraction intensity of diffraction points; the parameter information of multiple sample particles is merged to obtain parameter merge information; wherein the number of diffraction points in the parameter merge information is not less than a preset number threshold.

[0074] Further, in one embodiment, for a series of diffraction images of a single sample particle, the crystal diffraction data can be indexed according to the indexing software in the related art, such as DICVOL software, ipmosflm software, HKL2000 software, XDS software and other indexing software. Among them, the corresponding parameter information can be obtained in each diffraction image, and the parameter information includes the unit cell parameters and the diffraction intensity of the diffraction point. Specifically, refer to the description of step S120, which will not be repeated here.

[0075] Furthermore, the indexing based on powder diffraction requires more parameter information to obtain data as complete as possible. Therefore, a series of diffraction images of each sample particle are indexed, and after obtaining the corresponding parameter information of each diffraction image, each parameter is merged to obtain the diffraction intensity of a sufficient number of diffraction points. Among them, when the number of diffraction points is not less than the preset number threshold, it means that the parameter merging information meets the requirements. Otherwise, if the number of diffraction points is insufficient, so that there is not enough data for the analysis in the subsequent steps, repeat step S210 to obtain a new diffraction image of the sample particle or a new diffraction image of the original sample particle, so that this step can obtain a sufficient number of diffraction points. It can be understood that the preset number threshold is adjusted according to the target sample with different molecular structures. The more complex the molecular structure of the target sample, the more diffraction points are required, and the more diffraction images are required accordingly.

[0076] Further, in one embodiment, each parameter information can be merged into a set of data by data merging software of related technology, that is, the merged parameter information is obtained. For example, the data merging software can be XSCALE software. According to the data merging software, the generated parameter merging information includes an average cell parameter calculated from a plurality of cell parameters and a .hkl file generated by merging the diffraction intensity of a plurality of diffraction points.

[0077] Step S230, performing analysis based on the parameter merging information to obtain an initial crystal form; wherein the molecular structure error rate of the initial crystal form is less than or equal to a preset ratio threshold.

[0078] It can be understood that after obtaining the parameter merging information, according to the parameter merging information, it can be analyzed according to the relevant analysis software to obtain the structure corresponding to the initial crystal form. For example, the analysis software can be SHELXT software. By inputting the average unit cell parameters and .hkl file calculated in the above steps as data sources into the analysis software, the structure of the initial crystal form can be obtained according to the relevant operation steps of the analysis software.

[0079] Further, after obtaining the initial crystal form, it is necessary to determine the molecular structure error rate of the initial crystal form according to the known molecular structure of the target sample. In one embodiment, if the molecular structure error rate of the initial crystal form is greater than the preset ratio threshold, it means that the structure of the initial crystal form deviates too much from the known molecular structure of the target sample, then the initial crystal form is discarded, and the sample particles are re-acquired for electron diffraction to generate a new initial crystal form. It can be understood that when the structure of the initial crystal form deviates too much from the known molecular structure of the target sample, the initial crystal form is likely to be an erroneous crystal form. At this point, the erroneous crystal form is not suitable for the crystal form prediction of the subsequent steps, and then the initial crystal form structure with a large deviation is discarded, and it is necessary to repeat this step, re-analyze, and obtain an initial crystal form with a molecular error rate less than or equal to the preset ratio threshold; or, re-execute step S210 and / or step S220 to obtain new parameter merging information, and then re-analyze the parameter merging information to obtain an initial crystal form with a molecular structure error rate less than the preset ratio threshold that meets the initial crystal form. In one embodiment, the molecular structure error rate can be the ratio of the sum of the number of erroneous atoms and erroneous groups in the molecular structure of the initial crystal form to the sum of the number of total atoms and total groups; when the ratio is less than or equal to a preset ratio threshold, it indicates that the initial crystal form can be adopted and used for prediction to help narrow the range of crystal form prediction.

[0080] It should be understood that by analyzing the information based on the parameter merging, an initial crystal form that meets the conditions is obtained, and subsequent steps only need to be performed based on the initial crystal form, which simplifies the amount of calculation and improves the prediction efficiency.

[0081] Step S240, based on the known atoms and known groups of the sample particles, delete the erroneous atoms that are different from the known atoms in the initial crystal form and delete the erroneous groups that are different from the known groups in the initial crystal form to obtain the corresponding modified crystal form.

[0082] It is understood that after obtaining the initial crystal form, the initial crystal form needs to be refined to improve the suitability of the crystal form. Further, according to the known atoms and known groups in the known molecular structure of the target sample, the erroneous atoms and erroneous groups in the initial crystal form that are obviously different from the known molecular structure can be deleted. Specifically, the operation can be deleted in the analysis software, and only the atoms and groups that completely match the known molecular structure are retained, so as to obtain the corresponding modified crystal form.

[0083] Step S250, performing crystal form prediction based on the corrected crystal form to obtain a predicted crystal form.

[0084] In one embodiment, the atomic coordinates in the modified crystal form are used as discrete point coordinates to generate a Voronoi diagram; the virtual atom information in the Voronoi diagram is obtained; based on the known molecular structure and virtual atom information of the target sample, the missing atoms in the modified crystal form are predicted to obtain a predicted crystal form whose ground state energy meets preset rules.

[0085] Specifically, the atoms in the modified crystal form can be used as discrete points, and the atomic coordinates can be used as discrete point coordinates to draw a Voronoi Diagram, so as to segment the three-dimensional space of the modified crystal form. Further, each area of ​​the Voronoi Diagram contains a discrete point (i.e., an atom), and no other discrete point will appear on the edge of each area. Therefore, the vertices where multiple areas intersect in the Voronoi Diagram and the space around the vertices that do not contain discrete points are spaces where atoms will not appear, and these spaces can be used as spaces where virtual atoms are generated, and the coordinates of some vertices where multiple areas intersect in the Voronoi Diagram can be used as corresponding virtual atom center coordinates.

[0086] Among them, the information of a single virtual atom can be the center coordinates and radius of the virtual atom. By obtaining the virtual atom information, it is helpful to predict the construction of the intramolecular coordinates of the crystal form. In one embodiment, the coordinates corresponding to each virtual atom can be obtained by obtaining the coordinates corresponding to each vertex whose straight-line distance to the nearest discrete point is greater than or equal to the preset bond length value. That is to say, only the coordinates of some vertices that meet the conditions can be used as the center coordinates of the virtual atom, and half of the straight-line distance between the vertex and its nearest discrete point is the radius of the corresponding virtual atom. Further, in one embodiment, according to the coordinates of each discrete point, the coordinates of the vertices intersecting each region are calculated by relevant technology; according to the coordinates of each vertex and the coordinates of the discrete point, the straight-line distance between each vertex coordinate and its nearest discrete point coordinate can be calculated; each straight-line distance is compared with the preset bond length value, and if the straight-line distance is less than the preset bond length value, the corresponding vertex in the Voronoi diagram is deleted. That is, the deleted vertices are not used as virtual atoms, and the coordinates of the undeleted vertices are used as the center coordinates of the virtual atom. Among them, the preset bond length value can be 1 / 2 of the common chemical bond length. Common chemical bond lengths can be 1 to 1.5Angstrom. In one embodiment, the preset bond length value can be 0.5 to 0.75 Angstrom, such as 0.5 Angstrom, 0.6 Angstrom, 0.7 Angstrom or 0.75 Angstrom. It should be understood that the intersecting vertices in each region in the Voronoi diagram that are not deleted are used as virtual atoms, and the straight-line distance between the virtual atom and the nearest discrete point, that is, the virtual atom and the nearest atom needs to be approximately 1 / 2 of the common chemical bond length. If the straight-line distance between the vertex and the nearest atom is too small, then the vertex is not conducive to the construction of a normal molecular structure, that is, the vertex is not suitable as a virtual atom. Therefore, by deleting the vertices whose straight-line distance in the Voronoi diagram is less than the preset bond length value, unsuitable virtual atoms are deleted.

[0087] Further, after deleting unsuitable vertices, that is, deleting unsuitable virtual atoms, in one embodiment, the remaining vertices are used as the center coordinates of the corresponding virtual atoms, and half of the distance between each vertex and the nearest atom is used as the corresponding virtual atom radius to obtain a virtual atom information set. Among them, each virtual atom in the virtual atom information set will serve as an obstacle to constructing the predicted crystal form, that is, the position where the virtual atom exists will not have the atom of the predicted crystal form, thereby assisting the construction of the structure of the predicted crystal form.

[0088] Further, in one embodiment, based on the known molecular structure and virtual atom information of the target sample, the missing atoms in the modified crystal form are predicted, including: using the atomic types and corresponding atomic center coordinates of the known molecular structure in the target sample and the center coordinates and corresponding virtual atom radius of each virtual atom in the virtual atom information set as the input structure of the CSP crystal form prediction, thereby predicting the missing atoms in the modified crystal form. By obtaining the missing atoms, further, in one embodiment, the molecular structure of the modified crystal form is completed according to the predicted missing atoms to obtain at least one preliminary predicted crystal form; the energy of each preliminary predicted crystal form is sorted according to the value of the ground state energy of the preliminary predicted crystal form; and the preliminary predicted crystal form with the lowest ground state energy is selected as the predicted crystal form. It can be understood that CSP crystal form prediction can be carried out according to relevant technologies, which will not be elaborated here.

[0089] It is understood that after the atoms of the modified crystal form are completed, there may be multiple preliminary predicted crystal forms. According to the relevant technology, the ground state energy of each preliminary predicted crystal form can be obtained by calculation, and then the preliminary predicted crystal forms are sorted according to the energy size according to the numerical value of the ground state energy, and the preliminary predicted crystal form with the lowest ground state energy value can be used as the predicted crystal form. It is understood that the lower the ground state energy value, the more stable the crystal form, so it can be used as an ideal pharmaceutical crystal form.

[0090] Step S260, verifying the predicted crystal form to obtain a predicted crystal form that has passed the verification.

[0091] It can be understood that after obtaining the predicted crystal form, in order to ensure the correctness of the predicted crystal form, the predicted crystal form can be verified.

[0092] In one embodiment, the predicted crystal form is verified; wherein, when the residual factor between the simulated structure factor and the experimental structure factor of the predicted crystal form is less than or equal to a preset value, it is determined that the predicted crystal form is verified. In one embodiment, the preset value can be 0.3 to 0.4, such as 0.3, 0.35 or 0.4.

[0093] In one embodiment, the residual factor R1 is calculated according to the following formula (1):

[0094]

[0095] Among them, R1 represents the residual factor, Fcalc represents the simulated structure factor, and Fobs represents the experimental structure factor.

[0096] Furthermore, the simulated structure factor Fcalc can be calculated according to the following formula (2):

[0097]

[0098] Among them, i represents an imaginary unit, j represents the jth atom in the unit cell, n represents the total number of all atoms in the unit cell of the predicted crystal form, x, y, and z are the fractional coordinates of the atoms in the unit cell of the predicted crystal form, and h, k, and l are the Miller indices corresponding to the diffraction points.

[0099] The experimental structure factor is obtained by combining the diffraction intensities of each diffraction point in the above step S220. Specifically, the experimental structure factor can be calculated by referring to the following formula (3).

[0100]

[0101] Wherein, hkl is the Miller index corresponding to each diffraction point, I(hkl) is the diffraction intensity of the diffraction point, and F(hkl) is the experimental structure factor.

[0102] It can be understood that when the residual factor value of the predicted crystal form is less than or equal to the preset value, it means that the structure of the predicted crystal form is correct, that is, the verification is passed. The predicted crystal form that passes the verification is the ideal pharmaceutical crystal form. Otherwise, if the residual factor is greater than the preset value, it means that the verification fails.

[0103] If the verification fails, the preliminary predicted crystal form with the second lowest value of the ground state energy ranking of each preliminary predicted crystal form in step S250 is used as the predicted crystal form, and this step is further repeated for verification until the verification passes, and a predicted crystal form that passes the verification is obtained. It can be understood that the predicted crystal form that passes the verification is the correct and most stable crystal form.

[0104] It can be seen from this embodiment that the crystal form prediction method of the present application, after obtaining the diffraction images of multiple different angles of each sample particle in powder form by electron diffraction technology, obtains the parameter merging information of a sufficient number of diffraction points by parsing each diffraction image, thereby obtaining the initial crystal form according to the parameter merging information, and only needs the molecular structure error rate of the initial crystal form to be less than or equal to the preset ratio threshold value to serve as the basis for subsequent prediction, effectively reducing the number of initial structures, thereby reducing the calculation time for subsequent prediction. Such a design, compared with X-ray single crystal diffraction, greatly reduces the dependence on sample quality and properties, and reduces the cost of culturing samples. In addition, by correcting the initial crystal form, the obtained corrected crystal form can be used as the input structure of CSP crystal form prediction as an experimental reference, effectively reducing the depth of the influence of the sample molecular freedom on CSP crystal form prediction, and reducing the difficulty of CSP prediction; in addition, by verifying the predicted crystal form to improve the credibility of the predicted crystal form, a correct and stable predicted crystal form is obtained. The crystal form prediction method of this embodiment is not limited to the sample type. By combining electron diffraction with CSP crystal form prediction technology to obtain a predicted crystal form, the difficulty of sample cultivation and the difficulty of CSP crystal form prediction are reduced, and an ideal crystal form with high credibility can be obtained, which has promotion value.

[0105] Corresponding to the aforementioned application function realization method embodiment, the present application also provides a crystal form prediction device, an electronic device and corresponding embodiments.

[0106] Figure 3 It is a schematic diagram of the structure of the crystal form prediction device shown in the embodiment of the present application.

[0107] See also Figure 3 The crystal form prediction device of the present application includes an image acquisition module 310, a crystal form generation module 320, a crystal form correction module 330 and a crystal form prediction module 340, wherein:

[0108] The image acquisition module 310 is used to acquire diffraction images corresponding to a plurality of sample particles of the target sample.

[0109] The crystal form generation module 320 is used to generate the initial crystal form of the target sample according to the parameter information obtained in each diffraction image.

[0110] The crystal form correction module 330 is used to correct the initial crystal form according to the known molecular structure of the target sample to obtain a corrected crystal form.

[0111] The crystal form prediction module 340 is used to perform crystal form prediction based on the modified crystal form to obtain the predicted crystal form of the target sample.

[0112] Figure 4 It is a schematic diagram of the structure of the crystal form prediction device shown in the embodiment of the present application.

[0113] See also Figure 4 Furthermore, in one embodiment, the image acquisition module 310 of the present application is used to obtain multiple diffraction images of each sample particle within a preset angle range in a shooting environment at a preset temperature through electron diffraction.

[0114] Further, in one embodiment, the device of the present application also includes a parameter processing module 350, which is used to perform index processing on each diffraction image respectively to obtain parameter information corresponding to the sample particles; merge the parameter information of multiple sample particles to obtain parameter merging information; wherein the number of diffraction points in the parameter merging information is not less than a preset number threshold. The crystal form generation module 320 is used to parse according to the parameter merging information to obtain an initial crystal form; wherein the molecular structure error rate of the initial crystal form is less than or equal to a preset ratio threshold. In one embodiment, if the molecular structure error rate of the initial crystal form generated by the crystal form generation module 320 is greater than the preset ratio threshold, the initial crystal form is discarded, and the sample particles are re-acquired for electron diffraction to generate a new initial crystal form.

[0115] Furthermore, in one embodiment, the crystal form correction module 330 is used to delete erroneous atoms that are different from the known atoms in the initial crystal form and to delete erroneous groups that are different from the known groups in the initial crystal form based on the known atoms and known groups of the target sample to obtain the corresponding corrected crystal form.

[0116] Further, in one embodiment, the crystal form prediction module 340 is also used to use the atomic coordinates in the modified crystal form as discrete point coordinates to generate a Voronoi diagram; obtain virtual atom information in the Voronoi diagram; predict the missing atoms in the modified crystal form based on the known molecular structure and virtual atom information of the target sample, and obtain a predicted crystal form whose ground state energy meets the preset rules. The crystal form prediction module 340 is also used to complete the molecular structure of the modified crystal form based on the predicted missing atoms to obtain at least one preliminary predicted crystal form; sort the energy of each preliminary predicted crystal form according to the value of the ground state energy of the preliminary predicted crystal form; select the preliminary predicted crystal form with the lowest ground state energy as the predicted crystal form.

[0117] Furthermore, in one embodiment, the device of the present application also includes a crystal form verification module 360, which is used to verify the predicted crystal form; wherein, when the residual factor between the simulated structure factor and the experimental structure factor of the predicted crystal form is less than or equal to a preset value, it is determined that the predicted crystal form verification has passed.

[0118] It can be seen from this embodiment that the crystal form prediction device of the present application first obtains the diffraction image of the sample particles through the image acquisition module, and then obtains the required parameter merging information according to the diffraction image through the parameter processing module. After the crystal form generation module obtains the initial crystal form according to the parameter merging information, the crystal form correction module corrects the initial crystal form to obtain the corrected crystal form. Finally, the crystal form prediction module predicts the crystal form on the basis of the corrected crystal form to obtain the predicted crystal form, and the crystal form verification module verifies the credibility of the predicted crystal form. Such a design, compared with directly predicting the crystal form based on the known molecular structure of the target sample, the prediction method of the present application can pre-exclude the interference of some erroneous crystal forms, so as to make predictions on the basis of the corrected crystal form in a targeted manner, reduce the difficulty of prediction, shorten the prediction time, and improve the efficiency of crystal form prediction; in addition, compared with X-ray single crystal diffraction, the device of the present application directly uses electron diffraction to reduce the requirements for sample quality, reduce the cost of culturing samples, shorten the overall crystal form prediction time, and improve the prediction efficiency.

[0119] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.

[0120] Figure 5 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.

[0121] See also Figure 5 , the electronic device 1000 includes a memory 1010 and a processor 1020 .

[0122] The processor 1020 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0123] The memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 1020 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0124] The memory 1010 stores executable codes, and when the executable codes are processed by the processor 1020 , the processor 1020 can execute part or all of the methods described above.

[0125] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.

[0126] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.

[0127] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A crystal form prediction method, characterized in that: include: Acquire diffraction images corresponding to a plurality of sample particles of a target sample; Generating an initial crystal form of the target sample according to the parameter information obtained in each of the diffraction images; Modifying the initial crystal form according to the known molecular structure of the target sample to obtain a modified crystal form; A crystal form prediction is performed based on the modified crystal form to obtain a predicted crystal form of the target sample; wherein, the atomic coordinates in the modified crystal form are used as discrete point coordinates to generate a Voronoi diagram; the coordinates of some vertices where multiple areas in the Voronoi diagram intersect are used as corresponding virtual atom center coordinates, and half of the distance between the vertex and the nearest atom is used as the corresponding virtual atom radius; based on the known molecular structure of the target sample and the virtual atom center coordinates and the virtual atom radius, the missing atoms in the modified crystal form are predicted, and the molecular structure of the modified crystal form is completed based on the predicted missing atoms to obtain at least one preliminary predicted crystal form; and screening is performed among the preliminary predicted crystal forms to obtain the predicted crystal form whose ground state energy meets the preset rules.

2. The method according to claim 1, characterized in that: The step of obtaining diffraction images corresponding to a plurality of sample particles of a target sample comprises: A plurality of diffraction images of a plurality of sample particles of the target sample within a preset angle range in a shooting environment at a preset temperature are respectively acquired by electron diffraction.

3. The method according to claim 1, characterized in that Generating the initial crystal form of the target sample according to the parameter information obtained in each of the diffraction images comprises: Performing index processing on each of the diffraction images respectively to obtain parameter information corresponding to the sample particles; wherein the parameter information includes unit cell parameters and diffraction intensity of diffraction points; Merging parameter information of a plurality of sample particles to obtain parameter merge information; wherein the number of diffraction points in the parameter merge information is not less than a preset number threshold; The parameter merging information is analyzed to obtain the initial crystal form of the target sample; wherein the molecular structure error rate of the initial crystal form is less than or equal to a preset ratio threshold.

4. The method according to claim 1, characterized in that: The step of modifying the initial crystal form according to the known molecular structure of the target sample to obtain the modified crystal form comprises: According to the known atoms and known groups of the target sample, the erroneous atoms in the initial crystal form that are different from the known atoms are deleted, and the erroneous groups in the initial crystal form that are different from the known groups are deleted to obtain the corresponding corrected crystal form.

5. The method according to claim 3, characterized in that: The method further comprises: If the molecular structure error rate of the initial crystal form is greater than the preset ratio threshold, the initial crystal form is discarded, and sample particles are re-obtained for electron diffraction to generate a new initial crystal form.

6. The method according to any one of claims 1 to 5, characterized in that The method of using the coordinates of some vertices of the intersection of multiple regions in the Voronoi diagram as the corresponding virtual atom center coordinates includes: In the Voronoi graph, obtaining the straight-line distance between the coordinates of each vertex and the coordinates of its nearest discrete point; Each of the straight-line distances is compared with a preset bond length value. If the straight-line distance is less than the preset bond length value, the corresponding vertex is deleted, and the coordinates of the undeleted vertex are used as the virtual atom center coordinates.

7. The method according to claim 1, characterized in that The screening among the preliminary predicted crystal forms to obtain the predicted crystal form whose ground state energy meets the preset rules comprises: energy ranking of each of the preliminarily predicted crystal forms according to the value of the ground state energy of the preliminarily predicted crystal forms; The initially predicted crystal form with the lowest ground state energy is selected as the predicted crystal form.

8. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The predicted crystal form is verified; wherein, when the residual factor between the simulated structure factor and the experimental structure factor of the predicted crystal form is less than or equal to a preset value, it is determined that the predicted crystal form has been verified.

9. A crystal form prediction device, characterized in that: include: An image acquisition module, used to acquire diffraction images corresponding to a plurality of sample particles of a target sample; A crystal form generation module, used to generate an initial crystal form of the target sample according to the parameter information obtained in each of the diffraction images; A crystal form correction module, used to correct the initial crystal form according to the known molecular structure of the target sample to obtain a corrected crystal form; A crystal form prediction module is used to predict the crystal form according to the modified crystal form to obtain the predicted crystal form of the target sample; wherein the atomic coordinates in the modified crystal form are used as discrete point coordinates to generate a Voronoi diagram; the coordinates of some vertices where multiple areas in the Voronoi diagram intersect are used as the corresponding virtual atom center coordinates, and half of the distance between the vertex and the nearest atom is used as the corresponding virtual atom radius; based on the known molecular structure of the target sample and the virtual atom center coordinates and the virtual atom radius, the missing atoms in the modified crystal form are predicted, and the molecular structure of the modified crystal form is completed according to the predicted missing atoms to obtain at least one preliminary predicted crystal form; screening is performed among the preliminary predicted crystal forms to obtain the predicted crystal form whose ground state energy meets the preset rules.

10. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having executable codes stored thereon, and when the executable codes are executed by a processor of an electronic device, the processor is caused to execute the method according to any one of claims 1 to 8.