Method for analyzing respiratory pathogenic microorganism and host interaction based on macro-transcriptome sequencing

By constructing a joint probability model and an expectation-maximization algorithm, the species-level bias problem of Kraken2 classification results was solved, and accurate separation of host and pathogen signals and efficient calculation of abundance matrix were achieved, thus improving the accuracy of respiratory pathogen-host interaction analysis.

CN123182771APending Publication Date: 2026-11-27HENAN CENT FOR DISEASE CONTROL & PREVENTION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611332868.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies suffer from species-level bias in Kraken2 classification results when processing respiratory pharyngeal swab samples. This causes some reads to be labeled at the genus or family level because they cannot be distinguished, resulting in an underestimation of species abundance.

Method used

Using a metatranscriptome sequencing approach, a joint probability model was constructed that includes the host likelihood function and the pathogen likelihood function. A pre-defined high-confidence sequence was introduced as an anchor set. The host and pathogen weights were calculated by expectation maximization. The reads dataset was divided based on a pre-defined threshold, and computational channels for the host and pathogen were constructed. Signal accumulation and matrix solving were performed to identify the association patterns between the host and pathogen.

Benefits of technology

It improves the accuracy of host gene expression matrix and pathogen species abundance matrix, reduces the probability of host sequences being misidentified as pathogen sequences, and enhances the reliability of cross-domain interaction relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182771A_ABST
    Figure CN123182771A_ABST
Patent Text Reader

Abstract

The application provides a respiratory tract pathogenic microorganism and host interaction analysis method based on macro-transcriptome sequencing, the method comprises the following steps: obtaining double-end reads data of a respiratory tract sample, constructing a joint probability model comprising a host likelihood function and a pathogenic microorganism likelihood function, introducing a host anchor set and a pathogenic microorganism anchor set as a constraint, and calculating host attribution weight and pathogenic microorganism attribution weight of a double-end read pair through an expectation maximization algorithm; based on weight shunting, signal weighted accumulation and host expression structure constraint, the host gene expression matrix and the pathogenic microorganism abundance matrix are jointly optimized; based on the optimized double-domain data, a conditional dependence relationship is constructed, and a cross-domain interaction network between host response genes and pathogenic microorganisms is obtained, the application can reduce the interference of high-abundance host background on low-abundance pathogenic signal detection, and improve the accuracy of pathogen identification and host-pathogen interaction analysis in respiratory tract infection samples.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of bioinformatics and pathogen detection technology, specifically a method for analyzing the interaction between respiratory pathogens and their host based on metatranscriptome sequencing. Background Technology

[0002] Metatranscriptome sequencing technology performs high-throughput sequencing on all RNA extracted from respiratory tract pharyngeal swab samples, simultaneously obtaining transcriptome information of the host and microorganisms in the sample, such as bacteria, viruses, and fungi. This provides a powerful tool for the precise diagnosis and pathogenesis research of respiratory infectious diseases.

[0003] The vast majority of RNA in respiratory pharyngeal swab samples originates from the host, with microbial RNA accounting for a very small percentage. Without effective processing, microbial signals will be severely diluted by the host data.

[0004] Existing technologies face the following technical bottlenecks when processing such high-host-background samples: species-level bias in Kraken2 classification results. Kraken2 classifies based on k-mer exact matching; when samples contain closely related species, some reads are labeled at the genus or family level because they cannot be distinguished, leading to an underestimation of species-level abundance. Therefore, overcoming these technical problems and shortcomings is a key issue that needs to be addressed. Summary of the Invention

[0005] To overcome the aforementioned problems in the existing technology, this application provides a method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing, employing the following technical solution:

[0006] In a first aspect, this application provides a method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing, including:

[0007] Sequencing data of paired-end reads from respiratory samples were obtained. A joint probability model including the host likelihood function and the pathogenic microorganism likelihood function was constructed. A preset high-confidence sequence was introduced as the anchor set, and the expectation maximization solution was performed to calculate the host attribution weight of each paired-end read to the respiratory host genome. The remaining weight was used as the pathogenic microorganism attribution weight.

[0008] Based on preset high confidence thresholds and preset low confidence thresholds, the host attribution weights are divided into segments, and the paired-end reads sequencing data are divided into host datasets, pathogenic microorganism datasets, and reads datasets to be estimated.

[0009] Based on the host attribution weight and the pathogen attribution weight, the sequence signals corresponding to the reads dataset to be estimated are accumulated into the host calculation channel and the pathogen calculation channel, respectively.

[0010] Based on the accumulated data from the host computation channel and the pathogen computation channel, and combined with the host dataset and the pathogen dataset, the initial host gene expression matrix and the initial pathogen species abundance matrix are obtained, respectively. The host attribution weights of the reads dataset to be estimated are then corrected to generate the corrected host attribution weights. The signal accumulation and matrix solving are then performed again to obtain the target host gene expression matrix and the target pathogen species abundance matrix.

[0011] We constructed cross-domain conditional dependencies between host response signals and pathogen signals, and identified association patterns between host transcriptional responses and pathogen abundance changes under infected conditions.

[0012] Secondly, this application also provides a respiratory pathogen-host interaction analysis system based on metatranscriptome sequencing, comprising:

[0013] The attribution weight acquisition module is used to acquire paired-end reads sequencing data of respiratory samples, construct a joint probability model including the host likelihood function and the pathogenic microorganism likelihood function, introduce a preset high-confidence sequence as the anchor set, perform expectation maximization solution, calculate the host attribution weight of each paired-end read to the respiratory host genome, and use the remaining weight as the pathogenic microorganism attribution weight.

[0014] The dataset partitioning module is used to divide the paired-end reads sequencing data into host datasets, pathogen datasets, and reads datasets to be estimated based on preset high confidence thresholds and preset low confidence thresholds.

[0015] The calculation channel accumulation module is used to accumulate the sequence signals corresponding to the reads dataset to be estimated into the host calculation channel and the pathogen calculation channel respectively, based on the host attribution weight and the pathogen attribution weight.

[0016] The target data acquisition module is used to obtain the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix based on the accumulated data of the host computing channel and the pathogenic microorganism computing channel, combined with the host dataset and the pathogenic microorganism dataset, respectively; to perform secondary correction on the host attribution weights of the reads dataset to be estimated to generate corrected host attribution weights, and to re-execute signal accumulation and matrix solving to obtain the target host gene expression matrix and the target pathogenic microorganism species abundance matrix.

[0017] The cross-domain interaction identification module is used to construct cross-domain conditional dependencies between host response signals and pathogen signals, and to identify the association patterns between host transcriptional responses and pathogen abundance changes under infected conditions.

[0018] Thirdly, this application provides an electronic device, comprising:

[0019] One or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the device, cause the device to perform the method as described in the first aspect.

[0020] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method described in the first aspect.

[0021] Fifthly, this application provides a computer program that, when executed by a computer, performs the method described in the first aspect.

[0022] In one possible design, the program in the fifth aspect can be stored wholly or partially on a storage medium packaged with the processor, or it can be stored wholly or partially on a memory not packaged with the processor.

[0023] This application has the following beneficial effects:

