Protein atom model determination method and device, electronic equipment and storage medium
Through sampling and calibration model technology, an accurate protein atomic model is generated, which solves the time-consuming and labor-intensive problem of building protein atomic models in cryo-electron microscopy technology, and improves modeling accuracy and efficiency.
Patent Information
- Application Number
- CN202310259625.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-03-10
Smart Images

Figure CN118629488A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of structural biology, and in particular to a method, device, electronic device and storage medium for determining a protein atomic model. Background Art
[0002] The resolution revolution of cryo-electron microscopy (Cryo-EM) has greatly improved the resolution of protein three-dimensional structure analysis, making the structure analyzed by electron microscopy reach the level of near-atomic resolution. The ultimate goal of cryo-EM structure analysis is to obtain a three-dimensional model of protein molecules. However, building an atomic model from the density map of Cryo-EM is a time-consuming and labor-intensive process, which results in nearly half of the density maps released in the EMDB database not having atomic models built. Although there are many methods that can achieve fully automatic or semi-automatic atomic model building, due to the limitations of low resolution, large density maps, and poor results, manual adjustment in the later stage is still an indispensable and important link. At present, the method of manual modeling of cryo-EM is generally based on the amino acid sequence through homology modeling or AlphaFold2 and other tools to predict the atomic model as a template, and then use Chimera, Phenix and other tools to match the template to the corresponding position of the cryo-EM density map. In the case of large differences between the shape of the atomic template and the structure of the density map, it is necessary to manually cut the template into independent fragments and manually dock each fragment separately. Therefore, when a suitable structural template cannot be found, the difficulty of modeling is greatly increased. Summary of the invention
[0003] In view of this, the present disclosure proposes a protein atomic model determination method, device, electronic device and storage medium, aiming to obtain an accurate protein atomic model.
[0004] According to a first aspect of the present disclosure, a method for determining a protein atomic model is provided, the method comprising:
[0005] Obtain the three-dimensional density map and initial atomic model of the target protein;
[0006] Sampling support points according to the three-dimensional density map, and determining support point pair representations according to the support point coordinates, wherein the support point pair representations are used to characterize the positional relationship between every two of the support points;
[0007] Determine a residue pair representation according to the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship between every two amino acids in the target protein in the initial atomic model;
[0008] Initialize a support point-residue pair representation according to the support point coordinates and the amino acid type contained in the target protein, wherein the support point-residue pair representation is used to characterize the corresponding relationship between each residue and each support point;
[0009] The support point pair representation, the residue pair representation and the support point-residue pair representation are input into the trained structure correction model to obtain the corrected three-dimensional atomic model of the target protein.
[0010] In a possible implementation, obtaining a three-dimensional density map and an initial atomic model of the target protein includes:
[0011] Collecting a cryo-electron microscopy image of the target protein to obtain a corresponding three-dimensional density map;
[0012] An initial atomic model is determined according to the amino acid sequence of the target protein.
[0013] In a possible implementation, sampling support points according to the three-dimensional density map and determining support point pair representations according to the support point coordinates include:
[0014] Screening a plurality of three-dimensional points included in the three-dimensional density map to obtain a preset number of support points;
[0015] A support point pair representation is determined according to the spatial coordinate position of each of the support points.
[0016] In a possible implementation, the step of selecting a preset number of support points from a plurality of three-dimensional points included in the three-dimensional density map includes:
[0017] Determining the probability value of the position of each pixel point in the three-dimensional density map being the position of the target protein skeleton;
[0018] A preset number of pixel points are randomly sampled as support points from a plurality of pixel points whose corresponding probability values are greater than a probability threshold.
[0019] In a possible implementation manner, determining the probability value that the position of each pixel point in the three-dimensional density map is the position where the target protein skeleton is located includes:
[0020] Normalizing the three-dimensional density map;
[0021] The normalized three-dimensional density map is output to the trained skeleton prediction model to obtain a skeleton density map of the same size as the three-dimensional density map, wherein the pixel value of each pixel point in the skeleton density map is a probability value that the position of the corresponding pixel point in the three-dimensional density map is the position of the target protein skeleton.
[0022] In a possible implementation, the step of randomly sampling a preset number of pixel points from a plurality of pixel points whose corresponding probability values are greater than a probability threshold as support points includes:
[0023] Performing grid sampling in the three-dimensional density map with a preset step size to obtain a plurality of candidate pixel points;
[0024] A preset number of pixel points are randomly sampled as support points from a plurality of candidate pixel points whose corresponding probability values are greater than a probability threshold.
[0025] In a possible implementation manner, determining the support point pair representation according to the spatial coordinate position of each support point includes:
[0026] Calculate the spatial position distance between each two support points, as well as the relative displacement in the three coordinate directions of X, Y, and Z;
[0027] The support point pair representation is determined according to the spatial position distance between every two of the support points and the three relative displacements.
[0028] In a possible implementation, determining the residue pair representation according to the initial atomic model includes:
[0029] Determine the position of a target atom of each amino acid in the target protein in the initial atomic model;
[0030] The residue pair representation is determined based on the position of the target atom in each of the amino acids.
[0031] In a possible implementation, determining the residue pair representation according to the position of the target atom in each of the amino acids comprises:
[0032] Calculate the spatial position distance between each two target atoms, as well as the relative displacement in the three coordinate directions of X, Y, and Z;
[0033] The support point pair representation is determined according to the spatial position distance between every two target atoms and the three relative displacements.
[0034] In a possible implementation, the target atom is C α atom.
[0035] In a possible implementation, initializing the support point-residue pair representation according to the support point coordinates and the amino acid type contained in the target protein includes:
[0036] Initialize a matrix whose horizontal and vertical coordinates represent the coordinates of the support points and the types of amino acids respectively;
[0037] The element value of each element in the matrix is randomly generated, and the element value is used to characterize the corresponding relationship between the coordinates of the corresponding support point and each type of amino acid.
[0038] In a possible implementation, inputting the support point pair representation, the residue pair representation and the support point-residue pair representation into the trained structure correction model to obtain the corrected three-dimensional atomic model of the target protein includes:
[0039] Performing at least one structural correction based on the input support point pair representation, the residue pair representation and the support point-residue pair by the structural correction model, and outputting updated support point pair representation, residue pair representation and support point-residue pair representation, as well as candidate atomic models after each structural correction;
[0040] In response to the fact that the current structure correction is not the last structure correction process, the support point pair representation, residue pair representation and support point-residue pair representation input for the next structure correction process are determined according to the support point pair representation, residue pair representation and support point-residue pair representation of the current model input, the candidate atomic model, and the updated support point pair representation, residue pair representation and support point-residue pair representation;
[0041] In response to the fact that this structural correction is the last structural correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0042] In a possible implementation, the structure correction model includes a feature fusion module and a structure correction module;
[0043] Each structural correction process includes:
[0044] Inputting the support point pair representation, the residue pair representation and the support point-residue pair representation of this correction process into the feature fusion module, and outputting the support point pair representation, the residue pair representation and the support point-residue pair representation after feature fusion;
[0045] determining a sequence representation based on the residue pair representations fused with the features;
[0046] The sequence representation and the residue pair representation after the feature fusion are input into the structure correction module, and the corrected candidate atomic model is output.
[0047] In a possible implementation, determining the sequence representation according to the residue pair representation after the feature fusion includes:
[0048] The diagonal in the residue pair representation matrix after the feature fusion is determined to be the sequence representation.
[0049] In a possible implementation, determining the support point pair representation, residue pair representation and support point-residue pair representation input for the next structure correction process according to the support point pair representation, residue pair representation and support point-residue pair representation, the candidate atomic model, and the updated support point pair representation, residue pair representation and support point-residue pair representation input for the current model includes:
[0050] Determining corresponding model residue pair representations according to the candidate atomic model;
[0051] Determining the residue pair representation input for the next structure correction process according to the weighted sum of the model residue pair representation, the residue pair representation input for the current model, and the updated residue pair representation;
[0052] Determine the support point pair representation input for the next structural correction process according to the weighted sum of the support point pair representation input for this model and the updated support point pair representation;
[0053] The support point-residue pair representation input for the next structure correction process is determined according to the weighted sum of the support point-residue pair representation input for this model and the updated support point-residue pair representation.
[0054] According to a second aspect of the present disclosure, there is provided a protein atomic model determination device, the device comprising:
[0055] A model determination module is used to obtain a three-dimensional density map and an initial atomic model of the target protein;
[0056] A first representation determination module is used to sample support points according to the three-dimensional density map, and determine support point pair representations according to the support point coordinates, wherein the support point pair representations are used to characterize the positional relationship between every two support points;
[0057] A second representation determination module is used to determine a residue pair representation according to the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship between every two amino acids in the target protein in the initial atomic model;
[0058] A third representation determination module, configured to initialize a support point-residue pair representation according to the support point coordinates and the amino acid type contained in the target protein, wherein the support point-residue pair representation is used to characterize the corresponding relationship between each of the residues and each of the support points;
[0059] The model correction module is used to input the support point pair representation, the residue pair representation and the support point-residue pair representation into the trained structure correction model to obtain the corrected three-dimensional atomic model of the target protein.
[0060] In a possible implementation, the model determination module is further used to:
[0061] Collecting a cryo-electron microscopy image of the target protein to obtain a corresponding three-dimensional density map;
[0062] An initial atomic model is determined according to the amino acid sequence of the target protein.
[0063] In a possible implementation manner, the first representation determining module is further configured to:
[0064] Screening a plurality of three-dimensional points included in the three-dimensional density map to obtain a preset number of support points;
[0065] A support point pair representation is determined according to the spatial coordinate position of each of the support points.
[0066] In a possible implementation manner, the first representation determining module is further configured to:
[0067] Determining the probability value of the position of each pixel point in the three-dimensional density map being the position of the target protein skeleton;
[0068] A preset number of pixel points are randomly sampled as support points from a plurality of pixel points whose corresponding probability values are greater than a probability threshold.
[0069] In a possible implementation manner, the first representation determining module is further configured to:
[0070] Normalizing the three-dimensional density map;
[0071] The normalized three-dimensional density map is output to the trained skeleton prediction model to obtain a skeleton density map of the same size as the three-dimensional density map, wherein the pixel value of each pixel point in the skeleton density map is a probability value that the position of the corresponding pixel point in the three-dimensional density map is the position of the target protein skeleton.
[0072] In a possible implementation manner, the first representation determining module is further configured to:
[0073] Performing grid sampling in the three-dimensional density map with a preset step size to obtain a plurality of candidate pixel points;
[0074] A preset number of pixel points are randomly sampled as support points from a plurality of candidate pixel points whose corresponding probability values are greater than a probability threshold.
[0075] In a possible implementation manner, the first representation determining module is further configured to:
[0076] Calculate the spatial position distance between each two support points, as well as the relative displacement in the three coordinate directions of X, Y, and Z;
[0077] The support point pair representation is determined according to the spatial position distance between every two of the support points and the three relative displacements.
[0078] In a possible implementation manner, the second representation determining module is further configured to:
[0079] Determine the position of a target atom of each amino acid in the target protein in the initial atomic model;
[0080] The residue pair representation is determined based on the position of the target atom in each of the amino acids.
[0081] In a possible implementation, determining the residue pair representation according to the position of the target atom in each of the amino acids comprises:
[0082] Calculate the spatial position distance between each two target atoms, as well as the relative displacement in the three coordinate directions of X, Y, and Z;
[0083] The support point pair representation is determined according to the spatial position distance between every two target atoms and the three relative displacements.
[0084] In a possible implementation, the target atom is C α atom.
[0085] In a possible implementation manner, the third representation determination module is further configured to:
[0086] Initialize a matrix whose horizontal and vertical coordinates represent the coordinates of the support points and the types of amino acids respectively;
[0087] The element value of each element in the matrix is randomly generated, and the element value is used to characterize the corresponding relationship between the coordinates of the corresponding support point and each type of amino acid.
[0088] In a possible implementation, the model correction module is further used to:
[0089] Performing at least one structural correction based on the input support point pair representation, the residue pair representation and the support point-residue pair by the structural correction model, and outputting updated support point pair representation, residue pair representation and support point-residue pair representation, as well as candidate atomic models after each structural correction;
[0090] In response to the fact that the current structure correction is not the last structure correction process, the support point pair representation, residue pair representation and support point-residue pair representation input for the next structure correction process are determined according to the support point pair representation, residue pair representation and support point-residue pair representation of the current model input, the candidate atomic model, and the updated support point pair representation, residue pair representation and support point-residue pair representation;
[0091] In response to the fact that this structural correction is the last structural correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0092] In a possible implementation, the structure correction model includes a feature fusion module and a structure correction module;
[0093] Each structural correction process includes:
[0094] Inputting the support point pair representation, the residue pair representation and the support point-residue pair representation of this correction process into the feature fusion module, and outputting the support point pair representation, the residue pair representation and the support point-residue pair representation after feature fusion;
[0095] determining a sequence representation based on the residue pair representations fused with the features;
[0096] The sequence representation and the residue pair representation after the feature fusion are input into the structure correction module, and the corrected candidate atomic model is output.
[0097] In a possible implementation, determining the sequence representation according to the residue pair representation after the feature fusion includes:
[0098] The diagonal in the residue pair representation matrix after the feature fusion is determined to be the sequence representation.
[0099] In a possible implementation, the model correction module is further used to:
[0100] Determining corresponding model residue pair representations according to the candidate atomic model;
[0101] Determining the residue pair representation input for the next structure correction process according to the weighted sum of the model residue pair representation, the residue pair representation input for the current model, and the updated residue pair representation;
[0102] Determine the support point pair representation input for the next structural correction process according to the weighted sum of the support point pair representation input for this model and the updated support point pair representation;
[0103] The support point-residue pair representation input for the next structure correction process is determined according to the weighted sum of the support point-residue pair representation input for this model and the updated support point-residue pair representation.
[0104] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.
[0105] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.
[0106] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0107] In an embodiment of the present disclosure, a three-dimensional density map and an initial atomic model of a target protein are obtained, a support point pair representation characterizing the positional relationship between every two support points is determined based on a plurality of support points in the three-dimensional density map, a residue pair representation characterizing the positional relationship between every two amino acids in the atomic model is determined based on the initial atomic model, and a support point-residue pair representation is initialized based on a plurality of support points and amino acids. The support point pair representation, the residue pair representation, and the support point-residue pair representation are input into a trained structural correction model to obtain a corrected three-dimensional atomic model of the target protein. The present disclosure corrects the positional relationship between amino acids based on the positional relationship between support points and the positional relationship between support points and amino acids, thereby achieving correction of the atomic model, obtaining an accurate three-dimensional atomic model, and improving the accuracy of the atomic model of the target protein.
[0108] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0110] Figure 1 A flowchart showing a method for determining a protein atomic model according to an embodiment of the present disclosure is shown;
[0111] Figure 2 A schematic diagram showing a process of obtaining a support point according to an embodiment of the present disclosure;
[0112] Figure 3 A schematic diagram showing a process of determining a three-dimensional atomic model according to an embodiment of the present disclosure;
[0113] Figure 4 A schematic diagram showing a working process of a feature fusion module according to an embodiment of the present disclosure;
[0114] Figure 5 A rendering of a three-dimensional atomic model according to an embodiment of the present disclosure is shown;
[0115] Figure 6 A schematic diagram showing a protein atomic model determination device according to an embodiment of the present disclosure;
[0116] Figure 7 A schematic diagram showing an electronic device according to an embodiment of the present disclosure;
[0117] Figure 8 A schematic diagram showing another electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0118] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0119] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0120] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0121] In a possible implementation, the protein atomic model determination method of the embodiment of the present disclosure can be performed by an electronic device such as a terminal device or a server. Among them, the terminal device can be any fixed or mobile terminal such as a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The server can be a single server or a server cluster composed of multiple servers. Any electronic device can implement the protein atomic model determination method of the embodiment of the present disclosure by a processor calling a computer-readable instruction stored in a memory.
[0122] Figure 1 A flow chart of a method for determining a protein atomic model according to an embodiment of the present disclosure is shown. Figure 1 As shown, the protein atomic model determination method of the embodiment of the present disclosure may include the following steps S10-S50.
[0123] Step S10: Obtain a three-dimensional density map and an initial atomic model of the target protein.
[0124] In a possible implementation, a three-dimensional density map and an initial atomic model of a target protein can be obtained by an electronic device. The target protein can be represented by an amino acid sequence composed of multiple amino acids, and the three-dimensional density map is an image of the three-dimensional folding structure of the amino acid sequence acquired by electron microscope image acquisition, and the initial atomic model is a three-dimensional folding structure predicted according to the type and order of each amino acid in the amino acid sequence. The three-dimensional density map and the initial atomic model of the target protein can be obtained by directly receiving user input through interaction between the electronic device and the user, or by receiving the three-dimensional density map and the initial atomic model sent by other devices. Alternatively, it can also be determined by the electronic device based on the amino acid sequence of the target protein, or directly obtained from a memory connected to or built-in by the electronic device.
[0125] Optionally, when the three-dimensional density map and the initial atomic model are determined by an electronic device based on the target protein, the electronic device can obtain the corresponding three-dimensional density map by collecting a cryo-electron microscopy image of the target protein, and determine the initial atomic model based on the amino acid sequence of the target protein. Among them, the cryo-electron microscopy image can be a three-dimensional image obtained by collecting the spatial structure of the target protein when the target protein is frozen, and the initial atomic model can be obtained by inputting the amino acid sequence into tools such as AlphaFold2 for structural prediction. Alternatively, the initial atomic model can also be determined by homology modeling based on the amino acid sequence.
[0126] Step S20: Sample support points according to the three-dimensional density map, and determine support point pair representations according to the support point coordinates.
[0127] In one possible implementation, the three-dimensional density map of the target protein can be represented by a three-dimensional matrix of the shape of W×H×L. Each pixel in the three-dimensional matrix is a floating point number, and the values of W, H, and L can range from tens to hundreds. Therefore, the original three-dimensional density map is too large. If the initial atomic model correction is performed directly based on the three-dimensional density map, or if the atomic model correction is performed based on the positional relationship between all the characteristic points representing the target protein in the three-dimensional density map, a huge amount of calculation is required. Furthermore, a large amount of memory will be occupied in the process of atomic model correction, affecting the overall processing efficiency. At the same time, due to the three-dimensional density Figure 1 The general structure is sparse, with low density values in most areas. Even if the atomic model is corrected through the entire three-dimensional density map, it will not improve the accuracy of the final corrected structure.
[0128] Based on the structural features of the three-dimensional density map, the electronic device can extract multiple feature points located near the target protein skeleton in the three-dimensional density map as support points, so as to characterize the three-dimensional density map through multiple support points. Among them, the number of support points obtained by the electronic device can be predetermined. Further, the support point pair representation representing the positional relationship between each two support points can be determined based on the spatial coordinate position of each support point, so as to characterize the three-dimensional density map characteristics through the positional relationship between each two support points. That is, after the electronic device obtains the three-dimensional density map of the target protein, a preset number of support points can be screened from the multiple three-dimensional points included in the three-dimensional density map, and then the support point pair representation is determined according to the spatial coordinate position of each support point. Optionally, the preset number can be determined based on the number of amino acids included in the amino acid sequence of the target protein. For example, when the amino acid sequence of the target protein includes N amino acids, the preset number can be determined to be N, or the preset number can be determined to be the product of a preset ratio such as 90%N or 110%N and the number of amino acids.
[0129] Optionally, the electronic device can select a preset number of support points in the three-dimensional density map by first determining the probability value that the position of each pixel in the three-dimensional density map is the position of the target protein skeleton, and then randomly sampling a preset number of pixel points as support points from multiple pixel points whose corresponding probability values are greater than the probability threshold. Among them, the probability value corresponding to each pixel point can be determined by a pre-trained skeleton prediction model, that is, the electronic device first normalizes the three-dimensional density map after acquiring the three-dimensional density map. The normalization operation is used to normalize the pixel value of each pixel point in the three-dimensional density map to a value between 0 and 1, which can be achieved by linearly filling the space represented by each pixel to a preset unit. After normalization, the normalized three-dimensional density map is output to the skeleton prediction model obtained by training, and a skeleton density map of the same size as the three-dimensional density map is obtained. The pixel value of each pixel point in the skeleton density map is the probability value that the position of the corresponding pixel point in the three-dimensional density map is the position of the target protein skeleton. Among them, the skeleton prediction model can be a 3D U-Net neural network model.
[0130] Optionally, after obtaining the skeleton density map corresponding to the three-dimensional density map, the electronic device may first screen the pixel points in the three-dimensional density map based on the skeleton density map to obtain the pixel points whose corresponding probability values are greater than the probability threshold. Then, the multiple pixel points obtained by screening are randomly sampled, and a preset number of pixel points are collected as support points. Furthermore, in order to make the distribution of the obtained multiple support points more even, the electronic device may first perform grid sampling in the three-dimensional density map with a preset step size to obtain multiple candidate pixel points. Multiple candidate pixel points with probability values greater than the probability threshold are screened from the multiple candidate pixel points, and the multiple candidate pixel points obtained by screening are randomly sampled, and a preset number of candidate pixel points are collected as support points. Among them, the process of grid sampling by the electronic device can be sampled in the three directions of X, Y, and Z, that is, sampling is performed once every preset step size in any direction of the three directions. The multiple support points obtained by the electronic device can be obtained through tensors Where N p It represents the number of support points, and 3 represents the coordinates of each support point in the X, Y, and Z directions.
[0131] Figure 2 A schematic diagram showing a process of obtaining a support point according to an embodiment of the present disclosure is shown. Figure 2 As shown in FIG. 1 , the initial three-dimensional density map of the target protein is a three-dimensional image with a large amount of data, and the corresponding skeleton density map can be obtained by skeleton prediction. Further, according to the three-dimensional density map and the skeleton density map Figure 1At the same time, the support point sampling is performed to obtain multiple support points that can characterize the spatial position of the target protein skeleton. Based on the above method, the electronic device can reduce the three-dimensional density image from a tensor usually greater than 100,000 to a tensor of 100 to 10,000 matching the number of amino acids in the target protein.
[0132] In a possible implementation, after determining a plurality of support points in the three-dimensional density image, the electronic device The support point pair representation is determined by the spatial position between every two support points. Exemplarily, the spatial position distance between every two support points and the relative displacement in the three coordinate directions of X, Y, and Z can be calculated. The support point pair representation is determined according to the spatial position distance between every two support points and the three relative displacements. Among them, the spatial position distance can be determined by calculating the Euclidean distance between the spatial coordinates of every two support points. The support point pair representation can be a matrix in which both the horizontal and vertical coordinates represent each support point, and the value in each position in the matrix is a four-dimensional vector, and each dimension represents the spatial position distance between the support point corresponding to the row and the support point corresponding to the column, as well as the relative displacement in the three coordinate directions of X, Y, and Z.
[0133] Optionally, the support point pairs can be represented by a tensor Indicates that d1 Represents the unit vector between any two support points: s d2 Represents the Euclidean distance between any two support points:
[0134] Step S30: determining residue pair representations according to the initial atomic model.
[0135] In a possible implementation, after determining the initial atomic model corresponding to the target protein, the electronic device determines a residue pair representation used to characterize the positional relationship between each two amino acids in the target protein in the initial atomic model. The initial atomic model of the target protein can be represented by two tensors: N in superscript r represents the number of amino acids in the amino acid sequence, 37 represents the 37 possible atoms in each amino acid, and 3 represents the X, Y, and Z coordinates of each atom in the amino acid. p is used to characterize the spatial position coordinates of each atom in each amino acid in the amino acid sequence of the target protein, and m is a mask tensor used to indicate whether a certain atom exists in each amino acid in the amino acid sequence.
[0136] Alternatively, the spatial position of each amino acid can be characterized by the atomic position that must be included in each amino acid, and then the residue pair representation is determined based on the spatial position relationship between every two amino acids in the amino acid sequence. That is, the electronic device can determine the position of the target atom of each amino acid in the target protein in the initial atomic model, and determine the residue pair representation based on the position of the target atom in each amino acid. Among them, the target atom can be C α Atoms or other atoms included in every amino acid.
[0137] Furthermore, after obtaining the spatial position of the target atom in each amino acid, the electronic device calculates the spatial position distance of the target atoms in every two amino acids, as well as the relative displacement in the three coordinate directions of X, Y, and Z, and then determines the support point pair representation based on the spatial position distance of the target atoms in every two amino acids and the three relative displacements. Among them, the spatial position distance can be determined by calculating the Euclidean distance between the spatial coordinates of every two target atoms. The residue pair representation can be a matrix in which both the horizontal and vertical coordinates represent each amino acid, and the value in each position in the matrix is a four-dimensional vector, and each dimension represents the spatial position distance between the target atom in the amino acid corresponding to the row and the target atom in the amino acid corresponding to the column, as well as the relative displacement in the three coordinate directions of X, Y, and Z. Optionally, the residue pair representation can be obtained by a tensor. express.
[0138] Step S40: Initialize support point-residue pair representation according to the support point coordinates and the amino acid types contained in the target protein.
[0139] In a possible implementation, after determining multiple support points in a three-dimensional density image, the electronic device can initialize the support point-residue pair representation according to the multiple support points and the amino acids included in the target protein, and the support point-residue pair representation is used to characterize the positional relationship between each residue and each support point. Since the electronic device cannot know the positional relationship between the amino acid and the support point at the time of initialization, the support point-residue pair representation can be randomly initialized first. Exemplarily, a matrix whose horizontal and vertical coordinates represent the support point coordinates and the amino acid type respectively can be initialized, and then the element value of each element in the matrix is randomly generated. Among them, the element value is used to characterize the corresponding support point coordinates and the position correspondence of each type of amino acid.
[0140] Optionally, the electronic device randomly initializes the element value of each element in the matrix to have the same length, and the value can be the same or different. Alternatively, after initializing the matrix, the electronic device can also fill in any information as an element value into each element in the matrix. For example, the amino acid type code with a length of 21 corresponding to each amino acid can be filled in as an element value into the matrix to obtain a tensor The support point-residue pair representation obtained as the initialization.
[0141] Step S50, inputting the support point pair representation, the residue pair representation and the support point-residue pair representation into the trained structure correction model to obtain a corrected three-dimensional atomic model of the target protein.
[0142] In a possible implementation, after obtaining the support point pair representation, residue pair representation, and initialized support point-residue pair representation of the target protein, the electronic device corrects the initial atomic model based on the above three representations through the trained structure correction model, and outputs the corrected accurate three-dimensional atomic model of the target protein. Optionally, in order to obtain an accurate three-dimensional atomic model through a simple structure correction model, multiple corrections can be iterated through the structure correction model to deeply extract features in the support point pair representation and fuse them into the residue pair representation.
[0143] Optionally, the process of multiple corrections by the electronic device based on the structure correction model may include performing at least one structure correction based on the input support point pair representation, residue pair representation and support point-residue pair through the structure correction model, and outputting updated support point pair representation, residue pair representation and support point-residue pair representation, and candidate atomic models after each structure correction. In response to the fact that this structural correction is not the last structural correction process, the support point pair representation, residue pair representation and support point-residue pair representation, candidate atomic models, and the updated support point pair representation, residue pair representation and support point-residue pair representation input for the next structural correction process are determined based on the support point pair representation, residue pair representation and support point-residue pair representation input by this model. In response to the fact that this structural correction is the last structural correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0144] That is to say, the electronic device can preset the number of structural corrections. During each structural correction process, the structural correction model will output four outputs: updated support point pair representation, residue pair representation, support point-residue pair representation, and candidate atomic model. After each correction, it is determined whether this structural correction is the last correction process based on the current number of corrections and the preset number of structural corrections. When this structural correction is not the last correction process, the three inputs of the next structural correction are determined based on the three inputs and four outputs of this structural correction. When this structural correction is the last correction process, the candidate atomic model in the output result of this structural correction is determined to be the final output three-dimensional atomic model.
[0145] Optionally, the structure correction model may include a feature fusion module for feature fusion and a structure correction module for correcting the protein atomic model. In each structure correction process, the support point pair representation, residue pair representation and support point-residue pair representation of this correction process are input into the feature fusion module, and the support point pair representation, residue pair representation and support point-residue pair representation after feature fusion are output. The sequence representation is determined according to the residue pair representation after feature fusion. The sequence representation and the residue pair representation after feature fusion are input into the structure correction module, and the corrected candidate atomic model is output. Among them, since the residue pair representation is a matrix, the diagonal in the residue pair representation matrix after feature fusion can be directly determined as the sequence representation.
[0146] Figure 3 FIG. 1 is a schematic diagram showing a process of determining a three-dimensional atomic model according to an embodiment of the present disclosure. Figure 3 As shown, the electronic device can pre-set the number of structural corrections to 3. The residue pairs determined by the initial atomic model are represented (N r , N r , c), the support point pair representation determined by multiple support points extracted from the three-dimensional density map (N p , N p , c) and the initial support point-residue pair representation (N p , N r , c) as the input of the structure correction model of the first structure correction process, after the first two structure corrections, the input of the next structure correction process is determined together with the output support point pair representation, residue pair representation and support point-residue pair representation and the atomic model according to this input, and the atomic model output after the third structure correction is determined to be a three-dimensional atomic model. Among them, in each structure correction process, the input support point pair representation, residue pair representation and support point-residue pair representation are feature fused by the feature fusion module therein, and the residue pair representation, support point pair representation and support point-residue pair representation after feature fusion are output. The atomic model obtained in this correction process is determined by the structure correction module based on the residue pair representation after feature fusion and the sequence representation determined by the residue pair representation after feature fusion.
[0147] In a possible implementation, after each structural correction, the electronic device can determine the input for the next structural correction by calculating a weighted sum. That is, the corresponding model residue pair representation is determined according to the candidate atomic model output this time. The residue pair representation input for the next structural correction process is determined according to the weighted sum of the model residue pair representation, the residue pair representation of the current model input, and the updated residue pair representation. The support point pair representation input for the next structural correction process is determined according to the weighted sum of the support point pair representation of the current model input and the updated support point pair representation. The support point-residue pair representation input for the next structural correction process is determined according to the weighted sum of the support point-residue pair representation of the current model input and the updated support point-residue pair representation.
[0148] Figure 4 FIG. 1 is a schematic diagram showing a working process of a feature fusion module according to an embodiment of the present disclosure. Figure 4 As shown, the feature fusion module in the structure correction model can also include a row-wise gated self-attention module with pair bias, a column-wise gated self-attention module, a transition module, an outer product mean module, a triangle update module based on outgoing edges, a triangle update module based on incoming edges, a triangle update module around the starting node, and a triangle update module around the ending node. Among them, the row-based gated self-attention module with pair bias is used to perform feature fusion on the residue pair representation and the support point-residue pair representation. The row-based gated self-attention module is used to perform feature fusion on the support point pair representation and the support point-residue pair representation. The outer product mean module is used to transfer the features of the support point-residue pair representation after feature fusion to the residue pair representation and the support point pair representation respectively. The outgoing-edge-based triangle update module, the incoming-edge-based triangle update module, the starting-node-around-the-starting-node-around-the-ending-node triangle update module are used to modify the residue pair representation or the support point pair representation according to the input residue pair representation or the support point pair representation and the fused support point-residue pair representation to obtain the residue pair representation or the support point pair representation after feature fusion.
[0149] In a possible implementation, the training process of the structure correction model can be implemented based on the three-dimensional density map, initial atomic model and true atomic model corresponding to multiple sample proteins. That is, the three-dimensional density map corresponding to each sample protein and the support point pair representation, residue pair representation and support point-residue pair representation determined by the initial atomic model can be used as the input of the structure correction model, and the model loss is determined and the model is adjusted according to the three-dimensional atomic model finally output by the model, the true atomic model of the sample protein, and the support point pair representation, residue pair representation and support point-residue pair representation.
[0150] Among them, the three-dimensional density map and initial atomic model of the sample protein can be obtained in the PDB database (Protein Structure Database, Protein Data Bank). Optionally, the three-dimensional density map can be a density map with a resolution greater than a preset resolution in the PDB database. Multiple corresponding initial atomic models can be determined for each sample protein, and each initial atomic model can be determined by artificial modeling and AlphaFold2 prediction. The process of artificial modeling is to use the artificially modeled atomic model of each sample protein in the PDB to find a long loop region with a length of more than 25 amino acids in the atomic model through its secondary structure. Further, by comparing the Ca atomic distance with the preset distance, it is determined whether the two ends of the loop region interact. If the two ends of the loop region do not interact, an amino acid is randomly selected in the loop region, and its ψ or φ angle is slightly rotated less than the preset angle, and the atomic model after the rotation is required to have no conformational conflict. In this way, multiple initial atomic models corresponding to each sample protein can be randomly generated. The method of determining the initial atomic model through AlphaFold2 prediction is to first construct a multiple sequence alignment of each sample protein using AlphaFold2's MSA and template search method, and require that the searched template is earlier than the public time of the model. Then, use multiple models of AlphaFold2 to predict multiple structures as the initial atomic models.
[0151] Optionally, the loss function of the structure correction model training process of the embodiment of the present disclosure may include multiple losses. Exemplarily, the loss function may include the backbone / side chain FAPE (Frame Aligned Point Error) Loss for optimizing the structure correction module, and the residue distance loss, support point-residue distance loss, support point loss and residue loss for optimizing the feature fusion module. Among them, the concept of the FAPE loss function comes from AlphaFold2, which refers to the error value of other residues in a coordinate system with a certain residue as the origin. This loss function has the characteristics of translation and rotation invariance because it does not depend on the global coordinate system. It has good properties in supervised learning of protein structure prediction and can be determined by inputting the three-dimensional density map predicted by the model and the true density map into FAPE to obtain the output loss. The process of determining the residue distance loss follows the implementation method of AlphaFold2, and uses the residue pair representation output by the last layer of the feature fusion module. Directly predict the C of any two amino acids by linear change β The distance between atoms is discretized into 22 classes and the cross entropy loss is calculated with the label value. The support point-residue distance loss is determined by using the support point-residue pair representation output by the last layer of the feature fusion module. The distance between any support point and all residues is calculated by linear transformation. The distance is discretized into 22 classes and the cross entropy loss is calculated with the label value. The support point loss is determined by using the support point-residue pair representation output by the last layer of the feature fusion module. Through aggregation and linear change operations, it is predicted whether each support point has a corresponding relationship with any residue in the current input. The process of determining the residue loss is to use the support point-residue pair representation output by the last layer of the feature fusion module Through aggregation and linear change operations, it is predicted whether each residue has a corresponding relationship with any current support point.
[0152] Furthermore, cryo-electron microscopy, which obtains three-dimensional density images, is good at resolving the structure of large protein complexes, and many protein complexes belong to homopolymers, that is, there are multiple chains with exactly the same sequence. Therefore, there may be multiple subsets of support points in homopolymers (i.e., points corresponding to each protein sequence) that can correspond to the initial atomic model. Therefore, during the model training process, if the initial atomic model comes from a homopolymer, when calculating the support point-residue distance loss, the support points corresponding to all copies in the initial atomic model can be used as labels.
[0153] Figure 5 FIG. 1 shows a rendering of a three-dimensional atomic model according to an embodiment of the present disclosure. Figure 5 As shown, when the initial atomic model and the protein folding structure displayed by the three-dimensional density map are quite different (TM value is 0.65), the three-dimensional atomic model is obtained by adjusting the Phenix method of the prior art and the scheme of the embodiment of the present disclosure. Among them, the three-dimensional atomic model effect obtained by the Phenix method is more different from the protein folding structure displayed by the three-dimensional density map (TM value is 0.53), while the three-dimensional atomic model obtained by the method of this scheme is significantly different from the protein folding structure displayed by the three-dimensional density map (TM value is 0.98), that is, the accuracy of the predicted protein folding structure is significantly improved. Among them, the TM value is used to characterize the difference between the atomic model and the protein folding structure in the three-dimensional density map. The larger the TM value, the smaller the difference, and the smaller the TM value, the greater the difference.
[0154] Based on the above technical features, the disclosed embodiment corrects the positional relationship between amino acids based on the positional relationship between support points and the positional relationship between support points and amino acids, thereby correcting the atomic model, obtaining an accurate three-dimensional atomic model, and improving the accuracy of the target protein atomic model. This method can directly adjust the atomic model of the target protein end-to-end according to the characteristics of the three-dimensional density map when the atomic model obtained by predicting the protein structure is significantly different from the three-dimensional density map. The implementation method is simple and efficient.
[0155] Figure 6 FIG. 2 is a schematic diagram of a protein atomic model determination device according to an embodiment of the present disclosure. Figure 6 As shown, the protein atomic model determination device of the embodiment of the present disclosure includes:
[0156] A model determination module 60 is used to obtain a three-dimensional density map and an initial atomic model of the target protein;
[0157] A first representation determination module 61 is used to sample support points according to the three-dimensional density map, and determine a support point pair representation according to the support point coordinates, wherein the support point pair representation is used to characterize the positional relationship between every two support points;
[0158] A second representation determination module 62, used to determine a residue pair representation according to the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship between every two amino acids in the target protein in the initial atomic model;
[0159] A third representation determination module 63, configured to initialize a support point-residue pair representation according to the support point coordinates and the amino acid type contained in the target protein, wherein the support point-residue pair representation is used to characterize the corresponding relationship between each residue and each support point;
[0160] The model correction module 64 is used to input the support point pair representation, the residue pair representation and the support point-residue pair representation into the trained structure correction model to obtain a corrected three-dimensional atomic model of the target protein.
[0161] In a possible implementation, the model determination module 60 is further configured to:
[0162] Collecting a cryo-electron microscopy image of the target protein to obtain a corresponding three-dimensional density map;
[0163] An initial atomic model is determined according to the amino acid sequence of the target protein.
[0164] In a possible implementation, the first representation determining module 61 is further configured to:
[0165] Screening a plurality of three-dimensional points included in the three-dimensional density map to obtain a preset number of support points;
[0166] A support point pair representation is determined according to the spatial coordinate position of each of the support points.
[0167] In a possible implementation, the first representation determining module 61 is further configured to:
[0168] Determining the probability value of the position of each pixel point in the three-dimensional density map being the position of the target protein skeleton;
[0169] A preset number of pixel points are randomly sampled as support points from a plurality of pixel points whose corresponding probability values are greater than a probability threshold.
[0170] In a possible implementation, the first representation determining module 61 is further configured to:
[0171] Normalizing the three-dimensional density map;
[0172] The normalized three-dimensional density map is output to the trained skeleton prediction model to obtain a skeleton density map of the same size as the three-dimensional density map, wherein the pixel value of each pixel point in the skeleton density map is a probability value that the position of the corresponding pixel point in the three-dimensional density map is the position of the target protein skeleton.
[0173] In a possible implementation, the first representation determining module 61 is further configured to:
[0174] Performing grid sampling in the three-dimensional density map with a preset step size to obtain a plurality of candidate pixel points;
[0175] A preset number of pixel points are randomly sampled as support points from a plurality of candidate pixel points whose corresponding probability values are greater than a probability threshold.
[0176] In a possible implementation, the first representation determining module 61 is further configured to:
[0177] Calculate the spatial position distance between each two support points, as well as the relative displacement in the three coordinate directions of X, Y, and Z;
[0178] The support point pair representation is determined according to the spatial position distance between every two of the support points and the three relative displacements.
[0179] In a possible implementation, the second representation determining module 62 is further configured to:
[0180] Determine the position of a target atom of each amino acid in the target protein in the initial atomic model;
[0181] The residue pair representation is determined based on the position of the target atom in each of the amino acids.
[0182] In a possible implementation, determining the residue pair representation according to the position of the target atom in each of the amino acids comprises:
[0183] Calculate the spatial position distance between each two target atoms, as well as the relative displacement in the three coordinate directions of X, Y, and Z;
[0184] The support point pair representation is determined according to the spatial position distance between every two target atoms and the three relative displacements.
[0185] In a possible implementation, the target atom is C α atom.
[0186] In a possible implementation, the third representation determination module 63 is further configured to:
[0187] Initialize a matrix whose horizontal and vertical coordinates represent the coordinates of the support points and the types of amino acids respectively;
[0188] The element value of each element in the matrix is randomly generated, and the element value is used to characterize the corresponding relationship between the coordinates of the corresponding support point and each type of amino acid.
[0189] In a possible implementation, the model correction module 64 is further configured to:
[0190] Performing at least one structural correction based on the input support point pair representation, the residue pair representation and the support point-residue pair by the structural correction model, and outputting updated support point pair representation, residue pair representation and support point-residue pair representation, as well as candidate atomic models after each structural correction;
[0191] In response to the fact that the current structure correction is not the last structure correction process, the support point pair representation, residue pair representation and support point-residue pair representation input for the next structure correction process are determined according to the support point pair representation, residue pair representation and support point-residue pair representation of the current model input, the candidate atomic model, and the updated support point pair representation, residue pair representation and support point-residue pair representation;
[0192] In response to the fact that this structural correction is the last structural correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0193] In a possible implementation, the structure correction model includes a feature fusion module and a structure correction module;
[0194] Each structural correction process includes:
[0195] Inputting the support point pair representation, the residue pair representation and the support point-residue pair representation of this correction process into the feature fusion module, and outputting the support point pair representation, the residue pair representation and the support point-residue pair representation after feature fusion;
[0196] determining a sequence representation based on the residue pair representations fused with the features;
[0197] The sequence representation and the residue pair representation after the feature fusion are input into the structure correction module, and the corrected candidate atomic model is output.
[0198] In a possible implementation, determining the sequence representation according to the residue pair representation after the feature fusion includes:
[0199] The diagonal in the residue pair representation matrix after the feature fusion is determined to be the sequence representation.
[0200] In a possible implementation, the model correction module 64 is further configured to:
[0201] Determining corresponding model residue pair representations according to the candidate atomic model;
[0202] Determining the residue pair representation input for the next structure correction process according to the weighted sum of the model residue pair representation, the residue pair representation input for the current model, and the updated residue pair representation;
[0203] Determine the support point pair representation input for the next structural correction process according to the weighted sum of the support point pair representation input for this model and the updated support point pair representation;
[0204] The support point-residue pair representation input for the next structure correction process is determined according to the weighted sum of the support point-residue pair representation input for this model and the updated support point-residue pair representation.
[0205] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0206] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.
[0207] An embodiment of the present disclosure further proposes an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.
[0208] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0209] Figure 7 A schematic diagram of an electronic device 800 according to an embodiment of the present disclosure is shown. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0210] Reference Figure 7 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0211] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0212] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0213] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0214] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0215] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0216] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0217] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0218] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0219] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0220] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above method.
[0221] Figure 8 1 is a schematic diagram showing an electronic device 1900 according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server or a terminal device. Figure 8 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0222] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0223] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to perform the above method.
[0224] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0225] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0226] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0227] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0228] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0229] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0230] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0231] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0232] The embodiments of the present disclosure 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 technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for determining a protein atomic model, It is characterized in that The method comprises: Obtain the three-dimensional density map and initial atomic model of the target protein; Sampling support points according to the three-dimensional density map, and determining support point pair representations according to the support point coordinates, wherein the support point pair representations are used to characterize the positional relationship between every two of the support points; Determine a residue pair representation according to the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship between every two amino acids in the target protein in the initial atomic model; Initialize a support point-residue pair representation according to the support point coordinates and the amino acid type contained in the target protein, wherein the support point-residue pair representation is used to characterize the corresponding relationship between each residue and each support point; The support point pair representation, the residue pair representation and the support point-residue pair representation are input into the trained structure correction model to obtain the corrected three-dimensional atomic model of the target protein.
2. The method according to claim 1, It is characterized in that The step of obtaining a three-dimensional density map and an initial atomic model of the target protein comprises: Collecting a cryo-electron microscopy image of the target protein to obtain a corresponding three-dimensional density map; An initial atomic model is determined according to the amino acid sequence of the target protein.
3. The method according to claim 1 or 2, It is characterized in that The sampling of support points according to the three-dimensional density map and determining support point pair representations according to the support point coordinates include: Screening a preset number of support points from a plurality of three-dimensional points included in the three-dimensional density map; A support point pair representation is determined according to the spatial coordinate position of each of the support points.
4. The method according to claim 3, It is characterized in that The step of selecting a preset number of support points from a plurality of three-dimensional points included in the three-dimensional density map comprises: Determining the probability value of the position of each pixel point in the three-dimensional density map being the position of the target protein skeleton; A preset number of pixel points are randomly sampled as support points from a plurality of pixel points whose corresponding probability values are greater than a probability threshold.
5. The method according to claim 4, It is characterized in that Determining the probability value of the position of each pixel point in the three-dimensional density map being the position of the target protein skeleton includes: Normalizing the three-dimensional density map; The normalized three-dimensional density map is output to the trained skeleton prediction model to obtain a skeleton density map of the same size as the three-dimensional density map, wherein the pixel value of each pixel point in the skeleton density map is a probability value that the position of the corresponding pixel point in the three-dimensional density map is the position of the target protein skeleton.
6. The method according to claim 4 or 5, It is characterized in that The randomly sampling a preset number of pixel points from a plurality of pixel points whose corresponding probability values are greater than a probability threshold as support points includes: Performing grid sampling in the three-dimensional density map with a preset step size to obtain a plurality of candidate pixel points; A preset number of pixel points are randomly sampled as support points from a plurality of candidate pixel points whose corresponding probability values are greater than a probability threshold.
7. The method according to any one of claims 3 to 6, It is characterized in that The step of determining the support point pair representation according to the spatial coordinate position of each support point comprises: Calculate the spatial position distance between each two support points, as well as the relative displacement in the three coordinate directions of X, Y, and Z; The support point pair representation is determined according to the spatial position distance between every two of the support points and the three relative displacements.
8. The method according to any one of claims 1 to 7, It is characterized in that Determining the residue pair representation according to the initial atomic model comprises: Determine the position of a target atom of each amino acid in the target protein in the initial atomic model; The residue pair representation is determined based on the position of the target atom in each of the amino acids.
9. The method according to claim 8, It is characterized in that Determining the residue pair representation according to the position of the target atom in each of the amino acids comprises: Calculate the spatial position distance between each two target atoms, as well as the relative displacement in the three coordinate directions of X, Y, and Z; The support point pair representation is determined according to the spatial position distance between every two target atoms and the three relative displacements.
10. The method according to claim 8 or 9, It is characterized in that The target atom is C α atom.
11. The method according to any one of claims 1 to 10, It is characterized in that The initializing the support point-residue pair representation according to the support point coordinates and the amino acid types contained in the target protein comprises: Initialize a matrix whose horizontal and vertical coordinates represent the coordinates of the support points and the types of amino acids respectively; The element value of each element in the matrix is randomly generated, and the element value is used to characterize the corresponding relationship between the coordinates of the corresponding support point and each type of amino acid.
12. The method according to any one of claims 1 to 11, It is characterized in that The step of inputting the support point pair representation, the residue pair representation and the support point-residue pair representation into the trained structure correction model to obtain the corrected three-dimensional atomic model of the target protein comprises: Performing at least one structural correction based on the input support point pair representation, the residue pair representation and the support point-residue pair by the structural correction model, and outputting updated support point pair representation, residue pair representation and support point-residue pair representation, as well as candidate atomic models after each structural correction; In response to the fact that the current structure correction is not the last structure correction process, the support point pair representation, residue pair representation and support point-residue pair representation input for the next structure correction process are determined according to the support point pair representation, residue pair representation and support point-residue pair representation of the current model input, the candidate atomic model, and the updated support point pair representation, residue pair representation and support point-residue pair representation; In response to the fact that this structural correction is the last structural correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
13. The method according to claim 12, It is characterized in that The structure correction model includes a feature fusion module and a structure correction module; Each structural correction process includes: Inputting the support point pair representation, the residue pair representation and the support point-residue pair representation of this correction process into the feature fusion module, and outputting the support point pair representation, the residue pair representation and the support point-residue pair representation after feature fusion; determining a sequence representation based on the residue pair representations fused with the features; The sequence representation and the residue pair representation after the feature fusion are input into the structure correction module, and the corrected candidate atomic model is output.
14. The method according to claim 12 or 13, It is characterized in that The determining of the sequence representation according to the residue pair representation after the feature fusion comprises: The diagonal in the residue pair representation matrix after the feature fusion is determined to be the sequence representation.
15. The method according to any one of claims 12 to 14, It is characterized in that The step of determining the support point pair representation, residue pair representation and support point-residue pair representation input for the next structure correction process according to the support point pair representation, residue pair representation and support point-residue pair representation, the candidate atomic model, and the updated support point pair representation, residue pair representation and support point-residue pair representation input for the current model correction process comprises: Determining corresponding model residue pair representations according to the candidate atomic model; Determining the residue pair representation input for the next structure correction process according to the weighted sum of the model residue pair representation, the residue pair representation input for the current model, and the updated residue pair representation; Determine the support point pair representation input for the next structural correction process according to the weighted sum of the support point pair representation input for this model and the updated support point pair representation; The support point-residue pair representation input for the next structure correction process is determined according to the weighted sum of the support point-residue pair representation input for this model and the updated support point-residue pair representation.
16. A device for determining a protein atomic model, It is characterized in that The device comprises: A model determination module is used to obtain a three-dimensional density map and an initial atomic model of the target protein; A first representation determination module is used to sample support points according to the three-dimensional density map, and determine support point pair representations according to the support point coordinates, wherein the support point pair representations are used to characterize the positional relationship between every two of the support points; A second representation determination module is used to determine a residue pair representation according to the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship between every two amino acids in the target protein in the initial atomic model; A third representation determination module, configured to initialize a support point-residue pair representation according to the support point coordinates and the amino acid type contained in the target protein, wherein the support point-residue pair representation is used to characterize the corresponding relationship between each of the residues and each of the support points; The model correction module is used to input the support point pair representation, the residue pair representation and the support point-residue pair representation into the trained structure correction model to obtain the corrected three-dimensional atomic model of the target protein.
17. An electronic device, It is characterized in that include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method described in any one of claims 1 to 15 when executing the instructions stored in the memory.
18. A non-volatile computer readable storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 15 is implemented.
Citation Information
Patent Citations
A population protein structure prediction method based on dynamic abstract convex lower bound estimation
CN109285585A
Protein electron density map processing method and device, electronic equipment and storage medium
CN115240044A
Protein three-dimensional structure modeling method and device, electronic equipment and storage medium
CN115497553A
Processing method and device for optimizing molecular structure based on three-dimensional atomic density map
CN115691658A
Method and system for protein modeling
US5453937A
