Protein atom model determination method and apparatus, electronic device, and storage medium
By using a calibration model based on sampling support points and amino acid positional relationships, the manual modeling process of cryo-electron microscopy was optimized, solving the problems of time-consuming and labor-intensive processes and difficulty in automatically building accurate models in existing technologies, and achieving efficient and accurate generation of protein atomic models.
Patent Information
- Application Number
- CN202310259625.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-03-10
AI Technical Summary
Existing cryo-electron microscopy manual modeling methods are time-consuming and labor-intensive, and it is difficult to automatically build accurate protein atomic models when the resolution is low or the density map is large. The modeling difficulty increases significantly, especially when a suitable structural template cannot be found.
By acquiring the three-dimensional density map and initial atomic model of the target protein, sampling support points and determining the support point pair representation, and combining the amino acid positional relationships, the trained structure correction model is used for multiple corrections to optimize the positional relationships between amino acids, and finally an accurate three-dimensional atomic model is generated.
It improves the accuracy of protein atomic models, reduces the time and computational load of manual adjustments, and enhances the efficiency and accuracy of model building.
Smart Images

Figure CN118629488B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of structural biology, and more particularly to a method, apparatus, electronic device, and storage medium for determining protein atomic models. Background Technology
[0002] The resolution revolution brought by cryo-electron microscopy (Cryo-EM) has significantly improved the resolution of protein 3D structure resolution, achieving near-atomic resolution. The ultimate goal of cryo-EM structure resolution is to obtain 3D models of protein molecules. However, constructing atomic models from Cryo-EM density maps is a time-consuming and labor-intensive process, resulting in nearly half of the density maps released in the EMDB database lacking atomic models. Although many methods exist for fully or semi-automated atomic model construction, manual adjustments remain essential due to limitations such as low resolution, large density maps, and unsatisfactory results. Current methods for manual cryo-EM modeling generally use amino acid sequences to predict atomic models using homology modeling or tools like AlphaFold2 as templates. Tools like Chimera and Phenix then map the templates to corresponding positions in the cryo-EM density map. When there is a significant difference between the shape of the atomic template and the density map structure, the template needs to be manually segmented into independent fragments, and each fragment needs to be manually aligned. Therefore, the difficulty of modeling increases dramatically when a suitable structural template cannot be found. Summary of the Invention
[0003] In view of this, this disclosure proposes a method, apparatus, electronic device and storage medium for determining protein atomic models, with the aim of obtaining accurate protein atomic models.
[0004] According to a first aspect of this 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] Support points are sampled based on the three-dimensional density map, and support point pairs are represented based on the coordinates of the support points. The support point pairs are used to characterize the positional relationship between every two support points.
[0007] Based on the initial atomic model, a residue pair representation is determined, wherein the residue pair representation is used to characterize the positional relationship of each two amino acids in the target protein in the initial atomic model;
[0008] The support point-residue pair representation is initialized based on the support point coordinates and the amino acid types contained in the target protein. The support point-residue pair representation is used to characterize the correspondence between each residue and each support point.
[0009] By inputting the support point pair representation, the residue pair representation, and the support point-residue pair representation into the trained structure correction model, the corrected three-dimensional atomic model of the target protein is obtained.
[0010] In one possible implementation, obtaining the three-dimensional density map and initial atomic model of the target protein includes:
[0011] Cryo-electron microscopy images of the target protein were acquired to obtain the corresponding three-dimensional density map;
[0012] An initial atomic model was determined based on the amino acid sequence of the target protein.
[0013] In one possible implementation, the step of sampling support points based on the three-dimensional density map and determining the support point pair representation based on the support point coordinates includes:
[0014] A predetermined number of support points are selected from the multiple three-dimensional points included in the three-dimensional density map;
[0015] The support point pair is represented based on the spatial coordinate position of each support point.
[0016] In one possible implementation, the step of selecting a predetermined number of support points from the plurality of three-dimensional points included in the three-dimensional density map includes:
[0017] The probability value that the position of each pixel in the three-dimensional density map is the location of the target protein backbone is determined;
[0018] A preset number of pixels are randomly sampled from multiple pixels whose probability values are greater than the probability threshold as support points.
[0019] In one possible implementation, determining the probability value that the position of each pixel in the three-dimensional density map is the location of the target protein backbone includes:
[0020] The three-dimensional density map is normalized.
[0021] The normalized 3D density map is output to the trained backbone prediction model to obtain a backbone density map with the same size as the 3D density map. The pixel value of each pixel in the backbone density map is the probability value that the position of the corresponding pixel in the 3D density map is the location of the target protein backbone.
[0022] In one possible implementation, randomly sampling a preset number of pixels as support points from among multiple pixels whose corresponding probability values are greater than a probability threshold includes:
[0023] Mesh sampling is performed on the three-dimensional density map at a preset step size to obtain multiple candidate pixels;
[0024] A preset number of pixels are randomly sampled from multiple candidate pixels whose corresponding probability values are greater than the probability threshold as support points.
[0025] In one possible implementation, determining the support point pair representation based on the spatial coordinate position of each support point includes:
[0026] Calculate the spatial distance between every two support points, and their relative displacement in the X, Y, and Z coordinate directions;
[0027] The support point pair is represented based on the spatial distance between each pair of support points and three relative displacements.
[0028] In one possible implementation, determining the residue pair representation based on the initial atomic model includes:
[0029] Determine the position of the target atom for each amino acid in the target protein within the initial atomic model;
[0030] Residue pairs are represented based on the position of the target atom in each amino acid.
[0031] In one possible implementation, determining the residue pair representation based on the position of the target atom in each amino acid includes:
[0032] Calculate the spatial distance between every two target atoms, as well as their relative displacement in the X, Y, and Z coordinate directions;
[0033] The support point pair representation is determined based on the spatial distance between each two target atoms and three relative displacements.
[0034] In one possible implementation, the target atom is C. α atom.
[0035] In one possible implementation, initializing the support point-residue pair representation based on the support point coordinates and the amino acid types contained in the target protein includes:
[0036] Initialize a matrix whose horizontal and vertical axes represent the coordinates of the support points and the amino acid type, respectively;
[0037] The element value of each element in the matrix is randomly generated. The element value is used to characterize the coordinates of the corresponding support point and the correspondence of each type of amino acid.
[0038] In one possible implementation, 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 includes:
[0039] The structure correction model performs at least one structure correction based on the input support point pair representation, residue pair representation, and support point-residue pair, and outputs the updated support point pair representation, residue pair representation, and support point-residue pair representation, as well as the candidate atom model after each structure correction.
[0040] 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 for the next structural correction process are determined based on the support point pair representation, residue pair representation, and support point-residue pair representation, the candidate atom model, and the updated support point pair representation, residue pair representation, and support point-residue pair representation.
[0041] Since this structure correction is the last structure correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0042] In one possible implementation, the structural correction model includes a feature fusion module and a structural correction module;
[0043] Each structural correction process includes:
[0044] 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 feature fusion-derived support point pair representation, residue pair representation, and support point-residue pair representation are output.
[0045] The sequence representation is determined based on the residue pairs after the feature fusion;
[0046] The residue pair representation after fusing the sequence representation and the feature representation is input into the structure correction module, and the corrected candidate atom model is output.
[0047] In one possible implementation, determining the sequence representation based on the residue pair representation after feature fusion includes:
[0048] The diagonal of the residue pair representation matrix after feature fusion is determined to be a sequence representation.
[0049] In one possible implementation, determining the support point pair representation, residue pair representation, and support point-residue pair representation for the next structure correction process input based on the support point pair representation, residue pair representation, and support point-residue pair representation, the candidate atom model, and the updated support point pair representation, residue pair representation, and support point-residue pair representation, as input to the current model, includes:
[0050] The corresponding model residue pairs are determined based on the candidate atom models;
[0051] The residue pair representation to be input for the next structure correction process is determined by a weighted sum of the model residue pair representation, the residue pair representation input to the current model, and the updated residue pair representation.
[0052] The support point pair representation to be input for the next structural correction process is determined by the weighted sum of the support point pair representation input in the current model input and the updated support point pair representation.
[0053] The support point-residue pair representation to be input for the next structure correction process is determined by the weighted sum of the support point-residue pair representation input in the current model input and the updated support point-residue pair representation.
[0054] According to a second aspect of this disclosure, a protein atomic model determining apparatus is provided, the apparatus comprising:
[0055] The model determination module is used to obtain the three-dimensional density map and initial atomic model of the target protein;
[0056] The 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. The support point pair representations are used to characterize the positional relationship between every two support points.
[0057] The second representation determination module is used to determine the residue pair representation based on the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship of every two amino acids in the target protein in the initial atomic model;
[0058] The third representation determination module is used to initialize a support point-residue pair representation based on the support point coordinates and the amino acid types contained in the target protein. The support point-residue pair representation is used to characterize the correspondence between each residue and each support point.
[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 one possible implementation, the model determination module is further configured to:
[0061] Cryo-electron microscopy images of the target protein were acquired to obtain the corresponding three-dimensional density map;
[0062] An initial atomic model was determined based on the amino acid sequence of the target protein.
[0063] In one possible implementation, the first representation determining module is further configured to:
[0064] A predetermined number of support points are selected from the multiple three-dimensional points included in the three-dimensional density map;
[0065] The support point pair is represented based on the spatial coordinate position of each support point.
[0066] In one possible implementation, the first representation determining module is further configured to:
[0067] The probability value that the position of each pixel in the three-dimensional density map is the location of the target protein backbone is determined;
[0068] A preset number of pixels are randomly sampled from multiple pixels whose probability values are greater than the probability threshold as support points.
[0069] In one possible implementation, the first representation determining module is further configured to:
[0070] The three-dimensional density map is normalized.
[0071] The normalized 3D density map is output to the trained backbone prediction model to obtain a backbone density map with the same size as the 3D density map. The pixel value of each pixel in the backbone density map is the probability value that the position of the corresponding pixel in the 3D density map is the location of the target protein backbone.
[0072] In one possible implementation, the first representation determining module is further configured to:
[0073] Mesh sampling is performed on the three-dimensional density map at a preset step size to obtain multiple candidate pixels;
[0074] A preset number of pixels are randomly sampled from multiple candidate pixels whose corresponding probability values are greater than the probability threshold as support points.
[0075] In one possible implementation, the first representation determining module is further configured to:
[0076] Calculate the spatial distance between every two support points, and their relative displacement in the X, Y, and Z coordinate directions;
[0077] The support point pair is represented based on the spatial distance between each pair of support points and three relative displacements.
[0078] In one possible implementation, the second representation determining module is further configured to:
[0079] Determine the position of the target atom for each amino acid in the target protein within the initial atomic model;
[0080] Residue pairs are represented based on the position of the target atom in each amino acid.
[0081] In one possible implementation, determining the residue pair representation based on the position of the target atom in each amino acid includes:
[0082] Calculate the spatial distance between every two target atoms, as well as their relative displacement in the X, Y, and Z coordinate directions;
[0083] The support point pair representation is determined based on the spatial distance between each two target atoms and three relative displacements.
[0084] In one possible implementation, the target atom is C. α atom.
[0085] In one possible implementation, the third representation determining module is further configured to:
[0086] Initialize a matrix whose horizontal and vertical axes represent the coordinates of the support points and the amino acid type, respectively;
[0087] The element value of each element in the matrix is randomly generated. The element value is used to characterize the coordinates of the corresponding support point and the correspondence of each type of amino acid.
[0088] In one possible implementation, the model correction module is further configured to:
[0089] The structure correction model performs at least one structure correction based on the input support point pair representation, residue pair representation, and support point-residue pair, and outputs the updated support point pair representation, residue pair representation, and support point-residue pair representation, as well as the candidate atom model after each structure correction.
[0090] 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 for the next structural correction process are determined based on the support point pair representation, residue pair representation, and support point-residue pair representation, the candidate atom model, and the updated support point pair representation, residue pair representation, and support point-residue pair representation.
[0091] Since this structure correction is the last structure correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0092] In one possible implementation, the structural correction model includes a feature fusion module and a structural correction module;
[0093] Each structural correction process includes:
[0094] 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 feature fusion-derived support point pair representation, residue pair representation, and support point-residue pair representation are output.
[0095] The sequence representation is determined based on the residue pairs after the feature fusion;
[0096] The residue pair representation after fusing the sequence representation and the feature representation is input into the structure correction module, and the corrected candidate atom model is output.
[0097] In one possible implementation, determining the sequence representation based on the residue pair representation after feature fusion includes:
[0098] The diagonal of the residue pair representation matrix after feature fusion is determined to be a sequence representation.
[0099] In one possible implementation, the model correction module is further configured to:
[0100] The corresponding model residue pairs are determined based on the candidate atom models;
[0101] The residue pair representation to be input for the next structure correction process is determined by a weighted sum of the model residue pair representation, the residue pair representation input to the current model, and the updated residue pair representation.
[0102] The support point pair representation to be input for the next structural correction process is determined by the weighted sum of the support point pair representation input in the current model input and the updated support point pair representation.
[0103] The support point-residue pair representation to be input for the next structure correction process is determined by the weighted sum of the support point-residue pair representation input in the current model input and the updated support point-residue pair representation.
[0104] According to a third aspect of this 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-described method when executing instructions stored in the memory.
[0105] According to a fourth aspect of this disclosure, a non-volatile computer-readable storage medium is provided that stores computer program instructions thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
[0106] According to a fifth aspect of this disclosure, a computer program product is provided, including computer-readable code or a non-volatile computer-readable storage medium carrying the computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described method.
[0107] In this embodiment, a three-dimensional density map and an initial atomic model of the target protein are obtained. Based on multiple support points in the three-dimensional density map, a support point pair representation characterizing the positional relationship between every two support points is determined. Based on the initial atomic model, a residue pair representation characterizing the positional relationship between every two amino acids in the atomic model is determined. The support point-residue pair representation is initialized based on multiple support points and amino acids. The support point pair representation, residue pair representation, and support point-residue pair representation are input into a trained structure correction model to obtain a corrected three-dimensional atomic model of the target protein. This disclosure corrects the positional relationships between amino acids based on the positional relationships between support points and the positional relationships between support points and amino acids, thereby correcting the atomic model and obtaining an accurate three-dimensional atomic model, improving the accuracy of the target protein atomic model.
[0108] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0109] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.
[0110] Figure 1 A flowchart illustrating a method for determining a protein atomic model according to an embodiment of the present disclosure is shown.
[0111] Figure 2 A schematic diagram illustrating a process for obtaining support points according to an embodiment of the present disclosure is shown;
[0112] Figure 3 A schematic diagram illustrating a process for determining a three-dimensional atomic model according to an embodiment of the present disclosure is shown;
[0113] Figure 4 A schematic diagram illustrating the operation of a feature fusion module according to an embodiment of the present disclosure is shown.
[0114] Figure 5 This image shows a rendering of a three-dimensional atomic model according to an embodiment of the present disclosure;
[0115] Figure 6 A schematic diagram of a protein atom model determination apparatus according to an embodiment of the present disclosure is shown;
[0116] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present disclosure is shown;
[0117] Figure 8 A schematic diagram of another electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation
[0118] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.
[0119] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.
[0120] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.
[0121] In one possible implementation, the protein atom model determination method of this disclosure can be executed by an electronic device such as a terminal device or a server. The terminal device can be any fixed or mobile terminal such as user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, in-vehicle device, or wearable device. The server can be a single server or a server cluster consisting of multiple servers. Any electronic device can implement the protein atom model determination method of this disclosure by having its processor call computer-readable instructions stored in its memory.
[0122] Figure 1 A flowchart illustrating a method for determining a protein atomic model according to an embodiment of this disclosure is shown. Figure 1 As shown, the protein atom model determination method of this disclosure embodiment may include the following steps S10-S50.
[0123] Step S10: Obtain the three-dimensional density map and initial atomic model of the target protein.
[0124] In one possible implementation, a three-dimensional density map and an initial atomic model of the target protein can be acquired via an electronic device. The target protein can be represented by an amino acid sequence composed of multiple amino acids. The three-dimensional density map is an image of the three-dimensional folded structure of the amino acid sequence acquired via electron microscopy, and the initial atomic model is the predicted three-dimensional folded structure based on the type and sequence of each amino acid in the sequence. The three-dimensional density map and the initial atomic model of the target protein can be acquired by the electronic device through direct user input via interaction with the user, or by receiving the three-dimensional density map and initial atomic model sent by other devices. Alternatively, they can be determined by the electronic device based on the amino acid sequence of the target protein, or directly retrieved from the electronic device's connected or built-in memory.
[0125] Optionally, when the 3D density map and the initial atomic model are determined by electronic devices based on the target protein, the electronic devices can obtain the corresponding 3D density map by acquiring cryo-electron microscopy images of the target protein and determine the initial atomic model based on the amino acid sequence of the target protein. The cryo-electron microscopy image can be a 3D image of the spatial structure of the target protein acquired while it is frozen, and the initial atomic model can be obtained by inputting the amino acid sequence into tools such as AlphaFold2 for structure 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 the support point pair representation 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 shape W×H×L, where each pixel in the 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. Directly performing initial atomic model correction based on the three-dimensional density map, or performing atomic model correction based on the positional relationships between all feature points representing the target protein in the three-dimensional density map, requires a huge amount of computation. Furthermore, the atomic model correction process consumes a large amount of memory, affecting overall processing efficiency. Simultaneously, due to the three-dimensional density... Figure 1 The general structure is relatively sparse, with low density values in most areas. Even if atomic model correction is performed 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 3D density map, the electronic device can extract multiple feature points located near the target protein backbone in the 3D density map as support points, thereby representing the 3D density map through multiple support points. The number of support points acquired by the electronic device can be predetermined. Further, a support point pair representation indicating the positional relationship between every two support points can be determined based on the spatial coordinates of each support point, thus representing the 3D density map features through the positional relationship between every two support points. That is, after the electronic device acquires the 3D density map of the target protein, it can select a predetermined number of support points from the multiple 3D points included in the 3D density map, and then determine the support point pair representation based on the spatial coordinates of each support point. Optionally, the predetermined 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 predetermined number can be determined to be N, or the predetermined number can be determined to be the product of a predetermined 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 3D density map by first determining the probability value of each pixel in the 3D density map being the location of the target protein backbone, and then randomly sampling a preset number of pixels from multiple pixels whose probability values are greater than a probability threshold as support points. The probability value corresponding to each pixel can be determined by a pre-trained backbone prediction model. Specifically, after acquiring the 3D density map, the electronic device first performs a normalization process, which normalizes the pixel value of each pixel in the 3D density map to a value between 0 and 1. This can be achieved by linearly filling the space represented by each pixel to a preset unit. After normalization, the normalized 3D density map is output to the trained backbone prediction model, resulting in a backbone density map of the same size as the 3D density map. The pixel value of each pixel in the backbone density map is the probability value of the corresponding pixel in the 3D density map being the location of the target protein backbone. The backbone prediction model can be a 3D U-Net neural network model.
[0130] Optionally, after obtaining the skeleton density map corresponding to the 3D density map, the electronic device can first filter the pixels in the 3D density map based on the skeleton density map to obtain pixels with a probability value greater than a probability threshold. Then, it randomly samples the selected pixels to collect a preset number of pixels as support points. Further, to make the distribution of the acquired support points more uniform, the electronic device can first perform grid sampling in the 3D density map at a preset step size to obtain multiple candidate pixels. From these candidate pixels, it filters out multiple candidate pixels with a probability value greater than a probability threshold, and then randomly samples these candidate pixels to collect a preset number of candidate pixels as support points. The grid sampling process can be performed in the X, Y, and Z directions; that is, sampling is performed once every preset step size in any of the three directions. The multiple support points obtained by the electronic device can be represented by tensors. Where N p The number of support points is represented by 3, where 3 represents the coordinates of each support point in the X, Y, and Z directions.
[0131] Figure 2 A schematic diagram illustrating a process for obtaining support points according to an embodiment of the present disclosure is shown. Figure 2 As shown, the initial 3D density map of the target protein is a massive 3D image, and the corresponding backbone density map can be obtained through backbone prediction. Furthermore, based on the 3D density map and backbone density... Figure 1Simultaneously, support point sampling is performed to obtain multiple support points that can characterize the spatial location of the target protein backbone. Based on the above method, electronic devices can reduce the three-dimensional density image from tensors that are typically greater than 100,000 to tensors of 100 to 10,000 that match the number of amino acids in the target protein.
[0132] In one possible implementation, the electronic device, after determining multiple support points in the three-dimensional density image... The support point pair representation is determined by the spatial position between each pair of support points. For example, the spatial distance between each pair of support points, as well as their relative displacement in the X, Y, and Z coordinate directions, can be calculated. The support point pair representation is determined based on the spatial distance between each pair of support points and the three relative displacements. The spatial distance can be determined by calculating the Euclidean distance between the spatial coordinates of each pair of support points. The support point pair representation can be a matrix where both the horizontal and vertical axes represent each support point. Each position in the matrix contains a four-dimensional vector, with each dimension representing the spatial distance between the support point in the corresponding row and the support point in the corresponding column, as well as their relative displacement in the X, Y, and Z coordinate directions.
[0133] Optionally, the support point pair representation can be achieved using tensors. It means, s d1 Represents the unit vector between any two support points: s d2 Represents the Euclidean distance between any two support points:
[0134] Step S30: Determine the residue pair representation based on the initial atomic model.
[0135] In one possible implementation, after determining the initial atomic model corresponding to the target protein, the electronic device determines residue pairs used to characterize the positional relationship of each pair of amino acids in the target protein within the initial atomic model. The initial atomic model of the target protein can be represented by two tensors: N in superscript r The expression 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 coordinates of each atom within each amino acid in the target protein's amino acid sequence, and m is a mask tensor used to indicate whether a certain atom exists in each amino acid in the amino acid sequence.
[0136] Optionally, the spatial position of each amino acid can be characterized by the atomic positions that are always present in each amino acid, and the residue pair representation can be determined based on the spatial 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 within the initial atomic model, and determine the residue pair representation based on the position of the target atom of each amino acid. The target atom can be C... α An atom or an atom that is present 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 distance between target atoms in every two amino acids, as well as their relative displacement in the X, Y, and Z coordinate directions. Then, based on the spatial distance between target atoms in every two amino acids and the three relative displacements, it determines the support point pair representation. The spatial 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 where both the horizontal and vertical axes represent each amino acid. The value at each position in the matrix is a four-dimensional vector, with each dimension representing the spatial distance between the target atom in the corresponding row and the target atom in the corresponding column, as well as their relative displacement in the X, Y, and Z coordinate directions. Optionally, the residue pair representation can be achieved using a tensor. express.
[0138] Step S40: Initialize the support point-residue pair representation based on the support point coordinates and the amino acid types contained in the target protein.
[0139] In one possible implementation, after determining multiple support points in a three-dimensional density image, the electronic device can initialize a support-residue pair representation based on the multiple support points and the amino acids included in the target protein. This support-residue pair representation characterizes the positional relationship between each residue and each support point. Since the electronic device cannot know the positional relationship between amino acids and support points during initialization, the support-residue pair representation can be randomly initialized first. For example, a matrix can be initialized with its horizontal and vertical axes representing the support point coordinates and amino acid types, respectively, and then the element value of each element in the matrix can be randomly generated. The element value characterizes the positional correspondence between the corresponding support point coordinates and each type of amino acid.
[0140] Optionally, in the random initialization matrix of the electronic device, each element has the same length, and the values can be the same or different. Alternatively, after initializing the matrix, the electronic device can fill each element with arbitrary information as element values. For example, the 21-bit amino acid type code corresponding to each amino acid can be filled into the matrix as element values to obtain a tensor. This is represented as the support point-residue pair obtained from initialization.
[0141] Step S50: 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.
[0142] In one possible implementation, after acquiring the support point pair representation, residue pair representation, and initialized support point-residue pair representation of the target protein, the electronic device uses a trained structure correction model to correct the initial atomic model based on these three representations, outputting a corrected and accurate three-dimensional atomic model of the target protein. Optionally, to obtain an accurate three-dimensional atomic model using a structurally simple structure correction model, the structure correction model can be iteratively corrected multiple times to deeply extract features from the support point pair representation and fuse them into the residue pair representation.
[0143] Optionally, the process of multiple corrections based on the structure correction model by the electronic device may include performing at least one structure correction based on the input support point pair representation, residue pair representation, and support point-residue pair representation using the structure correction model, and outputting updated support point pair representation, residue pair representation, and support point-residue pair representation, as well as a candidate atomic model, after each structure correction. If the current structure correction is not the final structure correction process, the support point pair representation, residue pair representation, and support point-residue pair representation input to the current model, the candidate atomic model, and the updated support point pair representation, residue pair representation, and support point-residue pair representation are used to determine the support point pair representation, residue pair representation, and support point-residue pair representation input to the next structure correction process. If the current structure correction is the final structure correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0144] In other words, the electronic device can preset the number of structure corrections. During each structure correction process, the structure correction model outputs four types of outputs: updated support point pair representation, residue pair representation, support point-residue pair representation, and candidate atom model. After each correction, it is determined whether this is the final correction process based on the current number of corrections and the preset number of structure corrections. If this is not the final correction process, the three inputs and four outputs of this structure correction are used to determine the three inputs for the next structure correction. If this is the final correction process, the candidate atom model in the output of this structure correction is determined as 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. During each structure correction process, the support point pair representation, residue pair representation, and support point-residue pair representation of the current correction process are input into the feature fusion module, which outputs the feature-fused support point pair representation, residue pair representation, and support point-residue pair representation. The sequence representation is determined based on the feature-fused residue pair representation. The sequence representation and the feature-fused residue pair representation are input into the structure correction module, which outputs the corrected candidate atomic model. Since the residue pair representation is a matrix, the diagonal of the feature-fused residue pair representation matrix can be directly determined as the sequence representation.
[0146] Figure 3 A schematic diagram illustrating a process for determining a three-dimensional atomic model according to an embodiment of the present disclosure is shown. Figure 3 As shown, the electronic device can be preset to perform three structural corrections. The residue pairs determined by the initial atomic model are represented as (N... r N r c) Support point pairs determined by multiple support points extracted from the 3D density map (N) p N p c) and the initial support point-residue pair representation (N p N r c) As the input to the structure correction model for the first structure correction process, after the first two structure corrections, the input for the next structure correction process is determined based on the output support point pair representation, residue pair representation, and support point-residue pair representation, along with the atomic model based on this input. The atomic model output after the third structure correction is determined to be a three-dimensional atomic model. In each structure correction process, the feature fusion module performs feature fusion on the input support point pair representation, residue pair representation, and support point-residue pair representation, and outputs the feature-fused residue pair representation, support point pair representation, and support point-residue pair representation. The structure correction module determines the atomic model obtained in this correction process based on the sequence representation determined by the feature-fused residue pair representation and the feature-fused residue pair representation.
[0147] In one possible implementation, after each structure correction, the electronic device determines the input for the next structure correction by calculating a weighted sum. Specifically, it determines the corresponding model residue pair representation based on the candidate atom model output. The residue pair representation for the next structure correction is determined by a weighted sum of the model residue pair representation, the residue pair representation of the current model input, and the updated residue pair representation. Similarly, the support point pair representation for the next structure correction is determined by a 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 A schematic diagram illustrating the operation of a feature fusion module according to an embodiment of the present disclosure is shown. Figure 4 As shown, the feature fusion module in the structural correction model can further 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 using outgoing edges, a triangle update using incoming edges, a triangle self-attention around the starting node, and a triangle self-attention around the ending node. Specifically, the row-wise 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-wise 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 pass the features of the feature-fused support point-residue pair representation to the residue pair representation and the support point pair representation, respectively. The out-edge-based triangular update module, the in-edge-based triangular update module, the triangular update module around the starting node, and the triangular update module around the ending node are used to modify the residue pair representation or support point pair representation based on the input residue pair representation or support point pair representation and the fused support point-residue pair representation to obtain the feature-fused residue pair representation or support point pair representation.
[0149] In one possible implementation, the training process of the structure correction model can be based on the three-dimensional density maps, initial atomic models, and real atomic models corresponding to multiple sample proteins. Specifically, the support point pair representation, residue pair representation, and support point-residue pair representation determined by the three-dimensional density map and the initial atomic model for each sample protein can be used as input to the structure correction model. The model loss is determined and the model is adjusted based on the final output of the model: the three-dimensional atomic model, the real atomic model of the sample protein, and the support point pair representation, residue pair representation, and support point-residue pair representation.
[0150] The 3D density map and initial atomic model of the sample protein can be obtained from the PDB (Protein Data Bank) database. Optionally, the 3D 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. Each initial atomic model can be determined through two methods: manual modeling and AlphaFold2 prediction. The manual modeling process involves using the manually modeled atomic model of each sample protein in the PDB to find long loop regions longer than 25 amino acids in the atomic model based on its secondary structure. Further, the interaction between the two ends of the loop region is determined by comparing the Ca atom distance with a preset distance. If no interaction occurs between the two ends of the loop region, an amino acid is randomly selected in the loop region, and its ψ or φ angle is slightly rotated by a smaller than a preset angle, ensuring that the atomic model does not exhibit conformational conflict after rotation. This method can randomly generate multiple initial atomic models for each sample protein. The method for determining the initial atomic model using AlphaFold2 prediction is as follows: For each sample protein, firstly, construct its multiple sequence alignment using AlphaFold2's MSA and template search methods, requiring that the searched template is published earlier than the model's publication date. Then, use multiple AlphaFold2 models to predict multiple structures, each serving as the initial atomic model.
[0151] Optionally, the loss function in the training process of the structure correction model in this embodiment may include multiple losses. For example, the loss function may include the Frame AlignedPoint Error (FAPE) Loss for optimizing the structure correction module, and residue distance loss, strut-residue distance loss, strut loss, and residue loss for optimizing the feature fusion module. The FAPE loss function, derived from AlphaFold2, refers to the error value of other residues in a coordinate system with a given residue as the origin. This loss function, being independent of the global coordinate system and possessing translation and rotation invariance, exhibits good properties in supervised learning for protein structure prediction. It can be determined by inputting the model-predicted 3D density map and the actual density map into the FAPE to obtain the output loss. The determination process for the residue distance loss follows the AlphaFold2 implementation method, using the residue pairs output from the last layer of the feature fusion module. The C-values of any two amino acids can be directly predicted through linear transformation. β The distance between atoms is calculated. This distance is discretized into 22 classes, and the cross-entropy loss is calculated using the label values. The support-residue distance loss is determined using the support-residue pairs output from the last layer of the feature fusion module. The distances between any number of support points and residues are calculated using a linear transformation. These distances are then discretized into 22 classes, and the cross-entropy loss is calculated using the label values. The support point loss is determined using the support point-residue pair representation output from the last layer of the feature fusion module. The algorithm uses aggregation and linear transformation operations to predict whether each support point corresponds to any residue in the current input. The process of determining residue loss involves using the support point-residue pair representation output from the last layer of the feature fusion module. The aggregation and linear transformation operations are used to predict whether each residue corresponds to any current support point.
[0152] Furthermore, cryo-electron microscopy, which acquires three-dimensional density images, excels at resolving the structures of large protein complexes. Many protein complexes are homologous multimers, meaning they contain multiple chains with identical sequences. Therefore, the support points within a homologous multimer may have multiple subsets (i.e., points corresponding to each protein sequence) that can correspond to the initial atomic model. Thus, if the initial atomic model originates from a homologous multimer during model training, when calculating the support point-residue distance loss, all support points corresponding to copies of the initial atomic model can be treated as labels.
[0153] Figure 5 A rendering of a three-dimensional atomic model according to an embodiment of the present disclosure is shown. Figure 5 As shown, when there is a significant difference between the initial atomic model and the protein folding structure displayed in the 3D density map (TM value of 0.65), the 3D atomic models are adjusted using both the existing Phenix method and the scheme of this embodiment. The 3D atomic model adjusted using the Phenix method shows an even greater difference from the protein folding structure displayed in the 3D density map (TM value of 0.53), while the 3D atomic model adjusted using the scheme of this embodiment shows a significantly smaller difference from the protein folding structure displayed in the 3D density map (TM value of 0.98), indicating a significant improvement in the accuracy of the predicted protein folding structure. The TM value characterizes the difference between the atomic model and the 3D density map; a larger TM value indicates a smaller difference, and a smaller TM value indicates a larger difference.
[0154] Based on the aforementioned technical features, this embodiment corrects the positional relationships between amino acids based on the positional relationships between support points and between support points and amino acids, thereby correcting the atomic model and obtaining an accurate three-dimensional atomic model, thus improving the accuracy of the target protein atomic model. This method can directly adjust the target protein's atomic model end-to-end based on the characteristics of the three-dimensional density map when there is a significant difference between the atomic model obtained from predicting the protein structure and the three-dimensional density map. The implementation is simple and highly efficient.
[0155] Figure 6 A schematic diagram of a protein atomic model determination apparatus according to an embodiment of the present disclosure is shown. Figure 6 As shown, the protein atom model determination apparatus of this disclosure includes:
[0156] Model determination module 60 is used to obtain the three-dimensional density map and initial atomic model of the target protein;
[0157] The first representation determination module 61 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. The support point pair representations are used to characterize the positional relationship between every two support points.
[0158] The second representation determination module 62 is used to determine the residue pair representation based on the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship of every two amino acids in the target protein in the initial atomic model;
[0159] The third representation determination module 63 is used to initialize a support point-residue pair representation based on the support point coordinates and the amino acid types contained in the target protein. The support point-residue pair representation is used to characterize the correspondence 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 the corrected three-dimensional atomic model of the target protein.
[0161] In one possible implementation, the model determining module 60 is further configured to:
[0162] Cryo-electron microscopy images of the target protein were acquired to obtain the corresponding three-dimensional density map;
[0163] An initial atomic model was determined based on the amino acid sequence of the target protein.
[0164] In one possible implementation, the first representation determining module 61 is further configured to:
[0165] A predetermined number of support points are selected from the multiple three-dimensional points included in the three-dimensional density map;
[0166] The support point pair is represented based on the spatial coordinate position of each support point.
[0167] In one possible implementation, the first representation determining module 61 is further configured to:
[0168] The probability value that the position of each pixel in the three-dimensional density map is the location of the target protein backbone is determined;
[0169] A preset number of pixels are randomly sampled from multiple pixels whose probability values are greater than the probability threshold as support points.
[0170] In one possible implementation, the first representation determining module 61 is further configured to:
[0171] The three-dimensional density map is normalized.
[0172] The normalized 3D density map is output to the trained backbone prediction model to obtain a backbone density map with the same size as the 3D density map. The pixel value of each pixel in the backbone density map is the probability value that the position of the corresponding pixel in the 3D density map is the location of the target protein backbone.
[0173] In one possible implementation, the first representation determining module 61 is further configured to:
[0174] Mesh sampling is performed on the three-dimensional density map at a preset step size to obtain multiple candidate pixels;
[0175] A preset number of pixels are randomly sampled from multiple candidate pixels whose corresponding probability values are greater than the probability threshold as support points.
[0176] In one possible implementation, the first representation determining module 61 is further configured to:
[0177] Calculate the spatial distance between every two support points, and their relative displacement in the X, Y, and Z coordinate directions;
[0178] The support point pair is represented based on the spatial distance between each pair of support points and three relative displacements.
[0179] In one possible implementation, the second representation determining module 62 is further configured to:
[0180] Determine the position of the target atom for each amino acid in the target protein within the initial atomic model;
[0181] Residue pairs are represented based on the position of the target atom in each amino acid.
[0182] In one possible implementation, determining the residue pair representation based on the position of the target atom in each amino acid includes:
[0183] Calculate the spatial distance between every two target atoms, as well as their relative displacement in the X, Y, and Z coordinate directions;
[0184] The support point pair representation is determined based on the spatial distance between each two target atoms and three relative displacements.
[0185] In one possible implementation, the target atom is C. α atom.
[0186] In one possible implementation, the third representation determination module 63 is further configured to:
[0187] Initialize a matrix whose horizontal and vertical axes represent the coordinates of the support points and the amino acid type, respectively;
[0188] The element value of each element in the matrix is randomly generated. The element value is used to characterize the coordinates of the corresponding support point and the correspondence of each type of amino acid.
[0189] In one possible implementation, the model correction module 64 is further configured to:
[0190] The structure correction model performs at least one structure correction based on the input support point pair representation, residue pair representation, and support point-residue pair, and outputs the updated support point pair representation, residue pair representation, and support point-residue pair representation, as well as the candidate atom model after each structure correction.
[0191] 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 for the next structural correction process are determined based on the support point pair representation, residue pair representation, and support point-residue pair representation, the candidate atom model, and the updated support point pair representation, residue pair representation, and support point-residue pair representation.
[0192] Since this structure correction is the last structure correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
[0193] In one possible implementation, the structural correction model includes a feature fusion module and a structural correction module;
[0194] Each structural correction process includes:
[0195] 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 feature fusion-derived support point pair representation, residue pair representation, and support point-residue pair representation are output.
[0196] The sequence representation is determined based on the residue pairs after the feature fusion;
[0197] The residue pair representation after fusing the sequence representation and the feature representation is input into the structure correction module, and the corrected candidate atom model is output.
[0198] In one possible implementation, determining the sequence representation based on the residue pair representation after feature fusion includes:
[0199] The diagonal of the residue pair representation matrix after feature fusion is determined to be a sequence representation.
[0200] In one possible implementation, the model correction module 64 is further configured to:
[0201] The corresponding model residue pairs are determined based on the candidate atom models;
[0202] The residue pair representation to be input for the next structure correction process is determined by a weighted sum of the model residue pair representation, the residue pair representation input to the current model, and the updated residue pair representation.
[0203] The support point pair representation to be input for the next structural correction process is determined by the weighted sum of the support point pair representation input in the current model input and the updated support point pair representation.
[0204] The support point-residue pair representation to be input for the next structure correction process is determined by the weighted sum of the support point-residue pair representation input in the current model input and the updated support point-residue pair representation.
[0205] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0206] This disclosure also proposes a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the above-described method. The computer-readable storage medium can be volatile or non-volatile.
[0207] This disclosure also proposes an electronic device, including: 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.
[0208] This disclosure also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described 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, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0210] Reference Figure 7 The electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0211] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0212] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. 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 storage, flash memory, magnetic disk, or optical disk.
[0213] Power supply component 806 provides power to various components of electronic device 800. 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 to electronic device 800.
[0214] 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0215] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, 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 buttons, volume buttons, power buttons, and lock buttons.
[0217] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0218] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may 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 methods described above.
[0220] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions that can be executed by a processor 820 of an electronic device 800 to perform the above-described method.
[0221] Figure 8 A schematic diagram of an electronic device 1900 according to an embodiment of the present disclosure is shown. For example, the electronic device 1900 may be provided as a server or a terminal device. (Refer to...) Figure 8 The electronic device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.
[0222] Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input / output (I / O) interface 1958. Electronic device 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.
[0223] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of an electronic device 1900 to perform the above-described method.
[0224] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.
[0225] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0226] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0227] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status 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 the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving 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., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.
[0228] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, 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 apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of 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 to cause a series of operational steps to be 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 perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0231] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0232] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for determining a protein atomic model, characterized in that, The method includes: Obtain the three-dimensional density map and initial atomic model of the target protein; Support points are sampled based on the three-dimensional density map, and support point pairs are represented based on the coordinates of the support points. The support point pairs are used to characterize the positional relationship between every two support points. Based on the initial atomic model, a residue pair representation is determined, wherein the residue pair representation is used to characterize the positional relationship of each two amino acids in the target protein in the initial atomic model; The support point-residue pair representation is initialized based on the support point coordinates and the amino acid types contained in the target protein. The support point-residue pair representation is used to characterize the correspondence between each residue and each support point. By inputting the support point pair representation, the residue pair representation, and the support point-residue pair representation into the trained structure correction model, the corrected three-dimensional atomic model of the target protein is obtained. The step of sampling support points based on the three-dimensional density map and determining the support point pair representation based on the support point coordinates includes: A predetermined number of support points are selected from the multiple three-dimensional points included in the three-dimensional density map; The support point pair is represented based on the spatial coordinate position of each support point; The step of selecting a predetermined number of support points from the plurality of three-dimensional points included in the three-dimensional density map includes: The probability value that the position of each pixel in the three-dimensional density map is the location of the target protein backbone is determined; A preset number of pixels are randomly sampled from multiple pixels whose probability values are greater than the probability threshold as support points.
2. The method according to claim 1, characterized in that, The process of obtaining the three-dimensional density map and initial atomic model of the target protein includes: Cryo-electron microscopy images of the target protein were acquired to obtain the corresponding three-dimensional density map; An initial atomic model was determined based on the amino acid sequence of the target protein.
3. The method according to claim 1, characterized in that, The probability value for determining the position of each pixel in the three-dimensional density map as the location of the target protein backbone includes: The three-dimensional density map is normalized. The normalized 3D density map is output to the trained backbone prediction model to obtain a backbone density map with the same size as the 3D density map. The pixel value of each pixel in the backbone density map is the probability value that the position of the corresponding pixel in the 3D density map is the location of the target protein backbone.
4. The method according to claim 3, characterized in that, The step of randomly sampling a preset number of pixels as support points from multiple pixels whose corresponding probability values are greater than a probability threshold includes: Mesh sampling is performed on the three-dimensional density map at a preset step size to obtain multiple candidate pixels; A preset number of pixels are randomly sampled from multiple candidate pixels whose corresponding probability values are greater than the probability threshold as support points.
5. The method according to claim 3 or 4, characterized in that, The step of determining the support point pair representation based on the spatial coordinate position of each support point includes: Calculate the spatial distance between every two support points, and their relative displacement in the X, Y, and Z coordinate directions; The support point pair is represented based on the spatial distance between each pair of support points and three relative displacements.
6. The method according to any one of claims 1-4, characterized in that, The determination of residue pair representations based on the initial atomic model includes: Determine the position of the target atom for each amino acid in the target protein within the initial atomic model; Residue pairs are represented based on the position of the target atom in each amino acid.
7. The method according to claim 6, characterized in that, The determination of residue pairs based on the position of the target atom in each amino acid includes: Calculate the spatial distance between every two target atoms, as well as their relative displacement in the X, Y, and Z coordinate directions; The support point pair representation is determined based on the spatial distance between each two target atoms and three relative displacements.
8. The method according to claim 7, characterized in that, The target atom is atom.
9. The method according to any one of claims 1-4, characterized in that, The initialization of the support point-residue pair representation based on the support point coordinates and the amino acid types contained in the target protein includes: Initialize a matrix whose horizontal and vertical axes represent the coordinates of the support points and the amino acid type, respectively; The element value of each element in the matrix is randomly generated. The element value is used to characterize the coordinates of the corresponding support point and the correspondence of each type of amino acid.
10. The method according to any one of claims 1-4, 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 includes: The structure correction model performs at least one structure correction based on the input support point pair representation, residue pair representation, and support point-residue pair, and outputs the updated support point pair representation, residue pair representation, and support point-residue pair representation, as well as the candidate atom model 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 for the next structural correction process are determined based on the support point pair representation, residue pair representation, and support point-residue pair representation, the candidate atom model, and the updated support point pair representation, residue pair representation, and support point-residue pair representation. Since this structure correction is the last structure correction process, the output candidate atomic model is determined to be the corrected three-dimensional atomic model of the target protein.
11. The method according to claim 10, characterized in that, The structural correction model includes a feature fusion module and a structural correction module; Each structural correction process includes: 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 feature fusion-derived support point pair representation, residue pair representation, and support point-residue pair representation are output. The sequence representation is determined based on the residue pairs after the feature fusion; The residue pair representation after fusing the sequence representation and the feature representation is input into the structure correction module, and the corrected candidate atom model is output.
12. The method according to claim 11, characterized in that, The step of determining the sequence representation based on the residue pairs after feature fusion includes: The diagonal of the residue pair representation matrix after feature fusion is determined to be a sequence representation.
13. The method according to claim 12, characterized in that, The process of determining the support point pair representation, residue pair representation, and support point-residue pair representation for the next structure correction process based on the support point pair representation, residue pair representation, and support point-residue pair representation, the candidate atom model, and the updated support point pair representation, residue pair representation, and support point-residue pair representation, as well as the support point pair representation, residue pair representation, and support point-residue pair representation, includes: The corresponding model residue pairs are determined based on the candidate atom models; The residue pair representation to be input for the next structure correction process is determined by a weighted sum of the model residue pair representation, the residue pair representation input to the current model, and the updated residue pair representation. The support point pair representation to be input for the next structural correction process is determined by the weighted sum of the support point pair representation input in the current model input and the updated support point pair representation. The support point-residue pair representation to be input for the next structure correction process is determined by the weighted sum of the support point-residue pair representation input in the current model input and the updated support point-residue pair representation.
14. A device for determining the atomic model of a protein, characterized in that, The device includes: The model determination module is used to obtain the three-dimensional density map and initial atomic model of the target protein; The first representation determination module 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. The support point pair representation is used to characterize the positional relationship between every two support points. The second representation determination module is used to determine the residue pair representation based on the initial atomic model, wherein the residue pair representation is used to characterize the positional relationship of every two amino acids in the target protein in the initial atomic model; The third representation determination module is used to initialize a support point-residue pair representation based on the support point coordinates and the amino acid types contained in the target protein. The support point-residue pair representation is used to characterize the correspondence between each residue and each support point. 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. Wherein, the first indicating determination module is further configured to: A predetermined number of support points are selected from the multiple three-dimensional points included in the three-dimensional density map; The support point pair is represented based on the spatial coordinate position of each support point; Wherein, the first indicating determination module is further configured to: The probability value that the position of each pixel in the three-dimensional density map is the location of the target protein backbone is determined; A preset number of pixels are randomly sampled from multiple pixels whose probability values are greater than the probability threshold as support points.
15. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the method of any one of claims 1 to 13 when executing instructions stored in the memory.
16. A non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1 to 13.
Citation Information
Patent Citations
Protein three-dimensional structure modeling method and device, electronic equipment and storage medium
CN115497553A
Method and system for protein modeling
US5453937A