[0024] 1. This application constructs a joint probability model that includes a host likelihood function and a pathogenic microorganism likelihood function, and introduces host anchoring sets and pathogenic microorganism anchoring sets as constraints on the probability model. This allows paired reads to no longer be directly deleted or classified based on a single alignment result, but rather a probability allocation is made between host explanatory power and pathogenic microorganism explanatory power. By calculating the host attribution weight and pathogenic microorganism attribution weight corresponding to each paired read pair, fuzzy reads that simultaneously have weak host matching and weak pathogenic microorganism support characteristics can be retained.

[0025] 2. This application utilizes the pairing relationship between paired reads to construct a joint evidence vector by combining host alignment evidence, pathogen matching evidence, and evidence of physical structural consistency between the two ends. The source probability of the paired reads is then iteratively solved using the expectation-maximization algorithm. Compared with existing methods based on single sequence similarity or single classification threshold, this application can integrate evidence from multiple dimensions to provide a continuous probability description for reads with unclear sources, reducing the problem of misclassifying host residual sequences as pathogen sequences.

[0026] 3. Based on host attribution weight and pathogen attribution weight, this application assigns the same paired reads in the dataset to be estimated to the host calculation channel and the pathogen calculation channel respectively, so that the sum of the contribution values ​​of the two channels is equal to the original effective count value of the reads. While preserving the integrity of the original sequencing information, it realizes the synchronous calculation of host expression signal and pathogen abundance signal, avoiding the information loss caused by filtering host sequences in traditional methods.

[0027] 4. This application constructs host expression structure consistency constraints based on the initial host expression matrix. By evaluating the consistency between the reads' attribution results and the overall host expression state, the initial host attribution weights are corrected a second time. For reads that, although they have local host matching, will cause abnormal shifts in the host expression structure, the host attribution weights are reduced, thereby reducing the situation where low-abundance pathogen signals are incorrectly absorbed into the host expression matrix and improving the accuracy of the target host gene expression matrix and the target pathogen microorganism species abundance matrix.

[0028] 5. Based on the corrected target host gene expression matrix and target pathogen species abundance matrix, this application constructs a cross-domain conditional dependency evaluation model with conditional variable constraints. By excluding the influence of background factors such as changes in overall host transcription and changes in overall pathogen load, the effective association between host response genes and pathogen taxonomic units is obtained. Combining host expression stability and pathogen abundance stability, the cross-domain interaction relationship is screened a second time to reduce spurious interactions caused by random sequencing errors and accidental statistical associations, thereby improving the reliability of host-pathogen cross-domain interaction network construction. Attached Figure Description

[0029] Figure 1 This is a flowchart of the method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing, according to an embodiment of this application.

[0030] Figure 2 This is a flowchart illustrating the weight acquisition process in an embodiment of this application.

[0031] Figure 3 This is a system flowchart of an embodiment of this application. Detailed Implementation

[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.

[0033] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0034] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0035] This application is applied to respiratory metagenomic sequencing scenarios. Data is derived from respiratory samples such as nasopharyngeal swabs and pharyngeal swabs. After RNA extraction, rRNA removal or low-abundance transcription enrichment, library construction, and paired-end sequencing, paired R1 reads and R2 reads are obtained. Input data includes at least paired-end FASTQ files, base quality values, adapter information, sample batch number, sequencing read length, host reference genome or transcriptome index, and a pre-organized respiratory pathogen reference sequence library.

[0036] Please refer to Figure 1 The present application provides a method for analyzing the interaction between respiratory pathogens and their hosts based on metatranscriptome sequencing. The specific implementation process is as follows:

[0037] Step 110: Obtain sequencing data of paired-end reads from respiratory samples, construct a joint probability model including host likelihood function and pathogenic microorganism likelihood function, introduce a preset high-confidence sequence as anchor set, perform expectation maximization solution, calculate the host attribution weight of each paired-end read pair to the respiratory host genome, and use the remaining weight as the pathogenic microorganism attribution weight.

[0038] Specifically, a joint probability model including the host likelihood function and the pathogenic microorganism likelihood function is constructed. Preset high-confidence host sequences and preset high-confidence pathogenic microorganism sequences are respectively composed of a host anchoring set and a pathogenic microorganism anchoring set. The initial host origin prior mixing ratio is determined based on the number of records in the two anchoring sets. During the expectation maximization process, the host category posterior responsibility of records in the host anchoring set is kept at one, and the host category posterior responsibility of records in the pathogenic microorganism anchoring set is kept at zero. The host category posterior responsibility and the host origin prior mixing ratio of the pairs of reads to be estimated are calculated alternately. After satisfying the preset iteration termination condition, the host category posterior responsibility of each pair of reads is determined as the host attribution weight belonging to the respiratory host genome.

[0039] For the detailed implementation process of step 110, please refer to [link / reference]. Figure 2 :

[0040] Step 21: Obtain paired-end sequencing data of the metatranscriptome of the respiratory tract sample and extract the set of valid paired-end reads containing R1 and R2 sequences.

[0041] In this embodiment, the sequencing data quality control and cleaning module process is as follows:

[0042] 1. Input data: The raw FASTQ file generated after the respiratory tract pharyngeal swab sample is processed by the high-throughput velocimetry paired-end sequencing platform. The read length is 150bp, the data per sample is about 80GB, and there are about 280 million reads.

[0043] 2. Processing procedure: Quality control is performed using FASTP software, specifically including:

[0044] (a) Connector sequence detection and removal: Connector sequences are automatically identified and removed using overlap information between paired reads.

[0045] (b) Sliding window quality filtering: A fixed window length (5 bases) is used, sliding from the 3' end to the 5' end of the reads. For each window, the arithmetic mean of the quality scores of all bases within the window is calculated. The quality scores are measured using the Phred scale, where Q20 represents a base recognition accuracy of 99%, i.e., an error rate of 1%. When the average quality score of a window is lower than Q20, it indicates that the overall quality of the bases within that window is unreliable. The window and all bases thereafter are truncated, retaining only the high-quality 5' end sequence that has been scanned.

[0046] 3. Output data: Cleaned high-quality double-ended reads (*_clean_R1.fq.gz, *_clean_R2.fq.gz).

[0047] In this embodiment, Bowtie2's "--very-sensitive-local" mode is used to locally align the cleaned paired-end reads with the T2T-CHM13 host reference genome. A multi-seed search strategy with a preset step size of 20 bp is employed. The seed extraction interval is determined based on the read length, and seeds are extracted from different positions on the read. If seed duplication or initial expansion fails to yield effective alignment, the search is repeated. Local alignment allows the 5′ or 3′ ends of the read to be soft-truncated and excluded from alignment; the mismatch penalty is set to "--mp 6,2"; and the read gap penalty is set to "--rdg 5,3".

