Single-cell genetic perturbation result credibility control method and system
By constructing unperturbed controls and historical real perturbation data that match the task context, a low-rank systematic change subspace is built. Common background noise is removed, and prediction residuals are calibrated, which solves the reliability problem of single-cell genetic perturbation prediction and improves the reliability of prediction.
Patent Information
- Application Number
- CN202611404604.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-09-10
AI Technical Summary
When the actual results are unknown, existing technologies have low reliability in predicting single-cell genetic perturbations, making it difficult to make targeted release decisions. Fixed reference centers and single methods cannot be adapted to different cell backgrounds, resulting in background noise masking the target perturbation effect.
By constructing unperturbed control data and historical real perturbation data that are dynamically matched to the task context, a low-rank systematic change subspace is built, common background noise is removed, perturbation-specific prediction residuals are calculated, and the residuals are calibrated to control the prediction output.
It enables targeted release judgment of existing predictions when the actual results are unknown, improves the credibility of genetic perturbation prediction, and ensures that the prediction results contain only target perturbation-specific information.
Smart Images

Figure CN122907155B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of bioinformatics, and in particular to a reliable control method and system for single-cell genetic perturbation prediction results. Background Technology
[0002] With the development of single-cell sequencing and virtual cell models, researchers can now predict the transcriptional state of cells after genetic perturbation before real experiments are completed. However, model outputs often contain common change signals such as processing stress and batch differences. These non-target-specific background noises mask the true perturbation effect of the target gene, making it difficult to determine whether the prediction contains sufficient target perturbation-specific information for subsequent experimental screening before the actual results are returned.
[0003] In related technologies, single methods such as fixed reference center, historical perturbation retrieval, mechanism projection, or out-of-distribution detection are often used. However, fixed reference cannot be adapted to different cell backgrounds, historical retrieval is mostly used to generate predictions rather than review them, and out-of-distribution detection can only judge the similarity between the input and training data rather than the perturbation specificity. All of these methods are difficult to make targeted release judgments on existing predictions when the true results are unknown, resulting in low credibility of perturbation predictions before the true results are known. Summary of the Invention
[0004] The main objective of this disclosure is to propose a reliable control method and system for single-cell genetic perturbation prediction results, which can make targeted release judgments on existing predictions when the true results are unknown, thereby improving the reliability of perturbation prediction.
[0005] To achieve the above objectives, a first aspect of this disclosure provides a method for reliable control of single-cell genetic perturbation prediction results, comprising: Obtain task information for the current perturbation prediction task, including the single-cell transcriptome state before perturbation, the target genetic perturbation, and the predicted transcriptional state after perturbation output by the virtual cell model for the target genetic perturbation; Based on the single-cell transcriptome state before the perturbation and the target genetic perturbation, the task context of the current perturbation prediction task is constructed, and based on the task context, unperturbed control information and multiple historical genetic perturbations with existing real experimental results are selected from historical data that match the background of the current perturbation prediction task. Historical change vectors are determined based on the differences between the perturbed transcriptome state of each historical genetic perturbation and the corresponding control transcriptome state, and a low-rank systematic change subspace is constructed based on multiple historical change vectors. Calculate the overall change of the predicted transcriptional state after perturbation relative to the information of the unperturbed control, and remove the projection of the overall change onto the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual; The perturbation-specific prediction residual is calibrated to obtain specific evidence, and the output of the perturbation-predicted transcriptional state is controlled based on the specific evidence.
[0006] In some embodiments, the step of selecting unperturbed control information and historical genetic perturbations with multiple existing real experimental results from historical data based on the task context includes: Based on the cell type or cell state, experimental platform or batch, sampling time, genetic perturbation method, and low-dimensional representation of the single-cell transcriptome state before the perturbation included in the task context, the background distance between the current perturbation prediction task and each historical sample in the historical data is calculated according to the preset distance rules. Based on the background distance, the matching unperturbed control information and historical genetic perturbations from the historical data are selected from the historical data.
[0007] In some embodiments, before selecting unperturbed control information and historical genetic perturbations matching the current perturbation prediction task background from historical data based on the task context, the method further includes: A common evaluable gene set is determined, which retains genes that the virtual cell model can stably output, the historical data can be observed, and the mechanism of the target genetic perturbation can be located, while filtering out genes that cannot be detected for a long time. The control transcriptome state, the post-perturbation transcriptome state of the historical genetic perturbation, and the post-perturbation predicted transcriptome state are all gene expression states on the common evaluable gene set.
[0008] In some embodiments, constructing a low-rank systematic change subspace based on multiple historical change vectors includes: The historical change vectors are combined to form a historical perturbation change matrix; Principal component analysis or singular value decomposition is performed on the historical perturbation change matrix to extract the main change directions that repeatedly appear in multiple historical genetic perturbations. The space spanned by the extracted main change directions is determined as the low-rank systematic change subspace.
[0009] In some embodiments, calculating the overall change of the predicted transcriptional state after perturbation relative to the unperturbed control information, and removing the projection of the overall change onto the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual includes: Based on the unperturbed control information, normal centers are identified, and the difference between the perturbed predicted transcriptional state and the normal centers is calculated to obtain the overall change. After subtracting the centers of multiple historical change vectors from the overall change, the projection of the subtraction result onto the low-rank systematic change subspace is removed, and the remaining part is determined as the perturbation-specific prediction residual.
[0010] In some embodiments, calibrating the perturbation-specific prediction residual to obtain specific evidence includes: Based on the target gene of the target genetic perturbation and the first-order regulatory neighborhood of the pre-registered target gene, mechanism weights are constructed; The perturbation-specific prediction residual is calculated based on the mechanism weights. The mechanism statistics characterize the signal intensity in the perturbation-specific prediction residual that falls on the target gene and its first-order regulatory neighborhood, as well as the degree of consistency between the direction of change and the known regulatory direction. The mechanism statistics are compared with a null distribution to obtain specific evidence, which is constructed from a set of calibrated null samples, mechanism-independent historical perturbations, or random genes of matching size selected from the historical data based on the task context.
[0011] In some embodiments, controlling the output of the predicted transcriptional state after perturbation based on the specific evidence includes: The historical genetic perturbations are repeatedly resampled, and the low-rank systematic change subspaces are reconstructed based on the historical genetic perturbations obtained from each resampling. The closeness between the reconstructed low-rank systematic change subspaces is then compared. If the number of historical genetic perturbations reaches a preset minimum requirement, the degree of proximity meets a preset stability requirement, and the specific evidence reaches a preset threshold, the output of the predicted transcriptional state after perturbation is allowed; otherwise, the output level of the predicted transcriptional state after perturbation is reduced or output is rejected. The preset threshold is predetermined on independent historical calibration data; after obtaining the actual processed transcriptome results of the target genetic perturbation, the release conclusion of this output is verified based on the actual processed transcriptome results, and the historical calibration data of subsequent tasks is updated.
[0012] In some embodiments, the virtual cell model is a pre-trained model, and the parameters of the virtual cell model remain unchanged during the execution of the method; the predicted transcriptional state after perturbation is the prediction result output by the virtual cell model before obtaining the actual transcriptome result after the target genetic perturbation.
[0013] To achieve the above objectives, a second aspect of this disclosure provides a reliable control system for single-cell genetic perturbation prediction results, comprising: The task receiving module is used to acquire the task information of the current perturbation prediction task. The task information includes the single-cell transcriptome state before perturbation, the target genetic perturbation, and the predicted transcriptional state after perturbation output by the virtual cell model for the target genetic perturbation. The context matching module is used to construct the task context of the current perturbation prediction task based on the single-cell transcriptome state before the perturbation and the target genetic perturbation, and select unperturbed control information and multiple historical genetic perturbations with existing real experimental results from historical data based on the task context. The subspace construction module is used to determine the historical change vector based on the difference between the perturbed transcriptome state of each of the historical genetic perturbations and the corresponding control transcriptome state, and to construct a low-rank systematic change subspace based on multiple historical change vectors. The residual calculation module is used to calculate the overall change of the predicted transcriptional state after perturbation relative to the unperturbed control information, and remove the projection part of the overall change on the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual; A reliable control module is used to calibrate the perturbation-specific prediction residual to obtain specific evidence, and control the output of the perturbation-predicted transcriptional state based on the specific evidence.
[0014] To achieve the above objectives, a third aspect of this disclosure provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the reliable control method for single-cell genetic perturbation prediction results described in the first aspect embodiment.
[0015] To achieve the above objectives, a fourth aspect of the present disclosure provides a storage medium, which is a computer-readable storage medium storing a computer program that, when executed by a processor, implements the reliable control method for single-cell genetic perturbation prediction results described in the first aspect embodiment.
[0016] The beneficial effects of the embodiments disclosed herein include: By constructing a dynamic matching system of unperturbed controls and historical real perturbation data adapted to the current cellular background in the task context, and replacing the fixed reference center, adaptation to different cellular backgrounds is achieved. Subsequently, a low-rank systematic change subspace is constructed based on the change vectors of multiple historical real perturbations to model and process common background noise such as stress and batch differences, transforming historical data from generating predictions into a noise benchmark for reviewing predictions. Next, the overall change of the prediction is calculated and its projection on this subspace is removed to obtain the perturbation-specific prediction residual, achieving effective separation of background noise and target real perturbation effects, and directly quantifying the target-specific information in the prediction. Finally, the residual is calibrated to obtain specific evidence and control the prediction output accordingly, allowing only predictions containing sufficient target perturbation-specific information to be released. This enables targeted release judgments of existing predictions when the true results are unknown, improving the credibility of perturbation predictions. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the implementation environment of the reliable control method for single-cell genetic perturbation prediction results provided in this embodiment of the disclosure; Figure 2 This is a flowchart illustrating the reliable control method for single-cell genetic perturbation prediction results provided in this embodiment of the disclosure; Figure 3 yes Figure 2 A flowchart further includes step S102; Figure 4 yes Figure 2 A flowchart further includes step S103; Figure 5 yes Figure 2 A flowchart further includes step S104; Figure 6 yes Figure 2 The flowchart of the process for calibrating the perturbation-specific prediction residuals to obtain specific evidence in step S105 is shown below. Figure 7 yes Figure 2 The flowchart of the output of predicting the transcriptional state after controlling the perturbation based on specific evidence in step S105 is further illustrated. Figure 8 This is a schematic diagram of the functional modules of the reliable control system for single-cell genetic perturbation prediction results provided in this embodiment of the disclosure; Figure 9 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this disclosure. Detailed Implementation
[0018] The accompanying drawings in the embodiments clearly and completely describe the technical solutions in the embodiments of this disclosure. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments in this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0019] It is understood that in the specific embodiments of this disclosure, the retrieval of single-cell transcriptome data, genetic perturbation experimental data and related biological sample data is involved. When the above embodiments of this disclosure are applied to specific products or technologies, permission or consent can be obtained from the target, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards.
[0020] Furthermore, when this embodiment of the present disclosure needs to access single-cell transcriptome data, genetic perturbation experimental data, and related biological sample data, separate permission or consent to access the single-cell transcriptome data, genetic perturbation experimental data, and related biological sample data can be obtained through pop-up windows or redirection to a confirmation page. After obtaining separate permission or consent to access the single-cell transcriptome data, genetic perturbation experimental data, and related biological sample data, the necessary single-cell transcriptome data, genetic perturbation experimental data, and related biological sample data for the normal operation of this embodiment of the present disclosure can be obtained.
[0021] In this disclosure, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0022] Before providing a further detailed description of the embodiments of this disclosure, the terms and concepts used in these embodiments are explained, and they are subject to the following interpretations: Single-cell transcriptome: refers to gene expression profile data measured at the resolution of a single cell, usually represented as a high-dimensional vector, with each dimension of the vector corresponding to the expression level of a gene. In the embodiments of this disclosure, the state of the single-cell transcriptome before perturbation, the state of the transcriptome after perturbation, and the state of the control transcriptome are all represented in the form of gene expression status.
[0023] Genetic perturbation refers to the artificial intervention of the genetic material of cells, including but not limited to gene knockout, CRISPRi (CRISPR interference, used to reduce the expression of target genes), and CRISPRa (CRISPR activation, used to increase the expression of target genes).
[0024] Virtual cell model: refers to a pre-trained computational model whose inputs are the single-cell transcriptome state before perturbation and the target genetic perturbation, and whose output is the predicted transcriptional state after perturbation. In this embodiment of the disclosure, the virtual cell model is a pre-trained model. During the execution of the method of this disclosure, the parameters of the virtual cell model remain unchanged. That is, the method of this disclosure does not require retraining the underlying model, but is used as a trusted control layer outside the model.
[0025] Historical data refers to historical experimental data for which real experimental results have been obtained, including unperturbed or non-targeted control experimental data, as well as historical genetic perturbation experimental data for which real transcriptome results have been obtained.
[0026] PCA (Principal Component Analysis) and SVD (Singular Value Decomposition) are both matrix factorization methods that extract the main directions of change from multiple high-dimensional vectors. They are used to extract the few recurring main directions of change from multiple historical change vectors.
[0027] Low-rank systematic change subspace: refers to a low-dimensional linear space spanned by the main change directions that repeatedly appear in multiple historical genetic perturbations. It is used to model the background changes common to different perturbations such as stress, batch differences, plateau differences, and time effects in the current cellular context.
[0028] With the development of single-cell sequencing and virtual cell models, researchers are able to predict the transcriptional state of cells after genetic perturbation before the actual experiment is completed. However, the model output often includes common change signals such as processing stress and batch differences. These non-target-specific background noises mask the real perturbation effect of the target gene, making it difficult to determine whether the prediction contains enough target perturbation-specific information before the actual results are returned.
[0029] Therefore, this disclosure provides a method and system for reliable control of single-cell genetic perturbation prediction results. This can be understood as adding a result quality control checkpoint to the virtual cell model. The model is responsible for prediction, and this disclosure is responsible for checking whether the prediction contains sufficient target perturbation specific information before the real answer is returned. Only predictions that pass the check are allowed to enter the subsequent experimental candidates.
[0030] Please see Figure 1 , Figure 1 A schematic diagram of the implementation environment for the reliable control method for single-cell genetic perturbation prediction results provided in this embodiment of the disclosure includes: a terminal 11 and a server 12.
[0031] For example, server 12 can obtain task information for the current perturbation prediction task from terminal 11. The task information includes the single-cell transcriptome state before perturbation, the target genetic perturbation, and the post-perturbation predicted transcriptional state output by the virtual cell model for the target genetic perturbation. Based on the single-cell transcriptome state before perturbation and the target genetic perturbation, server 12 constructs the task context for the current perturbation prediction task and selects unperturbed control information and multiple historical genetic perturbations with existing real experimental results from historical data based on the task context. Server 12 determines historical change vectors based on the differences between the post-perturbation transcriptome state of each historical genetic perturbation and its corresponding control transcriptome state, and constructs a low-rank systematic change subspace based on multiple historical change vectors. Server 12 calculates the overall change of the post-perturbation predicted transcriptional state relative to the unperturbed control information, removes the projection of the overall change onto the low-rank systematic change subspace from the overall change, and obtains the perturbation-specific prediction residual. Server 12 calibrates the perturbation-specific prediction residual to obtain specific evidence and controls the output of the post-perturbation predicted transcriptional state based on the specific evidence.
[0032] Terminal 11 can be a mobile phone, computer, smart voice interaction device, smart wearable device, vehicle terminal, etc., but is not limited to these. Terminal 11 can also execute the reliable control method for single-cell genetic perturbation prediction results independently. Terminal 11 and server 12 can be directly or indirectly connected through wired or wireless communication, and this embodiment of the present disclosure does not impose any limitations.
[0033] Server 12 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Additionally, server 12 can also be a node server in a blockchain network.
[0034] It should be noted that, Figure 1The schematic diagram of the implementation environment shown is merely an example. The scenarios described in this disclosure are intended to more clearly illustrate the technical solutions of this disclosure and do not constitute a limitation on the technical solutions provided in this disclosure. As those skilled in the art will know, with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in this disclosure are also applicable to similar technical problems.
[0035] Please see Figure 2 , Figure 2 This is a flowchart illustrating the reliable control method for single-cell genetic perturbation prediction results provided in this embodiment. This reliable control method for single-cell genetic perturbation prediction results can be applied to the server in the above embodiment, or can be jointly executed by a terminal and a server. The reliable control method for single-cell genetic perturbation prediction results includes steps S101 to S105: Step S101: Obtain the task information of the current perturbation prediction task. The task information includes the single-cell transcriptome state before perturbation, the target genetic perturbation, and the predicted transcriptional state after perturbation output by the virtual cell model for the target genetic perturbation. Step S102: Based on the single-cell transcriptome state before perturbation and the target genetic perturbation, construct the task context of the current perturbation prediction task, and select unperturbed control information and multiple historical genetic perturbations with existing real experimental results from historical data based on the task context. Step S103: Determine the historical change vector based on the difference between the perturbed transcriptome state of each historical genetic perturbation and the corresponding control transcriptome state, and construct a low-rank systematic change subspace based on multiple historical change vectors. Step S104: Calculate the overall change of the predicted transcriptional state after perturbation relative to the information of the unperturbed control, and remove the projection part of the overall change on the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual. Step S105: The perturbation-specific prediction residual is calibrated to obtain specific evidence, and the output of the predicted transcriptional state after perturbation is controlled based on the specific evidence.
[0036] Regarding step S101 above, this embodiment of the disclosure can obtain task information for the current perturbation prediction task. This task information includes the pre-perturbation single-cell transcriptome state, the target genetic perturbation, and the post-perturbation predicted transcriptional state output by the virtual cell model for the target genetic perturbation. Specifically, the pre-perturbation single-cell transcriptome state refers to the gene expression state of the cells under study in the current task before genetic perturbation; the target genetic perturbation refers to the genetic intervention operation planned or assumed to be performed in this task, such as gene knockout, CRISPRi inhibition, or CRISPRa activation of a gene; and the post-perturbation predicted transcriptional state is the prediction result output by the virtual cell model before obtaining the actual transcriptome results after the target genetic perturbation, i.e., the post-perturbation gene expression prediction given by the model before the actual experiment is completed.
[0037] Furthermore, the actual transcriptome results after processing the target genetic perturbation are not available before this credibility assessment is completed, and are not allowed to participate in subsequent reference construction, subspace construction, threshold selection, or result assessment. This restriction is set because this disclosure aims to address the credibility control problem where the predicted result is available before the actual answer is obtained. If the target truth value is allowed to enter any assessment stage prematurely, the evaluation conclusion will lose its generalization significance for future unknown tasks, equivalent to peeking at the answers in an exam, failing to truly reflect the method's credibility control capability when the actual result is unknown.
[0038] It should be noted that in the embodiments disclosed herein, the complete pre-disturbance state, the target disturbance, and the model prediction are defined as triple inputs as objects of reliable control, so that subsequent common change stripping and mechanism calibration are carried out around the prediction already given by the model, rather than regenerating the prediction.
[0039] Regarding step S102 above, this embodiment of the disclosure can construct a task context for the current perturbation prediction task based on the single-cell transcriptome state before perturbation and the target genetic perturbation. Based on the task context, it can select unperturbed control information and historical genetic perturbations with multiple existing real experimental results from historical data that match the current perturbation prediction task background. Here, task context c refers to a unified description that organizes the task background information affecting the comparison results. It can include cell type or cell state, experimental platform or batch, sampling time, genetic perturbation method, and a low-dimensional representation of the single-cell transcriptome state before perturbation. The reason for constructing a unified task context is that many common changes that occur with perturbations are different in different cell backgrounds: for example, the direction of common stress caused by the same gene knockout may differ in different cell types, and the differences in basal expression under different sequencing platforms, different batches, and different sampling time points are also different. If a fixed reference center is used across all backgrounds, a mismatch will occur between the reference and the current background, causing the common changes subsequently deducted from the prediction to not be the true common changes in the current background.
[0040] Furthermore, in all subsequent steps of finding similar historical data in this embodiment, the same task context c and the same set of distance rules are used. That is, matching the unperturbed control, historical genetic perturbation, and calibration empty sample must come from the same set of background matching logic. One module cannot match by cell type and another module cannot match only by time, so as to avoid reference mismatch caused by different modules using different backgrounds.
[0041] Among them, unperturbed control information refers to transcriptome data from unperturbed or non-targeted control experiments that match the current task context, used to obtain normal centers in the current context; historical genetic perturbation refers to historical genetic perturbation experiments that are similar to the current task context but have already provided real-world transcriptome results, used to estimate common changes that will occur with many different perturbations in the current context. Real-world results from the current target task are not allowed to be included in the selection of any of the above data categories.
[0042] It should be noted that the embodiments of this disclosure replace the fixed reference center by constructing a task context dynamic matching and adapting to the current cell background with an unperturbed control and historical real perturbation data, thereby achieving adaptation to different cell backgrounds; at the same time, the historical data of existing real experimental results are transformed from the material for generating predictions into a noise benchmark for reviewing predictions, so that historical data can still be used to evaluate whether an existing prediction is credible even when the real results are unknown.
[0043] In some embodiments, before selecting unperturbed control information and historical genetic perturbations matching the current perturbation prediction task background from historical data based on task context, the following steps may be included: A common evaluable gene set was identified, which retained genes that could be stably output by the virtual cell model, whose historical data could be observed, and whose target genetic perturbation mechanism could be located, while filtering out genes that could not be detected for a long time. Among them, the control transcriptome state, the perturbation transcriptome state after historical genetic perturbation, and the perturbation predicted transcriptome state were all gene expression states on the common evaluable gene set.
[0044] In the above steps, embodiments of this disclosure can first establish a commonly comparable gene space. The commonly evaluable gene set Ω refers to a set of genes that simultaneously meet three conditions: first, the virtual cell model can stably output a predicted value for the gene; second, historical data, including historical controls and historical perturbation experiments, can observe the gene's expression; and third, the mechanism of the target genetic perturbation can be located to the gene, i.e., it can be determined whether the gene belongs to the relevant regulatory range of the target gene based on prior regulatory knowledge. Genes that are almost undetectable for a long time, such as genes whose expression levels are consistently below the detection threshold in the current cell type, can be filtered out in advance.
[0045] The reason for determining a common evaluable gene set is that the gene sets of model predictions, historical controls, and historical perturbation data may not be entirely the same. For example, different batches of sequencing data may cover different genes, and the gene dimension output by the model may differ from the gene dimension observed in experiments. If the gene space is not unified first, subsequent subtraction, projection, and mechanism scoring may be performed on data with different dimensions or meanings, resulting in computational results without biological significance. This embodiment of the disclosure ensures that all subsequent difference calculations, subspace construction, and mechanism scoring are performed on the same set of genes by first determining a common evaluable gene set Ω, avoiding direct subtraction of data with different dimensions or meanings, and guaranteeing the validity of the credible evaluation from the perspective of data scope.
[0046] Please see Figure 3 , Figure 3 yes Figure 2 The flowchart further includes step S102. In some embodiments, the process of selecting unperturbed control information and historical genetic perturbations with multiple existing real experimental results from historical data based on the task context may also include steps S201 to S202: Step S201: Based on the cell type or cell state, experimental platform or batch, sampling time, genetic perturbation method, and low-dimensional representation of the single-cell transcriptome state before perturbation included in the task context, calculate the background distance between the current perturbation prediction task and each historical sample in the historical data according to the preset distance rules. Step S202: Select matching unperturbed control information and historical genetic perturbations from historical data based on background distance.
[0047] In the above steps, this embodiment of the disclosure can calculate the background distance between the current perturbation prediction task and each historical sample in the historical data according to preset distance rules based on the various background information included in the task context c. The background distance is a measure of the degree of background proximity between the current task and historical samples. For discrete attributes such as cell type or cell state, experimental platform or batch, and genetic perturbation method, the distance can be calculated by whether the attributes are consistent, for example, 0 for the same and 1 for different. For sampling time, the absolute value of the time difference can be used to calculate the distance. For the low-dimensional representation of the single-cell transcriptome state before perturbation, it refers to the vector representation obtained by mapping the high-dimensional gene expression state before perturbation to a low-dimensional space using a dimensionality reduction method (such as PCA). This low-dimensional representation summarizes the basic state of the cell, and cosine distance or Euclidean distance can be used to calculate the background distance. The total background distance is obtained by weighted summation of the various distances. The weights of each item can be set according to actual needs, and this embodiment of the disclosure does not impose specific limitations on this.
[0048] Next, based on background distance, matching unperturbed control information and multiple historical genetic perturbations with existing real experimental results are selected from historical data. Specifically, historical samples with a background distance less than a preset distance threshold can be selected as matching samples, or a preset number of historical samples can be selected according to the background distance from smallest to largest; this embodiment of the present disclosure does not impose specific limitations on this. Among them, the matching unperturbed controls should preferably be unperturbed or non-targeted controls with the same cell background, the same platform or batch, and similar time points; the multiple matching historical genetic perturbations should be historical gene perturbations that are close to the current task background but have existing real experimental results.
[0049] It should be noted that the embodiments of this disclosure combine multidimensional attributes with low-dimensional representations to create a background distance, so that the matching results simultaneously reflect the experimental background, such as platform, batch, time, perturbation method, etc., and the degree of similarity with the cell's own state. This avoids introducing historical samples with excessively large background differences based solely on matching with a single attribute, and improves the fit between the constructed reference and the current task.
[0050] Regarding step S103 above, this embodiment of the disclosure can determine historical change vectors based on the differences between the perturbed transcriptome state of each historical genetic perturbation and its corresponding control transcriptome state, and construct a low-rank systematic change subspace based on multiple historical change vectors. Specifically, for each historical genetic perturbation j, its own perturbed transcriptome state is first calculated. Subtract their respective corresponding control transcriptome states To obtain the historical change vector : ; The emphasis here is on subtracting the corresponding control from each historical perturbation because basal expression levels may differ across experiments and batches. Simply averaging all treatment groups together could easily misinterpret batch differences as shared perturbation changes. Subtracting the matched control from each historical perturbation yields a more accurate result. This reflects the net change of the disturbance relative to its own background. The differences in the basics, such as batches, are canceled out when subtracted, so that the common direction extracted later truly comes from the common disturbance rather than the common batch.
[0051] Furthermore, the low-rank systematic change subspace This can be understood as a template of changes that many different gene perturbations would share in the current cellular context. For example, common stress changes during treatment, batch differences, plateau differences, time effects, or changes in the basal state of the cell itself are modeled in this subspace. Once the model prediction contains components in these directions, it cannot be said that the model has predicted the specific role of the target gene. Therefore, these components need to be separated from the predicted changes in subsequent steps.
[0052] Please see Figure 4 , Figure 4 yes Figure 2 The flowchart further includes step S103. In some embodiments, the process of constructing a low-rank systematic change subspace based on multiple historical change vectors may also include steps S301 to S302: Step S301: Combine multiple historical change vectors into a historical disturbance change matrix; Step S302: Perform principal component analysis or singular value decomposition on the historical perturbation change matrix to extract the main change directions that repeatedly appear in multiple historical genetic perturbations, and determine the space spanned by the extracted main change directions as the low-rank systematic change subspace.
[0053] In the above steps, embodiments of this disclosure can use multiple historical change vectors. Arrange the historical perturbation change matrix by column (or row), then perform PCA or SVD on the matrix to extract the top principal component directions with the largest variance contributions, i.e., singular vectors. These directions are the main change directions that repeatedly appear in multiple historical genetic perturbations. The linear space spanned by them is determined as the low-rank systematic change subspace. The number of main change directions extracted, i.e. the rank of the subspace, can be set according to actual needs. For example, it can be determined according to a preset proportion, such as 80% or other custom proportions, based on the cumulative variance contribution rate. Alternatively, it can be set to a fixed number. This embodiment of the present disclosure does not impose specific limitations on this.
[0054] The reason for using a low-rank subspace instead of a single mean or a single direction to model shared variations is that the sources of shared variations are diverse, such as treatment stress, batch differences, plateau differences, and time effects. A single mean or a single direction can only characterize one pattern of shared variations and cannot cover the shared variation structure formed by the superposition of multiple sources. On the other hand, a low-rank subspace, spanned by a few orthogonal directions, can simultaneously accommodate multiple shared patterns. It can fully express shared variations and, because of its low rank, will not over-absorb the specific variations of the target gene, thus achieving a balance between removing noise and preserving signal.
[0055] It should be noted that the embodiments of this disclosure utilize the change vectors of multiple historical real disturbances to construct a low-rank systematic change subspace, transforming historical data from generating predictions into a noise benchmark for reviewing predictions, providing a structured common change reference adapted to the current background for subsequently removing background noise from the current predictions.
[0056] Regarding step S104 above, this embodiment of the disclosure can calculate the overall change in the predicted transcriptional state after perturbation relative to the information of the unperturbed control, and remove the projection of the overall change onto the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual. Here, the overall change refers to the total amount of change predicted by the current model relative to the normal state in the current context; the perturbation-specific prediction residual refers to the remaining portion of the overall change that cannot be explained by the common direction after stripping away the portion that can be explained by the common change template, and it is more likely to correspond to the effect of the target gene itself.
[0057] It should be noted that not all remaining variations are necessarily correct. Instead, common variations that have repeatedly appeared in many historical perturbations are excluded first, allowing subsequent reliable judgments to focus primarily on the parts more likely to be related to the target gene. Even if the overall variation appears large and the overall correlation with the real perturbation seems good, as long as most of it can be explained by common directions, the remaining target-specific part may still be small. This disclosure avoids erroneous releases that appear similar but actually do not predict the role of the target gene through this process of separation.
[0058] Please see Figure 5 , Figure 5 yes Figure 2 The flowchart further includes step S104. In some embodiments, the process of calculating the overall change in the predicted transcriptional state after perturbation relative to the information of the unperturbed control, and removing the projection of the overall change onto the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual may further include steps S401 to S402: Step S401: Based on the information of the unperturbed control, determine the normal center, calculate the difference between the predicted transcriptional state after perturbation and the normal center, and obtain the overall change; Step S402: After deducting the centers of multiple historical change vectors from the overall change, remove the projection of the deduction result onto the low-rank systematic change subspace, and determine the remaining part as the perturbation-specific prediction residual.
[0059] In the above steps, embodiments of this disclosure can determine the normal center based on matched unperturbed control information. normal center This refers to the reference expression level in the unperturbed state under the current context, for example, taking the average expression vector of the matched unperturbed control across a commonly evaluable gene set Ω. Subsequently, the predicted transcriptional state ŷ after perturbation is calculated and compared to the normal center. The difference between them yields the overall change Δ: Δ=ŷ- ; Next, the centers of multiple historical change vectors are subtracted from the overall change Δ. For example, the mean of the historical change vector, and then removing the result in the low-rank systematic change subspace. The projected portion is used to determine the remaining portion as the perturbation-specific prediction residual. A preferred calculation method is as follows: ; in, It is the identity matrix. The projection matrix is the projection onto a lower-rank systematically changing subspace. This is the matrix projected onto the orthogonal complement space of this subspace. The reason for subtracting it first is... The projection is removed because the historical change vector is generally not centered at zero, and its mean is... The mean offset represents the common changes. If orthogonal projection is performed directly without decentering, the common offset in the mean direction may remain in the residual. Decentering first and then projecting ensures that the mean offset and the common changes in the subspace are stripped away, so that the residual only retains the components orthogonal to the common change template.
[0060] It should be noted that, by removing the projection of the overall change onto the low-rank systematic change subspace, the embodiments of this disclosure achieve effective separation of background noise and the actual perturbation effect of the target, directly quantify the amount of target-specific information in the prediction, and provide a clean evaluation object for subsequent calibration of only the specific part.
[0061] Regarding step S105 above, this embodiment of the disclosure can calibrate the perturbation-specific prediction residual to obtain specific evidence, and control the output of the predicted transcriptional state after perturbation based on the specific evidence. Here, specific evidence q refers to the amount of evidence used after calibration to characterize the sufficiency of target perturbation-specific information in the current prediction. The higher the q, the more obvious perturbation-related information consistent with the target gene mechanism is retained after removing common variations. It is particularly important to note that complete specific evidence cannot be directly calculated from the original total change Δ, nor can it be calculated using the actual experimental results of the target; it must first be obtained after the preceding common variation stripping. Only after this can a complete calibration be performed. This is because if the mechanism score is directly applied to the original predicted changes, and if most of the original predictions still contain common stress signals, the mechanism score will be interfered with by these signals, resulting in a high score not necessarily indicating that the target gene's role has been predicted.
[0062] Please see Figure 6 , Figure 6 yes Figure 2 The flowchart illustrates the further steps in step S105 of calibrating the perturbation-specific prediction residuals to obtain specific evidence. In some embodiments, the process of calibrating the perturbation-specific prediction residuals to obtain specific evidence may further include steps S501 to S503: Step S501: Construct mechanism weights based on the target gene of the target genetic perturbation and the first-order regulatory neighborhood of the pre-registered target gene; Step S502: Calculate the mechanism statistics of the perturbation-specific prediction residuals based on the mechanism weights. The mechanism statistics characterize the signal intensity of the perturbation-specific prediction residuals falling on the target gene and its first-order regulatory neighborhood, as well as the degree of consistency between the change direction and the known regulatory direction. Step S503: The mechanism statistics are compared with the empty distribution to obtain specific evidence. The empty distribution is constructed from a set of calibrated empty samples, mechanism-independent historical perturbations, or random genes of matching size selected from historical data based on the task context.
[0063] In step S501 above, the mechanism weight m refers to the importance weight assigned to each gene based on prior regulatory knowledge of the target gene. Here, the target gene refers to the gene directly affected by the target genetic perturbation; the first-order regulatory neighborhood refers to a pre-registered set of genes directly regulated or interacting with the target gene, such as direct downstream target genes of the target gene registered in publicly available regulatory network databases or literature. The mechanism weight can assign higher weights to the target gene and genes within its first-order regulatory neighborhood, and lower or zero weights to other genes. Within the first-order regulatory neighborhood, the weights can be further differentiated based on prior regulatory strength or evidence confidence; this embodiment does not impose specific limitations on this. The reason for constructing the mechanism weight is that the true effect of the target perturbation should preferentially manifest on the target gene and its directly regulated related genes. If a large amount of the residual signal falls on genes unrelated to the target mechanism, it is more likely to be incompletely stripped noise rather than a target-specific effect.
[0064] In step S502 above, this embodiment of the disclosure calculates mechanism statistics on the perturbation-specific prediction residuals based on mechanism weights. The mechanism statistics characterize two aspects: one is signal strength, i.e. How many weighted signals fall on the target gene and its first-order regulatory neighborhood, for example, calculating The two aspects are: first, the weighted norm or the sum of weighted absolute values under the mechanism weights; and second, directional consistency, i.e., whether the direction of change of the residual is consistent with the known regulatory direction. For example, when the target gene is knocked out, the expression change of its known activated downstream genes should show a downregulation direction in the residual. This can be measured by counting or weighting the degree of consistency between the residual sign and the known regulatory direction sign. The two aspects can be combined into a single statistic. For example, weighted signals with consistent directions can be recorded as positive and those with opposite directions as negative, and then a weighted sum can be calculated. The specific calculation form of this embodiment is not limited.
[0065] In step S503 above, this embodiment compares the mechanism statistic with the empty distribution to obtain specific evidence q. The empty distribution refers to the distribution that the mechanism statistic should exhibit when predicting the absence of target-specific information. Its construction includes: selecting calibration empty samples from historical data based on the same task context c, such as changes in non-target control perturbations, and calculating their mechanism statistics to form the empty distribution; then, using mechanism-independent historical perturbations, i.e., changes in historical perturbations with no known regulatory relationship to the target gene, to calculate the mechanism statistic to form the empty distribution; subsequently, using a randomly matched set of genes, i.e., randomly selecting a set of genes with the same size as the target gene and its first-order regulatory neighborhood, to construct random mechanism weights, and repeatedly calculating the statistic to form the empty distribution. The comparison method includes, for example, calculating the quantile or empirical p-value of the current mechanism statistic in the empty distribution; the higher the quantile (or the smaller the p-value), the stronger the specific evidence q.
[0066] The reason for comparing with the empty distribution rather than directly looking at the absolute size of the mechanism statistic is that different target genes have different sizes of first-order regulatory neighborhoods and different degrees of completeness of prior knowledge, and the absolute values of the mechanism statistic lack cross-task comparability. The empty distribution, on the other hand, describes the natural fluctuation range of the statistic under the same background without target-specific information. By placing the current statistic within this range for comparison, the specific evidence obtained has a statistically comparable meaning across tasks, avoiding systematic relaxation for genes with rich mechanism priors and systematic tightening for genes with poor priors.
[0067] It should be noted that the embodiments disclosed herein only perform mechanism and spatial distribution calibration on the perturbation-specific prediction residuals after stripping away common changes, so that the mechanism score is no longer interfered with by common stress signals, and the obtained specific evidence q can more realistically reflect the sufficiency of target perturbation-specific information in the prediction.
[0068] Please see Figure 7 , Figure 7 yes Figure 2 The flowchart in step S105, which involves predicting the transcriptional state after controlling the perturbation based on specific evidence, further illustrates the process. In some embodiments, the process of predicting the transcriptional state after controlling the perturbation based on specific evidence may further include steps S601 to S603: Step S601: Repeatedly resample multiple historical genetic perturbations, reconstruct low-rank systematic change subspaces based on the historical genetic perturbations obtained from each resampling, and compare the closeness between the reconstructed low-rank systematic change subspaces. Step S602: If the number of historical genetic perturbations reaches the preset minimum requirement, the degree of proximity meets the preset stability requirement, and the specific evidence reaches the preset threshold, the output of the predicted transcriptional state after perturbation is allowed; otherwise, the output level of the predicted transcriptional state after perturbation is reduced or output is rejected. Step S603: After obtaining the actual processed transcriptome results of the target genetic perturbation, verify the release conclusion of this output based on the actual processed transcriptome results, and update the historical calibration data for subsequent tasks.
[0069] In step S601 above, this embodiment of the present disclosure repeatedly resamples multiple historical genetic perturbations, such as Bootstrap resampling with replacement. Each time, a low-rank systematic change subspace is reconstructed based on the subset of historical genetic perturbations obtained from the resampling, and the closeness between the reconstructed subspaces is compared. The closeness between subspaces can be measured using principal angles, the norm of the difference between projection matrices, or the distance on the Grassmann manifold; this embodiment of the present disclosure does not impose specific limitations on this. The stability check is performed because if there are too few historical samples, a few random directions may be mistaken for common patterns, leading to unstable subspaces. The residuals extracted from unstable subspaces and the resulting specific evidence are also unreliable. Only when the subspaces are sufficiently close after resampling can it be concluded that the extracted common changes are real structures that repeatedly occur in the current context.
[0070] In step S602 above, the output of the predicted transcriptional state after perturbation is only allowed if three conditions are met simultaneously: the number of historical genetic perturbations reaches a preset minimum requirement, the resampled subspace proximity meets a preset stability requirement, and the specific evidence q reaches a preset threshold. This allows for outputting a complete high-dimensional gene-level prediction result, or writing the result into the subsequent experimental candidate generation module. Otherwise, the output level of the predicted transcriptional state after perturbation is reduced or the output is rejected. For example, only a restrictive result indicating insufficient evidence, a lower-granularity directional result, or a direct rejection is given. The preset threshold is predetermined based on independent historical calibration data and cannot be temporarily modified after seeing the actual experimental results of the current target. If historical data is insufficient or the subspace is significantly unstable, this embodiment directly reduces the output level or rejects high-granularity release, rather than forcibly expanding to a clearly mismatched historical background to obtain the result. The reason for using multi-condition joint control is that the credibility of the q value itself depends on the quality of the reference data. Only when historical data is sufficient and the subspace is stable does q reaching the threshold constitute complete and credible evidence. If any premise is not met, even if q appears high, it cannot independently support the release conclusion.
[0071] In step S603 above, when the actual experimental results are returned later, the release decision of this output can be verified based on the actual processed transcriptome results. For example, it can be checked whether the target-specific changes in the actual results are consistent with the release decision of this time. The actual results of this task are then added to the historical calibration data of the next version for calibrating the threshold or null distribution of subsequent tasks. However, it can only affect subsequent tasks and cannot rewrite the reference construction, subspace, q-value, and release decision that have already been completed, thus ensuring the traceability of each release decision and the honesty of the evaluation.
[0072] In some embodiments, the virtual cell model is a pre-trained model, and its parameters remain unchanged during the execution of the method disclosed herein. The predicted transcriptional state after perturbation is the prediction result output by the virtual cell model before obtaining the actual transcriptome results after the target genetic perturbation. In other words, this disclosure does not require retraining or fine-tuning of the underlying virtual cell model and can be used as a reliable control layer outside various existing perturbation prediction models, facilitating the integration of different existing models while ensuring that changes in model parameters do not interfere with the fairness of the reliable evaluation.
[0073] In summary, this embodiment of the present disclosure achieves adaptation to different cell backgrounds by implementing the single-cell genetic perturbation prediction result reliability control method in steps S101 to S105. This is achieved by constructing a task context-dynamically matched, unperturbed control and historical real perturbation data adapted to the current cell background, replacing the fixed reference center. Subsequently, a low-rank systematic change subspace is constructed based on the change vectors of multiple historical real perturbations to model and process common background noise such as stress and batch differences, transforming historical data from prediction generation to a noise benchmark for prediction review. Then, the overall predicted change is calculated and its projection onto this subspace is removed to obtain the perturbation-specific prediction residual. This approach effectively separates background noise from the actual perturbation effect of the target, directly quantifying the target-specific information in the prediction. Finally, it only performs mechanism and spatial distribution calibration on the residuals to obtain specific evidence, and controls the prediction output accordingly, allowing only predictions containing sufficient target perturbation-specific information to be released. This enables targeted release judgments of existing predictions when the actual results are unknown, avoiding erroneous releases that look very similar but actually fail to predict the target gene's effect, thus improving the credibility of perturbation predictions. At the same time, the entire process does not depend on the current actual target result, does not require retraining the underlying model, and allows the credibility judgment to directly change the usage path of the result through subspace stability checks.
[0074] The following is a complete explanation of the above-mentioned method for reliable control of single-cell genetic perturbation prediction results, using a specific embodiment. Suppose researchers wish to predict genes in an immune cell. The virtual cell model initially predicts the changes in the transcriptome after knockout, but the actual knockout experiment has not yet been completed. The system first obtains the single-cell transcriptome state and genes before perturbation. After knocking out the target genetic perturbation and the perturbation in the model output, the transcriptional state is predicted, and a task context c is formed based on the cell type, experimental platform, sampling time, and perturbation method. Subsequently, a set of commonly evaluable genes Ω is determined, and genes that have not been detected for a long time are filtered out.
[0075] Next, the system uses the same 'c' and the same set of distance rules to select a batch of matched, unperturbed controls with the smallest background distance to obtain normal centers. We also selected multiple historical gene knockout experiments with similar backgrounds and existing real-world data. Each historical knockout experiment was subtracted from its control group to obtain a historical change vector. After constructing the historical disturbance change matrix, SVD decomposition is performed to extract the first few major change directions and construct a low-rank systematic change subspace. The system repeatedly resamples historical disturbances, reconstructs subspaces each time, and compares the proximity between subspaces.
[0076] After stabilization, the system calculates the model prediction of g relative to... The overall change Δ, according to Remove common variations from the predictions to obtain the perturbation-specific prediction residuals. Then, based on g and its pre-registered first-order regulatory neighborhood formation mechanism weight m, calculate... The consistency of signal strength and direction falling on the target mechanism yields the mechanism statistic, which is compared with the empty distribution constructed using the same c-selected calibration empty sample to obtain specific evidence q.
[0077] If the number of historical perturbations reaches the preset minimum requirement, the subspace stability meets the requirement, and q reaches the threshold set in advance on independent historical calibration data, a complete gene-level prediction is allowed to be output, and this prediction is written into the subsequent experimental candidate generation module; if q is insufficient or the subspace is unstable, this prediction is restricted or rejected from entering the subsequent experimental candidate pool. After the actual knockout experiment results are returned, the system uses the actual results to verify the release conclusion and adds the task to the historical calibration data of the next version for calibration of subsequent tasks.
[0078] Please see Figure 8 This disclosure also provides a reliable control system for single-cell genetic perturbation prediction results, which can implement the above-mentioned reliable control method for single-cell genetic perturbation prediction results. The reliable control system for single-cell genetic perturbation prediction results includes: The task receiving module 801 is used to obtain the task information of the current perturbation prediction task. The task information includes the single-cell transcriptome state before perturbation, the target genetic perturbation, and the predicted transcriptional state after perturbation output by the virtual cell model for the target genetic perturbation. The context matching module 802 is used to construct the task context of the current perturbation prediction task based on the single-cell transcriptome state before perturbation and the target genetic perturbation, and select unperturbed control information and multiple historical genetic perturbations with existing real experimental results from historical data based on the task context. Subspace construction module 803 is used to determine the historical change vector based on the difference between the perturbed transcriptome state of each historical genetic perturbation and the corresponding control transcriptome state, and to construct a low-rank systematic change subspace based on multiple historical change vectors. The residual calculation module 804 is used to calculate the overall change of the predicted transcriptional state after perturbation relative to the information of the unperturbed control, and to remove the projection part of the overall change on the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual. The credible control module 805 is used to calibrate the perturbation-specific prediction residuals to obtain specific evidence, and to control the output of the predicted transcriptional state after perturbation based on the specific evidence.
[0079] Each module can be deployed on the same computer or distributed across multiple servers. In summary, the single-cell genetic perturbation prediction result reliability control system executes the single-cell genetic perturbation prediction result reliability control method in the above embodiments. It constructs reference data that dynamically matches the task context and adapts to the current cell background, builds a low-rank systematic change subspace based on multiple historical real perturbations to model common background noise, extracts common changes from the prediction to obtain perturbation-specific prediction residuals, and calibrates the residuals to obtain specific evidence to control the prediction output. Only predictions containing sufficient target perturbation-specific information are allowed, thus enabling targeted release judgments of existing predictions when the true result is unknown, thereby improving the reliability of perturbation prediction.
[0080] The specific implementation of the reliable control system for single-cell genetic perturbation prediction results is basically the same as the specific embodiment of the reliable control method for single-cell genetic perturbation prediction results described above, and will not be repeated here. Under the premise of meeting the requirements of the embodiments of this disclosure, the reliable control system for single-cell genetic perturbation prediction results may also be equipped with other functional modules to realize the reliable control method for single-cell genetic perturbation prediction results in the above embodiments.
[0081] This disclosure also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned reliable control method for single-cell genetic perturbation prediction results. This electronic device can include any smart terminal such as a tablet computer or in-vehicle computer.
[0082] Please see Figure 9 , Figure 9 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 901 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this disclosure. The memory 902 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 902 and is called and executed by the processor 901 to execute the reliable control method for single-cell genetic perturbation prediction results of the embodiments of this disclosure. The input / output interface 903 is used to implement information input and output; The communication interface 904 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 905 transmits information between various components of the device (e.g., processor 901, memory 902, input / output interface 903, and communication interface 904); The processor 901, memory 902, input / output interface 903, and communication interface 904 are connected to each other within the device via bus 905.
[0083] This disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for reliable control of single-cell genetic perturbation prediction results.
[0084] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0085] The embodiments described in this disclosure are for the purpose of more clearly illustrating the technical solutions of this disclosure and do not constitute a limitation on the technical solutions provided by this disclosure. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by this disclosure are also applicable to similar technical problems.
[0086] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this disclosure, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0087] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0088] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0089] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in this disclosure and the foregoing drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such orders can be interchanged where appropriate so that embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0090] It should be understood that in this disclosure, "at least one item" means one or more, and "more than one" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0091] In the embodiments provided in this disclosure, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative, and the division of the units described above is only a logical functional division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.
[0092] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0093] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0094] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0095] The preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present disclosure. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and spirit of the present disclosure shall be within the scope of the claims of the present disclosure.
Claims
1. A method for reliable control of single-cell genetic perturbation prediction results, characterized in that, include: Obtain task information for the current perturbation prediction task, including the single-cell transcriptome state before perturbation, the target genetic perturbation, and the predicted transcriptional state after perturbation output by the virtual cell model for the target genetic perturbation; Based on the pre-perturbation single-cell transcriptome state and the target genetic perturbation, a task context for the current perturbation prediction task is constructed. Based on the cell type or cell state, experimental platform or batch, sampling time, genetic perturbation method, and a low-dimensional representation of the pre-perturbation single-cell transcriptome state included in the task context, background distances between the current perturbation prediction task and each historical sample in the historical data are calculated according to preset distance rules. Based on these background distances, matching unperturbed control information and multiple historical genetic perturbations with existing real experimental results are selected from the historical data. Historical change vectors are determined based on the differences between the transcriptome state after each historical genetic perturbation and the corresponding control transcriptome state. Multiple historical change vectors are then combined to form a historical perturbation change matrix. Principal component analysis or singular value decomposition is performed on the historical perturbation change matrix to extract the main change directions that repeatedly occur in the multiple historical genetic perturbations. The space spanned by the extracted main change directions is determined as a low-rank systematic change subspace. Calculate the overall change of the predicted transcriptional state after perturbation relative to the information of the unperturbed control, and remove the projection of the overall change onto the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual; The perturbation-specific prediction residual is calibrated to obtain specific evidence, and the output of the perturbation-predicted transcriptional state is controlled based on the specific evidence.
2. The method for reliable control of single-cell genetic perturbation prediction results according to claim 1, characterized in that, Prior to the low-dimensional representation of the cell type or cell state, experimental platform or batch, sampling time, genetic perturbation method, and the single-cell transcriptome state before the perturbation, the method further includes: A common evaluable gene set is determined, which retains genes that the virtual cell model can stably output, the historical data can be observed, and the mechanism of the target genetic perturbation can be located, while filtering out genes that cannot be detected for a long time. The control transcriptome state, the post-perturbation transcriptome state of the historical genetic perturbation, and the post-perturbation predicted transcriptome state are all gene expression states on the common evaluable gene set.
3. The method for reliable control of single-cell genetic perturbation prediction results according to claim 1, characterized in that, The calculation of the overall change in the predicted transcriptional state after perturbation relative to the unperturbed control information, and the removal of the projection of the overall change onto the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual, includes: Based on the unperturbed control information, normal centers are identified, and the difference between the perturbed predicted transcriptional state and the normal centers is calculated to obtain the overall change. After subtracting the centers of multiple historical change vectors from the overall change, the projection of the subtraction result onto the low-rank systematic change subspace is removed, and the remaining part is determined as the perturbation-specific prediction residual.
4. The method for reliable control of single-cell genetic perturbation prediction results according to claim 1, characterized in that, The specific evidence obtained by calibrating the specific prediction residual of the perturbation includes: Based on the target gene of the target genetic perturbation and the first-order regulatory neighborhood of the pre-registered target gene, mechanism weights are constructed; The perturbation-specific prediction residual is calculated based on the mechanism weights. The mechanism statistics characterize the signal intensity in the perturbation-specific prediction residual that falls on the target gene and its first-order regulatory neighborhood, as well as the degree of consistency between the direction of change and the known regulatory direction. The mechanism statistics are compared with a null distribution to obtain specific evidence, which is constructed from a set of calibrated null samples, mechanism-independent historical perturbations, or random genes of matching size selected from the historical data based on the task context.
5. The method for reliable control of single-cell genetic perturbation prediction results according to claim 1, characterized in that, The output of the predicted transcriptional state after perturbation based on the specific evidence includes: The historical genetic perturbations are repeatedly resampled, and the low-rank systematic change subspaces are reconstructed based on the historical genetic perturbations obtained from each resampling. The closeness between the reconstructed low-rank systematic change subspaces is then compared. If the number of historical genetic perturbations reaches a preset minimum requirement, the degree of proximity meets a preset stability requirement, and the specific evidence reaches a preset threshold, the output of the predicted transcriptional state after perturbation is allowed; otherwise, the output level of the predicted transcriptional state after perturbation is reduced or output is rejected. The preset threshold is predetermined on independent historical calibration data; after obtaining the actual processed transcriptome results of the target genetic perturbation, the release conclusion of this output is verified based on the actual processed transcriptome results, and the historical calibration data of subsequent tasks is updated.
6. The method for reliable control of single-cell genetic perturbation prediction results according to claim 1, characterized in that, The virtual cell model is a pre-trained model, and its parameters remain unchanged during the execution of the method. The predicted transcriptional state after perturbation is the prediction result output by the virtual cell model before obtaining the actual transcriptome results after the target genetic perturbation.
7. A reliable control system for single-cell genetic perturbation prediction results, characterized in that, include: The task receiving module is used to acquire the task information of the current perturbation prediction task. The task information includes the single-cell transcriptome state before perturbation, the target genetic perturbation, and the predicted transcriptional state after perturbation output by the virtual cell model for the target genetic perturbation. The context matching module is used to construct the task context of the current perturbation prediction task based on the single-cell transcriptome state before the perturbation and the target genetic perturbation. Based on the cell type or cell state, experimental platform or batch, sampling time, genetic perturbation method, and low-dimensional representation of the single-cell transcriptome state before the perturbation included in the task context, the module calculates the background distance between the current perturbation prediction task and each historical sample in the historical data according to a preset distance rule. Based on the background distance, the module selects matching unperturbed control information and multiple historical genetic perturbations with existing real experimental results from the historical data. The subspace construction module is used to determine historical change vectors based on the differences between the perturbed transcriptome state of each historical genetic perturbation and the corresponding control transcriptome state, and to form a historical perturbation change matrix from multiple historical change vectors; to perform principal component analysis or singular value decomposition on the historical perturbation change matrix to extract the main change directions that repeatedly appear in the multiple historical genetic perturbations, and to determine the space spanned by the extracted main change directions as the low-rank systematic change subspace; The residual calculation module is used to calculate the overall change of the predicted transcriptional state after perturbation relative to the unperturbed control information, and remove the projection part of the overall change on the low-rank systematic change subspace from the overall change to obtain the perturbation-specific prediction residual; A reliable control module is used to calibrate the perturbation-specific prediction residual to obtain specific evidence, and control the output of the perturbation-predicted transcriptional state based on the specific evidence.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the reliable control method for single-cell genetic perturbation prediction results as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Response quantification method and device for single cell disturbance data, medium and product
CN122157772A
Target virtual disturbance analysis system based on single cell transcriptome data
CN122676901A