[0048] Specifically, paired-end FASTQ files generated by metatranscriptome sequencing of respiratory samples such as nasopharyngeal swabs and throat swabs are processed. Sequencing adapters are removed from the original paired-end reads, low-quality bases at the ends are truncated, and sequence pairs with unknown bases exceeding a preset threshold are filtered out, while retaining the pairing relationship between R1 and R2 sequences. Sequence pairs that meet the quality requirements at both ends are grouped into a valid paired-end read set. Each data unit includes R1 and R2 sequences, the quality distribution at both ends, an estimated insert length, the orientation relationship between the two ends, and a sample number. Read pairs that are qualified at one end but not at the other end are marked as incomplete pairing data and are not directly used for joint probability calculation.

[0049] Paired-end reads are two sequences obtained from the two ends of the same RNA / cDNA fragment, usually denoted as R1 reads and R2 reads. R1 reads and R2 reads share the same read number, indicating they come from the same original fragment.

[0050] Step 22: An anchor set is formed based on the preset high-confidence sequences of respiratory hosts and high-confidence sequences of pathogenic microorganisms, wherein the anchor set consists of specific fragments with unique localization and a cross-hit rate lower than a preset threshold.

[0051] The anchoring set includes host anchoring sequences and pathogen anchoring sequences. The screening process is as follows: From high-frequency stable expressed genes in isolated respiratory epithelial cells, immune cells, and mucosa-associated tissues, fragments that can uniquely locate to the host genome and have no cross-matching are selected as host anchoring sequences; from specific conserved gene regions, species characteristic regions, or clinical marker fragments of respiratory pathogens, fragments that do not have homologous cross-matching between environmental microorganisms and the host are selected as pathogen anchoring sequences. In the initialization phase, paired-end reads falling into the host anchoring sequence are assigned an initial host confidence score higher than a preset host threshold, and paired-end reads falling into the pathogen anchoring sequence are assigned an initial pathogen confidence score higher than a preset pathogen threshold. The anchoring set is a stable discriminative fragment selected from the respiratory scenario. Fragments that are likely to cross-match with host sequences or environmental microorganism sequences are not included in the anchoring set. The anchoring set is equivalent to a set of reliable reference points used to constrain the initial direction of the probability model, preventing the probability model from being completely biased towards the host when the host level is extremely high, and preventing low-quality microbial noise from being amplified into positive signals.

[0052] Among them, stable expression genes can be determined based on the expression variance, expression coverage continuity and cross-sample occurrence frequency in multiple healthy respiratory samples. The unique location conditions include at least the uniqueness of the reference genome alignment position, the minimum alignment quality threshold, and the absence of highly similar regions with the pathogen reference library.

[0053] The pathogenic microorganism anchor set can be established by selecting the corresponding pathogen reference database according to the target detection range, including at least one of the following: viral reference sequence library, bacterial genome database or fungal transcriptome sequence database.

[0054] For example, suppose that in the metatranscriptome data of a bronchoalveolar lavage fluid sample, host reads account for a high proportion, while the actual pathogenic microorganisms account for only a very low proportion. When classifying directly by the highest alignment score, some short reads from viral transcription fragments may be classified into low-similar-to-host regions due to insufficient length. This embodiment incorporates the matching at both ends, quality distribution, and anchoring relationship of such reads into the probability calculation. When one end of a read pair weakly matches the host, and the other end falls near the viral anchoring sequence, and the orientation of both ends and the fragment length conform to the library characteristics of the pathogen reference sequence, this read pair will not be simply classified as host, but will instead receive a higher initial pathogen weight.

[0055] Step 23: Construct a joint probability model that includes the host likelihood function and the pathogenic microorganism likelihood function, and determine the initial parameter constraints of the joint probability model using the anchor set as a reliable reference point.

[0056] The generation of the host likelihood function and the pathogen likelihood function includes: based on the empirical quantiles of the host anchor set and the pathogen anchor set, processing the joint evidence vector... The continuous fields are divided into intervals, and separate classification intervals are set for discrete fields and missing values. A preset Laplace smoothing coefficient is introduced, and the conditional probability distribution of each evidence field under the host category and pathogen category is calculated based on the frequency of anchor records falling within each interval. For the test paired reads, the log-likelihood values ​​of each evidence field in the corresponding interval are accumulated by looking up a table, and the linear proportion is restored by shifting the maximum log value, thereby generating the host likelihood function. Likelihood function with pathogenic microorganisms ,in This represents the set of host category conditional probability parameters obtained from training on the host anchor set, including the probability distribution parameters corresponding to each evidence field. This represents the set of conditional probability parameters for pathogen categories obtained by training with the pathogen anchor set.

[0057] For the two-ended reads in the host anchor set, the frequency of occurrence of each evidence field in the joint evidence vector Xi under the host category is statistically analyzed, and the host category conditional probability parameter is obtained after Laplace smoothing. The same method is used to obtain the pathogen category conditional probability parameter for the pathogen anchor set.

[0058] For the Construct a joint evidence vector from pairs of reads. The joint evidence vector, composed of host comparison evidence, pathogen matching evidence, and bilateral structural consistency evidence, can be represented as: ,in For the host to compare evidence vectors, Matching evidence vectors to pathogenic microorganisms and This is the evidence vector for consistency between the two-ended structures. It should include at least the host alignment quality score, the proportion of unique alignments, the proportion of mismatches, and the splice consistency score; At least including pathogen reference library hit score, specific fragment coverage ratio, and classification consistency score, It should include at least the double-ended insertion length deviation, directional consistency score, and the proportion of the area supported by both ends.

[0059] The process of obtaining the joint evidence vector is as follows: First, obtain the paired-end reads sequence of the metatranscriptome of the sample to be tested, and extract the joint evidence vector containing host alignment features, pathogenic microorganism features, and paired-end physical structure consistency features. Then, align the paired-end reads sequence with the respiratory host reference genome, and extract respiratory host alignment features including host reference sequence matching position, uniqueness of match, mismatch distribution, splicing consistency, and alignment quality score. Based on a respiratory pathogenic microorganism reference sequence library, extract pathogenic microorganism features including pathogen reference library hit rate, species-specific fragment support, and microorganism sequence coverage trend. Finally, extract the insertion fragment length distribution and paired-end orientation alignment status of the paired-end reads sequence at the alignment position to form paired-end physical structure consistency features.

[0060] In one implementation, different evidence fields in the joint evidence vector are regarded as conditionally independent evidence dimensions. The conditional probability of each field is calculated under a given category condition, and the comprehensive category likelihood value is obtained by accumulating the log-likelihood. For evidence fields that are correlated, corrections can be made by merging fields in advance or by adjusting the joint probability table.

[0061] A joint probability model incorporating the host likelihood function and the pathogenic microorganism likelihood function can be constructed as follows: ,in This indicates the proportion of paired-end reads in the current sample that originate from the host-origin prior. Indicates the first The conditional likelihood of each read belonging to the host. For the first The conditional likelihood of each read belonging to the pathogen.

[0062] The initial constraint parameters can be constructed as follows: The host anchor set The number of sequences is The number of sequences in the pathogen anchoring set is , For host pseudo-counting, This is a false count of pathogenic microorganisms. , Class pseudo-counts are used for mixture proportion estimation to calculate the initial host prior proportion of the test sample. The initial constraint function also includes: , Indicates the prior mixing ratio of host origins in the th case. The value taken during round iteration. For the host anchor set, For pathogen anchoring set, This is the set of reads to be estimated where there is alignment ambiguity. Records within the sample are divided into three mutually exclusive sets: . Indicates the first The potential source category variable for each read pair takes the value of either host category or pathogen category, representing the true source category of the read pair. Since the true source of the read pair to be estimated is unknown, the posterior probability of the read pair is estimated using the expectation-maximization algorithm. The host anchor set is used for initializing the parameters of the joint probability model and for class constraints.

[0063] The host likelihood result affects the remaining space of pathogen weights. The pathogen likelihood result limits the host's ingestion of low-abundance pathogen reads. Specifically, the model calculates both the host explanatory power and the pathogen explanatory power for the same read pair. If the host model can stably explain the read pair and the pathogen anchor set does not provide support, the host-attributed weight of the read pair is increased. If the host model can only provide a low-confidence explanation, but the pathogen anchor set and the dual-end structure provide continuous support, the pathogen weight of the read pair is increased. If both provide some support, the read pair is retained as a mixed weight.

[0064] For any pair of paired reads, when the host likelihood function provides a high-confidence interpretation and the pathogen anchoring set has no support, increase the host attribution weight; when the host likelihood function provides a low-confidence interpretation, and the pathogen anchoring set and the consistent physical structure characteristics of the paired reads provide continuous coverage support, increase the pathogen attribution weight; when the host likelihood function and the pathogen likelihood function provide weak support, and the alignment results are ambiguous, maintain the intermediate proportion of mixed weighting, and divert the corresponding paired reads to the weighted calculation channel.

[0065] Step 24: Under the initial parameter constraints, the joint probability model is solved iteratively by means of the expectation-maximization algorithm to obtain the host attribution weight of each pair of reads to the respiratory host, and the remaining weight is used as the pathogen attribution weight.

[0066] Specifically, only for The records in the database are updated based on Bayesian relations. Apply category constraints to anchored records: Calculate the posterior responsibility of the host class in the logarithmic field: ,in , .

[0067] when , When defined as a pseudo-count that is directly added to the category count, Monitor parameter transformations and objective function changes: , The iteration terminates when the preset convergence condition is met or the preset maximum number of iterations is reached. After completing the iteration, the iteration is performed on... For each pair of paired reads, re-execute the E-step using the final mixing ratio: ,make Maintain the anchoring record: Therefore, each pair of reads satisfies: , The host source prior mixing ratio for the final updated version.

[0068] The expectation-maximization algorithm is used to iteratively calculate the host affiliation weight of each pair of reads under anchor set constraints. Initially, based on the number of pairs of reads in the host anchor set and the pathogen anchor set, and the corresponding pseudo-counts of categories, the initial prior mixing ratio of host origins is determined. The posterior responsibility of the host category for each pair of reads in the host anchor set is fixed at 1, and the posterior responsibility of the host category for each pair of reads in the pathogen anchor set is fixed at 0. Pairs of reads not falling into the aforementioned anchor sets are then included in the set to be estimated.

[0069] During the iterative phase, based on the current host source prior mixing ratio, the host likelihood and pathogen likelihood of each pair of reads to be estimated, the posterior responsibility of the host class for each pair of reads to be estimated is calculated. During the maximization process, the number of records in the host anchor set, the posterior responsibility of the host class for each pair of reads to be estimated, and the pseudo-count of the host class are summarized. The host source prior mixing ratio is updated based on the total number of pairs of reads in the entire sample and the pseudo-counts of the two classes. The expectation step and the maximization step are repeated until the change in the host source prior mixing ratio between two adjacent rounds is lower than a preset convergence threshold, or the number of iterations reaches a preset upper limit.

[0070] After the iteration terminates, based on the prior mixing ratio of host origin at the time of termination, the posterior responsibility of the host category for each pair of reads in the set to be estimated is recalculated, and the posterior responsibility of the host category is determined as the host attribution weight for the corresponding pair of reads. For pair of reads in the host anchoring set and the pathogen anchoring set, the host attribution weight remains at 1 and 0, respectively. The difference between 1 and the host attribution weight of each pair of reads is determined as the corresponding pathogen attribution weight, so that the sum of the host attribution weight and the pathogen attribution weight of the same pair of reads is 1.

[0071] In respiratory metatranscriptome data, host-origin paired-end reads and pathogen-origin paired-end reads may exhibit similar evidentiary features in conserved sequence regions, low-complexity regions, or regions with concentrated sequencing errors. Deleting host-origin paired-end reads based solely on a single alignment threshold risks simultaneously deleting paired-end reads of uncertain origin that may carry pathogen evidence. Similarly, directly determining sequence origin based on microbial classification results carries the risk of assigning residual host sequences to pathogen categories. This embodiment does not directly delete paired-end reads during the origin determination stage. Instead, it combines host likelihood, pathogen likelihood, and anchor set constraints to calculate host and pathogen attribution weights for each paired-end read pair. This ensures that paired-end reads of uncertain origin are processed according to their corresponding weights, rather than being prematurely discarded.

[0072] For example, in pneumonia sample testing, most reads in the sequencing data originate from respiratory epithelial cells and immune cells, while a small number of reads come from potential viruses or bacteria. First, high-confidence host-anchored read pairs are identified to stabilize the host. Then, high-confidence pathogen-anchored read pairs that hit pathogen-specific fragments are identified to fix the pathogen orientation. For read pairs with both weak host and pathogen matches, they are not directly deleted; instead, host affiliation weights and pathogen weights are calculated based on end-to-end consistency, quality distribution, and anchoring proximity. A pathogen abundance matrix is ​​generated using the pathogen weights, and a host expression matrix is ​​generated using the host affiliation weights. Finally, the interaction between pathogen changes and changes in host immune pathways is analyzed.

[0073] Compared to conventional host read removal methods, the focus of this embodiment is not simply to improve the comparison speed, but to solve the problem of high host reads, low pathogen reads, and difficulty in distinguishing ambiguous reads in respiratory samples. By jointly interpreting anchor sets and dual-end reads, the host and pathogen sources are separated without sacrificing low-abundance pathogen signals. By using the separation results to construct the host expression matrix and pathogen abundance matrix, a data transfer relationship is formed between the front-end probability weights and the back-end interaction network.

[0074] Host category posterior responsibility This indicates that, under the current joint probability model parameters, the first... Posterior probabilities of belonging to a host class for each pair of paired-end reads, and host affiliation weights. After completing the expected value maximization iteration, the attribution probability is recalculated based on the host mixing ratio and used for the subsequent data contribution allocation of the host calculation channel. The host category posterior responsibility is used in the iteration process, and the host attribution weight is used in the signal accumulation process.

[0075] Step 120: Based on the preset high confidence threshold and the preset low confidence threshold, the host attribution weight is divided into segments, and the paired-end reads sequencing data is divided into host dataset, pathogenic microorganism dataset and reads dataset to be estimated.

[0076] Specifically, a preset high-confidence threshold of not less than 0.5 and less than 1, and a preset low-confidence threshold of greater than 0 and less than 0.5 are defined. When the host attribution weight of a paired read pair is greater than or equal to the preset high-confidence threshold, it is judged as a deterministic host sequence and included in the host dataset. The host dataset reflects the expression changes of host genes related to respiratory epithelial cells, immune cells, or inflammation. The host dataset is used to accumulate host signals after screening based on the final host attribution weight.

[0077] No. The host affiliation weight of each pair of reads is: The preset low confidence threshold is The preset high confidence threshold is Then the following conditions are met: .but in, Indicates the first A pair of double-ended reads, For the host dataset, For pathogenic microorganism datasets, The dataset is the reads dataset to be estimated. The pathogen attribution weights satisfy... ,so The dataset of reads to be estimated. Combining the sources of uncertainty in the corresponding joint probability model Both indicate that the source is uncertain, but the data set retains evidence from both ends of the reads.

[0078] When the host attribution weight of a paired-end read pair is greater than or equal to a preset high-confidence threshold, the paired-end read pair is identified as a high-confidence host sequence and written into the host dataset. The preset high-confidence threshold constitutes the lower boundary of the high-confidence host interval; when the host attribution weight reaches or exceeds this threshold, it indicates that in the joint probability model, the host-explained probability of the paired-end read pair is higher than the pathogen-explained probability, thus meeting the conditions for writing into the host dataset. The host dataset is used to perform weighted accumulation of paired-end read pairs mapped to host genes or host transcripts to generate a host expression matrix.

[0079] When the host attribution weight of a paired read pair is less than or equal to a preset low confidence threshold, the pathogen attribution weight is: The paired reads are identified as high-confidence pathogenic microorganism sequences and added to the pathogenic microorganism dataset. A preset low-confidence threshold forms the upper boundary of the high-confidence pathogenic microorganism interval in the host attribution weight dimension; a host attribution weight lower than or equal to this threshold indicates that the paired reads have a relatively high pathogenic microorganism explanatory probability in the joint probability model. The pathogenic microorganism dataset is used to weight and accumulate paired reads mapped to the corresponding pathogen taxa or reference sequences according to the pathogenic microorganism attribution weight, generating a pathogenic microorganism abundance matrix. Since the host attribution weight and the pathogenic microorganism attribution weight are complementary, the pathogenic microorganism attribution interval can be simultaneously determined using the host attribution weight single-dimensional threshold, avoiding duplicate classification judgments for the same read pair.

[0080] When the host attribution weight of a paired read pair is greater than a preset low-confidence threshold but less than a preset high-confidence threshold, the paired read pair is identified as part of the reads dataset to be estimated and added to it. Pairs in the reads dataset to be estimated are not directly assigned to high-confidence host sequences or high-confidence pathogen sequences, nor are they deleted. Instead, the host attribution weight, pathogen attribution weight, host matching result, and pathogen matching result are retained as intermediate evidence for host-pathogen association analysis.

[0081] Therefore, the host affiliation weighting interval is divided as follows: These correspond to the pathogenic microorganism interval, the interval to be evaluated, and the host interval, respectively. The middle interval is retained by two thresholds, so that pairs of reads with similar evidence of the host and pathogenic microorganism are not directly deleted due to a single threshold judgment.

[0082] For example, taking a bronchoalveolar lavage fluid metatranscriptome paired-end sequencing sample as an example, the sequencing platform outputs two files, *_clean_R1.fq.gz and *_clean_R2.fq.gz. After adapter removal, low-quality base truncation, and pair integrity checks, 12 million valid paired-end reads are retained. A preset high confidence threshold of 0.90 and a preset low confidence threshold of 0.20 are set. For paired-end read pairs with a host attribution weight of 0.97, since... Therefore, it is written into the host dataset. If the paired reads have already established a mapping relationship with the corresponding host gene or host transcript, they will participate in the accumulation of the corresponding host expression level according to the host affiliation weight.

[0083] For a pair of paired reads with a host attribution weight of 0.08, the pathogen attribution weight is: 1 - 0.08 = 0.92. Therefore, when written into the pathogenic microorganism dataset, if the paired reads have already established a mapping relationship with the corresponding pathogen taxonomic unit or pathogen reference sequence, they will participate in the accumulation of the corresponding pathogenic microorganism abundance according to the pathogenic microorganism attribution weight.

[0084] For a pair of reads with a host affiliation weight of 0.56, since If the data is written to the dataset to be estimated, the two-end reads do not force the data to be classified into the host dataset or the pathogenic microorganism dataset. Instead, they save the host attribution weight, pathogenic microorganism attribution weight and corresponding evidence records together for subsequent analysis.

[0085] The host dataset and pathogen dataset represent sets of deterministic sequences that have undergone high-confidence screening, serving as stable reference signals.

[0086] Step 130: Based on the host attribution weight and the pathogen attribution weight, the sequence signals corresponding to the dataset of reads to be estimated are accumulated into the host calculation channel and the pathogen calculation channel respectively, so that the sum of the contributions of the same pair of reads to be estimated in the host calculation channel and the pathogen calculation channel is equal to the effective count value of the corresponding pair of reads.

[0087] Specifically, after connector removal, low-quality sequence processing, and pair integrity checks, each paired read pair is marked with a count status. The effective count value of a paired read pair that has passed processing and maintains complete pair pair pairing is set as a count unit, and the effective count value is written into the reads dataset to be estimated. The host attribution weight and pathogen attribution weight of each paired read pair in the reads dataset to be estimated are obtained. The effective count value of each paired read pair is multiplied by the host attribution weight and pathogen attribution weight respectively to obtain the host channel contribution value and pathogen channel contribution value. The host channel contribution values ​​are accumulated to the host calculation channel, and the pathogen channel contribution values ​​are accumulated to the pathogen calculation channel. The sum of the host attribution weight and pathogen attribution weight of the same paired read pair is one, so that the sum of the host channel contribution value and pathogen channel contribution value of the corresponding paired read pair is equal to the effective count value.

[0088] Among the valid count values After connector removal, low-quality sequence processing, and pair integrity checks, a count value is assigned to each valid paired-end read pair that remains. Since sequences that have not undergone preprocessing do not enter the joint probability model, the effective count value for actual paired reads in the dataset to be estimated is... For data that fails quality control or whose pairing relationships are disrupted, the valid count value is set to 0, and the data is allocated according to the host affiliation weight and the pathogen affiliation weight. , and satisfy . It can be configured according to actual use.

[0089] For example, if the host attribution weight of a certain valid paired-end read pair is 0.56 and the pathogen attribution weight is 0.44, then: , , The corresponding two-ended reads contribute 0.56 weighted counts to the host computing channel and 0.44 weighted counts to the pathogen computing channel. The sum of the contributions from the two channels is still one count.

[0090] The host computation channel and the pathogen computation channel represent the computational space in which the contributions of all valid reads are accumulated according to the host attribution weight and the pathogen attribution weight.

[0091] Step 140: Based on the accumulated data of the host computing channel and the pathogenic microorganism computing channel, and combined with the host dataset and the pathogenic microorganism dataset, the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix are obtained respectively; the host attribution weights of the reads dataset to be estimated are corrected a second time to generate the corrected host attribution weights, and the signal accumulation and matrix solving are performed again to obtain the target host gene expression matrix and the target pathogenic microorganism species abundance matrix.

[0092] The process of obtaining the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix includes: constructing a host weighted signal vector and a pathogenic microorganism weighted signal vector based on the cumulative set of host signals and the cumulative set of pathogenic microorganism signals, respectively; inputting the weighted signal vectors into the feature association matrix constructed from the corresponding datasets; and calculating the initial contribution values ​​corresponding to each host gene region and each pathogenic microorganism taxonomic unit through a signal attribution solution model with sparse constraints, thereby generating the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix.

[0093] Specifically, after obtaining the dataset of reads to be estimated, based on the weighted count values ​​accumulated for each valid paired-end read pair into the host computation channel and the pathogen computation channel respectively, independent and non-interfering host signal accumulation sets and pathogen signal accumulation sets are generated. For the first... A valid pair of reads will transfer the host contribution value. The contribution value of pathogenic microorganisms is accumulated in the host candidate gene region. The cumulative values ​​of host gene region weighted signals are added to the candidate taxonomic units of pathogenic microorganisms and calculated based on preset formulas. and the weighted cumulative value of pathogenic microorganism taxonomic units ,Right now: , ,in Indicates the first The first reads are related to the first Alignment correlation coefficients of individual host gene regions For the first The first reads are related to the first Taxonomic association coefficients of individual pathogenic microorganism taxonomic units.

[0094] Based on the host feature matrix and the pathogenic microorganism feature matrix, signal attribution with sparse constraints is performed on the host weighted signal set and the pathogenic microorganism weighted signal set respectively to obtain the initial host gene expression matrix. and the initial pathogenic microorganism species abundance matrix .

[0095] The initial signal attribution process includes: establishing a mapping relationship between the weighted signal set of reads and gene or species characteristics in the dataset; and determining the initial attribution of each signal to the host gene region and pathogen taxonomic unit based on the principle of maximum consistency. Specifically:

[0096] Build a host feature matrix for the host dataset. This indicates the matching contribution between reads and host candidate gene regions, where rows represent valid read pairs, columns represent host candidate gene regions, and elements... Indicates the first The first reads for the first Matching contributions between different host gene regions. For example, This indicates the degree of association between different reads and different host gene regions. According to the The first reads for the first The alignment quality, coverage length, uniqueness of localization, and mismatch ratio between host gene regions are obtained through normalization calculations, and the pathogen matrix is ​​calculated similarly.

[0097] Establish a pathogenic microorganism characteristic matrix: The rows represent valid read pairs, and the columns represent pathogenic microorganism taxonomic units. Indicates the first The first reads are related to the first The degree of taxonomic association between individual pathogenic microorganism taxonomic units.

[0098] Based on the cumulative set of host signals and the cumulative set of pathogenic microorganism signals, host-weighted signal vectors are constructed respectively. and pathogenic microorganism weighted signal vector .

[0099] The initial host gene expression matrix is ​​solved based on weighted minimum residual. and the initial pathogenic microorganism species abundance matrix The first term ensures consistency between the predicted signal and the actual accumulated signal, while the second term limits abnormally high expression or low abundance noise. The solution variables... The non-negativity constraint is satisfied to ensure that the obtained gene expression levels and pathogen abundance values ​​conform to biometric characteristics.

[0100] To reduce pathogen data loss caused by the misattribution of low-abundance pathogen reads to host regions due to local sequence matching under high-abundance host conditions, this application is based on the initial host gene expression matrix. Construct host expression consistency constraints, specifically, based on The host expression structure features are calculated and obtained, including the inter-gene expression ratios based on host gene expression levels, the co-expression relationships between functionally related genes, the continuity of expression distribution across different gene regions, and the host response features corresponding to the current sample state. Based on these host expression structure features, a reads host affiliation consistency evaluation model is established for the first read. Each valid paired-end read is used to calculate a consistency evaluation value between the current host expression state and the host source: ,in Indicates the first Each read corresponds to a host origin consistency evaluation value, and , Indicates the first There are one valid paired-end read pair. The host origin consistency evaluation function is based at least on the degree of structural change in the host expression matrix caused by read reallocation, the corresponding shift in the proportion of host gene expression, and the consistency of expression of functionally related genes. .in This represents the host expression structure shift caused by re-counting the i-th read pair according to its host origin, which is obtained by weighting multiple structural change indicators. ,in This indicates the degree of change in the ratio of host gene expression after the addition of paired-end reads. This indicates the degree of change in the co-expression relationship between functionally related genes. This indicates the degree of change in the continuity of host expression coverage distribution. This represents the corresponding weight parameter.

[0101] When a read pair has a high degree of local host sequence matching, but the introduction of its corresponding contribution increases the deviation of the preset structural features in the initial host gene expression matrix, the confidence weight of the corresponding read pair as the host source is reduced.

[0102] Based on the host origin consistency evaluation value, the host attribution weight and pathogen attribution weight are adjusted a second time to obtain the corrected host attribution weight. And the corrected pathogen attribution weights , , .

[0103] The signal accumulation is re-executed based on the corrected reads weights to obtain the corrected cumulative host signal value. And the cumulative value of pathogenic microorganism signal, i.e. , The corrected host-weighted signal vector is The corrected weighted signal vector of pathogenic microorganisms is .

[0104] Based on the reallocated host weighted signal vector and pathogen weighted signal vector, and combined with host expression structure constraints and pathogen sparsity constraints, a constraint inversion solution is performed on the host feature correlation matrix and pathogen feature correlation matrix to obtain the target host gene expression matrix. and the abundance matrix of target pathogenic microorganisms .in This indicates the host expression structure constraint term. ,in This represents a host gene association matrix, indicating that changes in the expression of interconnected host genes should remain continuous. This indicates the sparsity constraint term for pathogenic microorganisms. This indicates that the abundance of pathogens is sparse, meaning that the abundance of the vast majority of pathogen taxa is close to 0.

[0105] The constraint inversion solution can be solved using non-negative constraint optimization methods, gradient iteration methods, or alternating direction multiplier methods, so that the obtained host expression levels and pathogen abundance values ​​satisfy non-negative constraints.

[0106] The target host gene expression matrix represents the distribution of host transcriptional signals after read weight correction, while the target pathogen species abundance matrix represents the contribution of pathogen signals after host background correction.

[0107] This embodiment introduces constraints based on the overall host expression structure on the basis of the initial signal allocation, corrects the contribution weights of reads with uncertain attribution, and ensures that the read signal allocation results are consistent with the overall host expression state of the sample. This reduces the interference of high host background signals on the detection results of low abundance pathogens and improves the accuracy of the joint analysis results of host and pathogens.

[0108] Step 150: Based on the target host gene expression matrix and the target pathogen species abundance matrix, construct the cross-domain conditional dependence between host response signals and pathogen signals, and identify the association pattern between host transcriptional response and pathogen abundance changes under infected conditions.

[0109] Specifically, a set of host response genes related to the current infection state is extracted from the target host gene expression matrix: ,in Indicates the first One host response gene, This refers to the total number of host response genes. Host response genes can be immune response genes, inflammatory response genes, cellular stress-related genes, or other genes exhibiting infection state response characteristics related to the respiratory infection process. The set of host response genes can be obtained by screening based on the differential expression levels in the target host gene expression matrix, matching results from a pre-defined infection response gene library, or expression change trends.

[0110] Based on the expression changes of each host response gene in different samples, construct the corresponding expression feature vector: ; Indicates the first The sample at the th Corrected expression levels of individual host response genes This indicates the number of samples participating in the interaction analysis.

[0111] Extracting pathogen taxonomic units from the target pathogen species abundance matrix ,express No. Each pathogenic microorganism taxonomic unit This represents the total number of pathogenic microorganism taxonomic units. Construct the abundance variation feature vector for each pathogenic microorganism taxonomic unit: . Indicates the first The sample at the th Corrected abundance values ​​for each pathogenic microorganism taxonomic unit.

[0112] To eliminate non-specific associations caused by changes in overall host expression levels, changes in total pathogen load, and differences in sample infection status, a set of conditional variables was constructed by jointly extracting sample background state features based on the target host gene expression matrix and the target pathogen species abundance matrix. , This represents the background state feature extraction function. The set of conditional variables represents common background factors affecting changes in host expression and pathogen abundance, including at least one of the following: factors affecting changes in overall host transcriptional activity, factors affecting changes in overall pathogen load, and factors affecting changes in infection status. Background state feature extraction function This method is used to extract common variation factors from the gene expression matrix of the target host and the species abundance matrix of the target pathogen. It can be implemented based on the normalization of the overall expression level, principal component feature extraction, aggregated load calculation, or state feature dimensionality reduction method.

[0113] Based on the set of condition variables, a cross-domain conditional dependency evaluation model is established for the first... The host response gene and the first The dependencies between individual pathogenic microbial taxonomic units are calculated: ,in This represents the cross-domain dependency strength between host response genes and pathogen taxonomic units after excluding the influence of sample background conditions. This is the evaluation function for cross-domain conditional dependencies. The strength of the cross-domain dependency is calculated using conditional mutual information. , Indicates a given set of condition variables Subsequently, the degree of effective information association retained between changes in host response gene expression and changes in pathogen abundance, when At that time, establish candidate cross-domain interaction edges: , indicating host genes With pathogen classification unit Cross-domain interaction relationships, As the host node, For pathogen nodes, This represents the initial value of the edge weight. This represents the initial screening threshold for cross-domain conditional dependencies, filtering out weak relational dependencies. The conditional mutual information can be calculated using methods based on probability density estimation, discretized frequency statistics, or kernel density estimation.

[0114] To reduce spurious interactions caused by random sequencing errors, low-abundance signal fluctuations, and accidental statistical associations, a secondary constraint is applied to cross-domain interaction edges based on the signal stability in the target matrix, and the 1st... The expression stability evaluation value of each host response gene: ,when As the expression approaches 1, the expression becomes more stable; when... As the value approaches 0, the greater the fluctuation. Calculate the... Abundance stability evaluation values ​​for individual pathogenic microbial taxonomic units: ,in Indicates the degree of fluctuation in characteristic changes. Indicates the average level of the feature. To prevent adjustment parameters from having a denominator of zero, normalization is performed. , The value range is limited to 0-1. The calculated stability evaluation value is truncated and normalized. When the calculation result is less than 0, it is set to 0, and when it is greater than 1, it is set to 1.

[0115] Based on the stability evaluation value, the cross-domain interaction edges are weighted and adjusted: ,in This represents the cross-domain interaction strength after signal reliability correction. When At the same time, the corresponding interaction edges are retained to form a set of effective host-pathogen cross-domain interaction relationships. This represents the stability-corrected threshold for selecting interaction edges, which removes unstable interactions caused by sequencing noise and random fluctuations.

[0116] A host-pathogen cross-domain interaction network was constructed based on the screened effective interaction relationships. ,in This represents a combined set of nodes consisting of host response gene nodes and pathogen classification nodes. ;in For the host response gene node set, A set of classification nodes for pathogenic microorganisms; This represents the set of valid interaction edges after conditional dependency constraints and signal stability constraints. The host-pathogen cross-domain interaction network is used to represent the potential association between changes in pathogen abundance and changes in host respiratory response gene expression after reducing host background noise interference.

[0117] Please refer to Figure 3 This application provides a respiratory pathogen-host interaction analysis system based on metatranscriptome sequencing, the system comprising the following modules:

[0118] The attribution weight acquisition module 310 is used to acquire paired-end reads sequencing data of respiratory samples, construct a joint probability model including host likelihood function and pathogenic microorganism likelihood function, introduce a preset high-confidence sequence as anchor set, perform expectation maximization solution, calculate the host attribution weight of each paired-end read to the respiratory host genome, and use the remaining weight as the pathogenic microorganism attribution weight.

[0119] The dataset partitioning module 320 is used to partition the host attribution weights based on preset high confidence thresholds and preset low confidence thresholds, dividing the paired-end reads sequencing data into host datasets, pathogenic microorganism datasets, and reads datasets to be estimated.

[0120] The calculation channel accumulation module 330 is used to accumulate the sequence signals corresponding to the reads dataset to be estimated into the host calculation channel and the pathogen calculation channel respectively, according to the host attribution weight and the pathogen attribution weight.

[0121] The target data acquisition module 340 is used to obtain the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix based on the accumulated data of the host computing channel and the pathogenic microorganism computing channel, combined with the host dataset and the pathogenic microorganism dataset; to perform secondary correction on the host attribution weights of the reads dataset to be estimated to generate corrected host attribution weights, and to re-execute signal accumulation and matrix solving to obtain the target host gene expression matrix and the target pathogenic microorganism species abundance matrix.

[0122] The cross-domain interaction identification module 350 is used to construct cross-domain conditional dependencies between host response signals and pathogen signals, and to identify the association patterns between host transcriptional responses and pathogen abundance changes under infected conditions.

[0123] This application acquires paired-end reads data from respiratory samples, constructs a joint probability model including host likelihood functions and pathogen likelihood functions, introduces host anchor sets and pathogen anchor sets as constraints, and calculates the host and pathogen attribution weights for paired-end read pairs using the expectation-maximization algorithm. Based on weighted splitting, signal weighted accumulation, and host expression structure constraints, the host gene expression matrix and pathogen abundance matrix are jointly optimized. Conditional dependencies are constructed based on the optimized dual-domain data to obtain the cross-domain interaction network between host response genes and pathogens. This invention can reduce the interference of high-abundance host background on the detection of low-abundance pathogen signals, and improve the accuracy of pathogen identification and host-pathogen interaction analysis in respiratory infection samples.

[0124] This application also provides another embodiment, namely, a non-volatile computer-readable storage medium storing a program for a method of analyzing respiratory pathogens and their interactions based on metatranscriptome sequencing. This method can be executed by at least one processor to perform the steps of the method described above.

[0125] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0126] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.

Claims

1. A method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing, characterized in that, include: Sequencing data of paired-end reads from respiratory samples were obtained. A joint probability model including the host likelihood function and the pathogenic microorganism likelihood function was constructed. A preset high-confidence sequence was introduced as the anchor set. The expectation maximization solution was performed to calculate the host attribution weight of each paired-end read to the respiratory host genome. The remaining weight was used as the pathogenic microorganism attribution weight. Based on preset high confidence thresholds and preset low confidence thresholds, the host attribution weights are divided into segments, and the paired-end reads sequencing data are divided into host datasets, pathogenic microorganism datasets, and reads datasets to be estimated. Based on the host attribution weight and the pathogen attribution weight, the sequence signals corresponding to the reads dataset to be estimated are accumulated into the host calculation channel and the pathogen calculation channel, respectively. Based on the accumulated data from the host computation channel and the pathogenic microorganism computation channel, and combined with the host dataset and the pathogenic microorganism dataset, the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix are obtained respectively; the host attribution weights of the reads dataset to be estimated are corrected a second time to generate the corrected host attribution weights, and the signal accumulation and matrix solving are performed again to obtain the target host gene expression matrix and the target pathogenic microorganism species abundance matrix. We constructed cross-domain conditional dependencies between host response signals and pathogen signals, and identified association patterns between host transcriptional responses and pathogen abundance changes under infected conditions.

2. The method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing according to claim 1, characterized in that, The host attribution weights of each paired-end read to the respiratory host genome were calculated, including: Obtain metagenomic paired-end sequencing data from respiratory samples and extract a set of valid paired-end reads containing R1 and R2 sequences; An anchor set is formed based on a pre-defined high-confidence sequence of the respiratory host and a high-confidence sequence of the pathogenic microorganism; A joint probability model containing the host likelihood function and the pathogenic microorganism likelihood function is constructed, and the initial parameter constraints of the joint probability model are determined using the anchor set as a reliable reference point. Under initial parameter constraints, the joint probability model is solved iteratively by means of the expectation-maximization algorithm to obtain the host attribution weight of each pair of reads to the respiratory host, and the remaining weight is used as the pathogen attribution weight.

3. The method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing according to claim 2, characterized in that, Generate host likelihood functions and pathogenic microorganism likelihood functions, including: Based on the empirical quantiles of the host anchor set and the pathogen anchor set, the continuous fields of the joint evidence vector are divided into intervals, and the discrete fields and missing values ​​are set into separate classification intervals. By introducing a pre-defined Laplace smoothing coefficient, and based on the frequency of anchored records falling within each interval, the conditional probability distribution of each evidence field under the host category and pathogen category is calculated respectively. For the two-end reads to be tested, the log-likelihood values ​​of each evidence field in the corresponding interval are accumulated by looking up a table, and the linear proportion is restored by shifting the maximum log value, thereby generating the host likelihood function and the pathogenic microorganism likelihood function respectively.

4. The method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing according to claim 1, characterized in that, The data is respectively accumulated into the host computing channel and the pathogenic microorganism computing channel, including: Obtain the host attribution weight and pathogen attribution weight of each pair of reads in the dataset to be estimated. Multiply the effective count value of each pair of reads by the host attribution weight and pathogen attribution weight respectively to obtain the host channel contribution value and pathogen channel contribution value. The contribution values ​​of each host channel are accumulated into the host calculation channel, and the contribution values ​​of each pathogenic microorganism channel are accumulated into the pathogenic microorganism calculation channel.

5. The method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing according to claim 1, characterized in that, The initial host gene expression matrix and the initial pathogen species abundance matrix were obtained, including: Based on the cumulative set of host signals and the cumulative set of pathogenic microorganism signals, host-weighted signal vectors and pathogenic microorganism-weighted signal vectors are constructed respectively; The weighted signal vectors are input into the feature association matrix constructed from the corresponding datasets. The initial contribution values ​​of each host gene region and each pathogenic microorganism taxonomic unit are calculated by the signal attribution solution model with sparse constraints, thereby generating the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix.

6. The method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing according to claim 1, characterized in that, The target host gene expression matrix and the target pathogen species abundance matrix were obtained, including: Based on the reallocated host weighted signal vector and pathogen weighted signal vector, combined with the host expression structure constraint term and the pathogen sparsity constraint term, the host feature correlation matrix and the pathogen feature correlation matrix are subjected to constraint inversion to obtain the target host gene expression matrix and the target pathogen species abundance matrix.

7. The method for analyzing respiratory pathogenic microorganism-host interactions based on metatranscriptome sequencing according to claim 1, characterized in that, Constructing cross-domain conditional dependencies between host response signals and pathogen signals, including: Extract the set of host response genes related to the current infection status from the target host gene expression matrix, and construct the corresponding expression feature vector based on the expression change status of each host response gene in different samples; Extract the set of pathogenic microorganism taxonomic units from the target pathogenic microorganism species abundance matrix, and construct the abundance change feature vector corresponding to each pathogenic microorganism taxonomic unit; Based on the target host gene expression matrix and the target pathogen species abundance matrix, sample background state features are jointly extracted to construct a set of condition variables. Based on the set of condition variables, the degree of effective information correlation between changes in host response gene expression and changes in pathogen abundance is obtained. When the degree of effective information correlation is greater than a preset threshold, candidate cross-domain interaction edges are established. Based on the stability evaluation value, the cross-domain interaction edges are weighted and corrected, and the interaction edges that meet the preset threshold are selected to form a set of effective host-pathogen cross-domain interaction relationships.

8. A respiratory pathogen-host interaction analysis system based on metatranscriptome sequencing, used to implement the method described in any one of claims 1-7, characterized in that, The attribution weight acquisition module is used to acquire paired-end reads sequencing data of respiratory samples, construct a joint probability model including the host likelihood function and the pathogenic microorganism likelihood function, introduce a preset high-confidence sequence as the anchor set, perform expectation maximization solution, calculate the host attribution weight of each paired-end read pair to the respiratory host genome, and use the remaining weight as the pathogenic microorganism attribution weight. The dataset partitioning module is used to partition the host attribution weights based on preset high confidence thresholds and preset low confidence thresholds, dividing the paired-end reads sequencing data into host datasets, pathogenic microorganism datasets, and reads datasets to be estimated. The calculation channel accumulation module is used to accumulate the sequence signals corresponding to the reads dataset to be estimated into the host calculation channel and the pathogen calculation channel respectively, based on the host attribution weight and the pathogen attribution weight. The target data acquisition module is used to obtain the initial host gene expression matrix and the initial pathogenic microorganism species abundance matrix based on the accumulated data of the host computing channel and the pathogenic microorganism computing channel, combined with the host dataset and the pathogenic microorganism dataset, respectively; the host attribution weights of the reads dataset to be estimated are corrected a second time to generate corrected host attribution weights, and the signal accumulation and matrix solving are re-executed to obtain the target host gene expression matrix and the target pathogenic microorganism species abundance matrix; The cross-domain interaction identification module is used to construct cross-domain conditional dependencies between host response signals and pathogen signals, and to identify the association patterns between host transcriptional responses and pathogen abundance changes under infected conditions.

9. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-7.

10. A computer-readable storage medium storing computer instructions thereon, characterized in that, When executed by the processor, this instruction implements the steps of the method as described in any one of claims 1-7.