Metagenome sequencing-based host sex identification method, device and application of intestinal microbial samples

Through Metagenome sequencing technology and comparative analysis, a gender determination model for intestinal microbial samples was constructed, which solved the instability problem of host gender prediction methods and achieved highly accurate gender identification with an AUC value of 0.96.

CN114882944BActive Publication Date: 2024-09-20SHENZHEN WEIBO MEDICAL LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210713565.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-09-20
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

The accuracy and stability of existing host sex prediction methods based on intestinal microbial data are affected by multiple factors, such as age, race, diet, and antibiotic use, resulting in unreliable prediction results.

Method used

Through Metagenome sequencing technology, the DNA sequence of intestinal microbial samples is compared with the human genome, the number of reads compared to different chromosomes is counted, a gender judgment model is constructed, and algorithms such as support vector machines are used for prediction, and low-quality reads are filtered and optimized. Alignment process to improve accuracy.

Benefits of technology

The accuracy of predicting the gender of intestinal microbial hosts is significantly improved, with the AUC value reaching 0.96, which is much higher than the 0.6 of the traditional method, enhancing the stability and reliability of prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114882944B
    Figure CN114882944B
Patent Text Reader

Abstract

The present invention discloses a method, device and application for identifying the sex of a host of an intestinal microorganism sample based on Metagenome sequencing. The method comprises: S1, comparing metagenome sequencing reads of N intestinal microorganism samples of known host sex with the human genome, extracting metagenome sequencing reads of host DNA according to the comparison results, and counting the number of reads that are respectively aligned to the host autosome, X chromosome and Y chromosome in each sample; S2, selecting statistical indicators, and establishing a sex determination model using the number of reads and the constructed statistical indicators; and S3, inputting data into the sex determination model to identify the sex of the host. Since the host DNA of the present invention is not affected by factors such as age, race, diet, and antibiotic use, the accuracy and stability of the host sex prediction method based on intestinal microorganism data can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of bioinformatics, and in particular to a method, device and application for identifying the sex of an intestinal microbial sample host based on Metagenome sequencing. Background Art

[0002] Metagenome sequencing is a commonly used method in the field of intestinal microbial and human health research. In addition, Metagenome sequencing is also an important technical means for many health products. However, in the process of intestinal microbial sample collection and laboratory testing, problems such as incorrect information filling and sample confusion often occur. At present, identifying the gender of the host of intestinal microbial samples through Metagenome sequencing data is an important means to prevent sample information errors and sample confusion.

[0003] Many scientific research articles have shown that gender is highly correlated with intestinal microbes. Some research projects have also built host gender prediction models based on intestinal microbial data, but intestinal microbes are not only affected by gender, but also related to age, race, diet, antibiotic use and other factors. Therefore, the accuracy and stability of the current methods for predicting host gender based on intestinal microbial data are greatly limited. Summary of the invention

[0004] The present invention aims to provide a method, device and application for host gender identification of intestinal microbial samples based on Metagenome sequencing, so as to improve the accuracy and stability of the host gender prediction method based on intestinal microbial data.

[0005] In order to achieve the above-mentioned object, according to one aspect of the present invention, a method for identifying the host gender of an intestinal microbial sample based on Metagenome sequencing is provided. The identification method comprises the following steps: S1, comparing the metagenome sequencing reads of N intestinal microbial samples with known host gender with the human genome, extracting the metagenome sequencing reads of the host DNA according to the comparison results, and counting the number of reads that are respectively aligned to the host autosome, X chromosome and Y chromosome in each sample; S2, selecting statistical indicators, using the number of reads that are aligned to the host Y chromosome, or X chromosome and Y chromosome, or all chromosomes in each sample obtained in S1 and the constructed statistical indicators to establish a classification model, i.e., a gender judgment model; and S3, inputting the metagenome sequencing data of the intestinal microbial sample to be tested into the gender judgment model to identify the host gender.

[0006] Furthermore, in S1, before aligning the metagenome sequencing reads of the intestinal microbial sample with the human genome, it also includes filtering low-quality reads in the Metagenome sequencing data of the intestinal microbial sample; preferably, filtering out reads with an alignment quality value less than 60; preferably, N≥20.

[0007] Further, FPKM and / or TPM of the number of reads mapped to the host Y chromosome, or the X chromosome and the Y chromosome, or all chromosomes in each sample in S1 is selected in S2 as a statistical indicator; preferably, TPM is selected as a statistical indicator in S2, wherein TPM refers to the correction value of the number of reads mapped to a certain chromosome, TPMi=(Ni / Li)*1M / sum(Ni / Li+...+Nm / Lm), wherein Ni represents the number of reads mapped to chromosome i; Li represents the length of chromosome i.

[0008] Furthermore, in S2, a decision tree, linear discriminant, ensemble learning, logistic regression, random forest or support vector machine algorithm is used to construct a gender determination model; preferably, in S2, the TPM of the number of reads aligned to the host Y chromosome in each sample in S1 is selected as a statistical indicator, and a support vector machine algorithm is used to construct a gender determination model.

[0009] Furthermore, fastp software is used to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial samples; preferably, the filtered Metagenome sequencing data is single-end aligned with the human genome by bwa, bowtie or soap software, and the alignment file is saved; preferably, after sorting the alignment file, redundant data caused by PCR and alignment errors caused by repeated regions of the human genome are deleted from the alignment file; optionally, the alignment file is a bam format file.

[0010] According to another aspect of the present invention, a device for identifying the gender of the host of an intestinal microorganism sample based on Metagenome sequencing is provided. The identification device includes: a data sorting module, configured to compare the metagenome sequencing reads of N intestinal microorganism samples with known host genders with the human genome, extract the metagenome sequencing reads of the host DNA according to the comparison results, and count the number of reads that are respectively aligned to the host autosome, X chromosome and Y chromosome in each sample; a model construction module, configured to select statistical indicators, and use the number of reads that are aligned to the host Y chromosome, or X chromosome and Y chromosome, or all chromosomes in each sample obtained in S1 and the constructed statistical indicators to establish a classification model, that is, a gender judgment model; and an identification module, configured to input the metagenome sequencing data of the intestinal microorganism sample to be tested into the gender judgment model to identify the host gender.

[0011] Furthermore, the data sorting module also includes a filtering submodule, which is configured to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial sample before aligning the metagenome sequencing reads of the intestinal microbial sample with the human genome; preferably, reads with an alignment quality value less than 60 are filtered out; preferably, N≥20.

[0012] Furthermore, in the model building module, the FPKM and / or TPM of the number of reads mapped to the host Y chromosome, or the X chromosome and the Y chromosome, or all chromosomes in each sample in the data sorting module is selected as a statistical indicator; preferably, TPM is selected as the statistical indicator, wherein TPM refers to the correction value of the number of reads mapped to a certain chromosome, TPMi=(Ni / Li)*1M / sum(Ni / Li+...+Nm / Lm), wherein Ni represents the number of reads mapped to chromosome i; Li represents the length of chromosome i.

[0013] Furthermore, in the model construction module, a decision tree, linear discriminant, ensemble learning, logistic regression, random forest or support vector machine algorithm is used to construct a gender determination model; preferably, in the model construction module, the TPM of the number of reads aligned to the host Y chromosome in each sample in the data sorting module is selected as the statistical indicator, and the support vector machine algorithm is used to construct the gender determination model.

[0014] Furthermore, fastp software is used in the filtering submodule to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial samples; preferably, the filtered Metagenome sequencing data is single-end aligned with the human genome by bwa, bowtie or soap software in the data sorting module, and the alignment file is saved; preferably, after sorting the alignment file in the data sorting module, redundant data caused by PCR and alignment errors caused by repeated regions of the human genome are deleted from the alignment file; optionally, the alignment file is a bam format file.

[0015] According to another aspect of the present invention, there is provided an application of any one of the above-mentioned methods for identifying the gender of the host of an intestinal microbial sample based on Metagenome sequencing or any one of the above-mentioned devices for identifying the gender of the host of an intestinal microbial sample based on Metagenome sequencing in identifying information filling errors or sample confusion during intestinal microbial sample collection and laboratory testing.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute any of the above-mentioned methods for identifying the gender of a host of an intestinal microbial sample based on Metagenome sequencing.

[0017] According to another aspect of the present invention, a processor is provided, wherein the processor is used to run a program, wherein when the program is run, any of the above-mentioned methods for identifying the gender of a host of an intestinal microbial sample based on Metagenome sequencing is executed.

[0018] By applying the technical solution of the present invention, a method for identifying the host gender of intestinal microbial samples based on Metagenome sequencing was constructed using a small amount of host DNA mixed in intestinal microbial sequencing data. Since host DNA is not affected by factors such as age, race, diet, and antibiotic use, the method of the present invention can improve the accuracy and stability of the host gender prediction method based on intestinal microbial data. According to the test data evaluation, in an embodiment of the present invention, the method for identifying the host gender of intestinal microbial samples based on Metagenome sequencing of the present invention is much more accurate in predicting the host gender of intestinal microorganisms (AUC is 0.96) than the accuracy of predicting the host gender by intestinal microbial content (AUC is about 0.6). BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 shows the comparison quality distribution diagram in Example 2;

[0021] Figure 2 The RPKM distribution diagram in Example 2 is shown (the horizontal axis M represents males, and F represents females; the vertical axis is the RPKM value);

[0022] Figure 3 The distribution diagram of TPM values ​​in Example 2 is shown (the horizontal axis M represents males, and F represents females; the vertical axis is TPM value);

[0023] Figure 4 The logistic regression Roc curve diagram in Example 2 is shown (the model is logistic regression, and the features are the TPM values ​​of chromosomes X and Y. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and Bychance represents the random classification result);

[0024] Figure 5 The support vector machine Roc curve diagram in Example 2 is shown (the model is a support vector machine, and the features are the TPM accuracy evaluation results of chromosomes X and Y. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and By chance represents the random classification result);

[0025] Figure 6 The random forest Roc curve diagram in Example 2 is shown (the model is a random forest, and the features are the accuracy evaluation results of the X and Y chromosome TPMs. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and By chance represents the random classification result);

[0026] Figure 7 The logistic regression + Y chromosome TPM Roc curve diagram in Example 2 is shown (the model is logistic regression, and the feature is the Y chromosome TPM accuracy evaluation result. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and By chance represents the random classification result);

[0027] Figure 8 The support vector machine + Y chromosome TPM Roc curve diagram in Example 2 is shown (the model is the support vector machine, and the feature is the Y chromosome TPM accuracy evaluation result. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and By chance represents the random classification result);

[0028] Fig. 9 The random forest + Y chromosome TPM Roc curve diagram in Example 2 is shown (the model is random forest, and the feature is the Y chromosome TPM accuracy evaluation result. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and By chance represents the random classification result);

[0029] Fig.10 The logistic regression + all chromosome TPM Roc curve diagram in Example 2 is shown (the model is logistic regression, and the feature is the accuracy evaluation result of all chromosome TPM. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and By chance represents the random classification result);

[0030] Fig.11 The support vector machine + all chromosomes TPM Roc curve diagram in Example 2 is shown (the model is the support vector machine, and the feature is the accuracy evaluation result of all chromosomes TPM. The horizontal axis False positive rate represents the false positive rate, the vertical axis True positive rate represents the true positive rate, and By chance represents the random classification result); and

[0031] Fig.12 The random forest + all chromosomes TPM Roc curve graph in Example 2 is shown (the model is random forest, and the feature is the accuracy evaluation result of all chromosomes TPM. The horizontal axis False positive rate represents the false positive rate, the vertical axis Truepositive rate represents the true positive rate, and By chance represents the random classification result). DETAILED DESCRIPTION

[0032] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0033] Glossary:

[0034] Reads: In this application, reads refer to the base sequences obtained by sequencing DNA fragments using the illumnia platform.

[0035] Number of reads: In this application, it refers to the number of reads mapped to the human genome.

[0036] RPKM: In this application, it refers to the corrected value of the number of reads mapped to a certain chromosome, RPKM = total_reads_mapped_to_a_chromsome / mapped_reads (Millions)*chromosome_length (KB)).

[0037] TPM: In this application, it refers to the corrected value of the number of reads mapped to a certain chromosome, TPMi = (Ni / Li)*1M / sum(Ni / Li+…+Nm / Lm), where Ni represents the number of reads mapped to chromosome i; Li represents the length of chromosome i.

[0038] Among them, RPKM and TPM are different correction methods for the number of reads. RPKM uses the number of reads aligned to the current chromosome, the number of reads aligned to all chromosomes, and the current chromosome length for correction. TPM uses the number of reads aligned to each chromosome and the length of all chromosomes for correction.

[0039] True Positive Rate: True positive rate, also known as sensitivity, is the percentage of positive cases that are actually positive but are correctly judged as positive according to the criteria of the screening test. It reflects the ability of the screening test to detect patients.

[0040] False Positive Rate: False positive, that is, the percentage of samples that are actually negative but are mistakenly judged as positive according to the criteria of the screening test.

[0041] ROC curve: Receiver operating characteristic curve refers to the line drawn from each point under specific stimulation conditions, with the false positive rate obtained by the subjects under different judgment criteria as the horizontal axis and the true positive rate as the vertical axis.

[0042] AUC: (Area Under Curve) is defined as the area under the ROC curve. We often use the AUC value as the evaluation criterion of the model. The larger the AUC, the better the corresponding classifier effect.

[0043] 5-fold stratified cross-validation: A commonly used method for evaluating the accuracy of classification models in machine learning. For example, a classification model is constructed using two groups of samples. Assume that the total number of samples is 100 and the ratio of the two groups of samples is m%:n%. All samples are randomly divided five times, and each time m% of the samples are selected as the validation set and n% of the samples are selected as the training set. The ratio of the two groups of samples in the validation set and the training set is kept at m%:n% each time.

[0044] As we all know, human DNA is composed of 22 pairs of autosomes and a pair of sex chromosomes. Male sex chromosomes include one X chromosome and one Y chromosome, while female sex chromosomes are two X chromosomes. Therefore, with the same amount of DNA, the amount of female X chromosomes is twice that of male, and females do not have Y chromosomes, while males do. At the same time, a small amount of host DNA will be mixed in the metagenome sequencing process. So it is assumed that in the mixed host DNA, the proportion of male host Y chromosome DNA is significantly higher than that of female host Y chromosome DNA, and the proportion of male host X chromosome DNA is significantly lower than that of female host X chromosome DNA. Based on this,

[0045] This application uses alignment software to align metagenome sequencing reads with the human genome, extracts metagenome sequencing reads of host DNA, and counts the number of reads aligned to the host autosomes, X chromosomes, and Y chromosomes in each sample, selects statistical indicators, and uses the known host gender of the sample and the constructed statistical indicators to establish a classification model.

[0046] Since host DNA is not affected by factors such as age, race, diet, and antibiotic use, the method of the present invention can improve the accuracy and stability of host gender prediction methods based on intestinal microbial data.

[0047] The beneficial effects of the present invention will be further described below in conjunction with specific embodiments.

[0048] Example 1

[0049] This embodiment provides a method for identifying the gender of a host of an intestinal microbial sample based on Metagenome sequencing. The identification method comprises the following steps:

[0050] S1, compare the metagenome sequencing reads of N intestinal microbial samples with known host gender to the human genome, extract the metagenome sequencing reads of host DNA based on the comparison results, and count the number of reads in each sample that are aligned to the host autosome, X chromosome, and Y chromosome; N ≥ 20;

[0051] S2, selecting statistical indicators, using the number of reads mapped to the host Y chromosome, or X chromosome and Y chromosome, or all chromosomes in each sample obtained in S1 and the constructed statistical indicators to establish a classification model, i.e., a gender determination model; and

[0052] S3, the metagenome sequencing data of the intestinal microbial sample to be tested is input into the gender determination model to identify the host gender.

[0053] This example uses a small amount of host DNA mixed in the intestinal microbial sequencing data to construct a method for identifying the host gender of intestinal microbial samples based on Metagenome sequencing. Since host DNA is not affected by factors such as age, race, diet, and antibiotic use, the method of the present invention can improve the accuracy and stability of the host gender prediction method based on intestinal microbial data.

[0054] In order to further improve the accuracy and stability of identification, in S1, before comparing the metagenome sequencing reads of the intestinal microbial sample with the human genome, it also includes filtering low-quality reads in the Metagenome sequencing data of the intestinal microbial sample; preferably, filtering out reads with a comparison quality value of less than 60. In a preferred embodiment, fastp software is used to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial sample; the filtered Metagenome sequencing data is single-end compared with the human genome by bwa software and saved as a bam format file; preferably, after sorting the bam file, the redundant data caused by PCR and the comparison errors caused by the repeated regions of the human genome in the bam file are deleted to further improve the accuracy of the detection.

[0055] In a preferred embodiment, TPM is selected as a statistical indicator in S2, where TPM refers to the corrected value of the number of reads mapped to a certain chromosome, TPMi = (Ni / Li)*1M / sum(Ni / Li+…+Nm / Lm), where Ni represents the number of reads mapped to chromosome i; Li represents the length of chromosome i. Logistic regression, random forest, and support vector machine algorithms are used to construct a gender judgment model, wherein the support vector machine algorithm is preferred.

[0056] In the above embodiment, the alignment of sequencing reads can also be performed using other alignment software such as bowtie, soap, etc. The statistical indicators can also use other statistical indicators such as FPKM or reads ratio. The classification model can use other classification methods, such as: decision tree, linear discriminant, ensemble learning, etc.

[0057] The method for identifying the sex of the host of an intestinal microbial sample based on Metagenome sequencing in the above-mentioned embodiment can be used to identify errors in information filling or sample confusion during intestinal microbial sample collection and laboratory testing.

[0058] Example 2

[0059] 1.1 Sample collection and basic sample information

[0060] The samples used in this example are all from 34 volunteers within iCarbonX. The basic information of the samples is shown in Table 1.

[0061] Table 1

[0062]

[0063]

[0064]

[0065] 1.2 Sample sequencing process

[0066] The purity and integrity of the original sample were analyzed by agarose gel electrophoresis (AGE) and the DNA concentration was accurately quantified using Qubit. The qualified DNA samples were randomly broken into fragments of about 350 bp in length using a Covaris ultrasonic crusher. The entire library preparation was completed through end repair, A-tailing, sequencing adapter addition, purification, PCR amplification and other steps. After the library construction was completed, Qubit2.0 was used for preliminary quantification, and the library was diluted to 2 ng / μl. Then, the insert size of the library was detected using Agilent2100. After the insert size met expectations, the effective concentration of the library was accurately quantified using the Q-PCR method (library effective concentration>3nM) to ensure the quality of the library. After the library inspection was qualified, different libraries were pooled according to the effective concentration and the target amount of data off the machine and then sequenced by Illumina HiSeq.

[0067] 1.3 Host DNA extraction, quality control, statistical indicators and model construction process in metagenome sequencing data.

[0068] Data analysis may be inaccurate due to data duplication caused by DNA PCR, low sequencing quality, and repeated regions in the human genome. This example uses the following steps to extract host DNA, perform quality control, statistical indicators, and build a model:

[0069] First, fastp software was used to filter low-quality reads in the Metagenome sequencing data of 34 intestinal microbial samples. Then, the filtered Metagenome sequencing data was aligned with the human genome by bwa software and saved as a bam format file. After sorting the bam file, the redundant data caused by PCR and the alignment errors caused by the repeated regions of the human genome were deleted in the bam file (see Table 2 for the relevant process).

[0070] Table 2. Examples of information analysis content and related software parameters

[0071]

[0072]

[0073] Due to the presence of many similar regions in the human genome, DNA sequencing errors, alignment software preferences, and other reasons, some sequence alignment results may be incorrect. The alignment quality value of incorrectly aligned sequences is lower than that of correctly aligned sequences. In particular, there are large homologous regions between the Y chromosome of the human genome and other chromosomes, so the number of incorrectly aligned reads in the Y chromosome is significantly more than that of other chromosomes. The inventors compared the reads aligned to the Y chromosome and other chromosomes from the sequencing data of 34 intestinal microbial samples and found that the alignment quality values ​​of the reads aligned to the Y chromosome were significantly different from those of the other chromosomes (see Figure 1 ). Therefore, the inventors filtered out reads with alignment quality values ​​less than 60.

[0074] For the data that have completed the above quality control process, the number of reads aligned to autosomes, chromosomes X, and chromosomes Y in each sample was counted according to the chromosome number in the alignment result, and the RPKM value was calculated for each chromosome of each sample (distribution see Figure 2 ) and TPM values ​​(see Figure 3 ). It is found through observation that TPM has a smaller variance and is more stable, so this application prefers TPM as a statistical indicator.

[0075] Select logistic regression ( Figure 4 , Figure 7 , Fig.10 ), Random Forest( Figure 6 , Fig. 9 , Fig.12 ), support vector machine algorithm ( Figure 5 , Figure 8 , Fig.11 ), different models were constructed using 34 known host sexes and the constructed TPM statistical index, and the model accuracy was evaluated using 5-fold stratified cross-validation. The results are shown in Table 3. All models showed good results, with the lowest AUC value reaching 0.89. When TPM of the number of reads aligned to chromosomes X and Y was selected as the statistical index and the support vector machine model was selected, the AUC reached 0.96, and the stability was also the best (ROC curve see Figures 4 to 12 ):

[0076] Table 3

[0077] Model feature AUC AUC standard deviation Logistic Regression X and Y chromosome TPM 0.93 0.13 Support Vector Machine X and Y chromosome TPM 0.96 0.07 Random Forest X and Y chromosome TPM 0.94 0.08 Logistic Regression Y chromosome TPM 0.89 0.14 Support Vector Machine Y chromosome TPM 0.90 0.08 Random Forest Y chromosome TPM 0.94 0.07 Logistic Regression All chromosomes TPM 0.91 0.17 Support Vector Machine All chromosomes TPM 0.91 0.17 Random Forest All chromosomes TPM 0.95 0.07

[0078] Note: "X and Y chromosome TPM" refers to the TPM value of the number of reads mapped to chromosomes X and Y in the sample, "Y chromosome TPM" refers to the TPM value of the number of reads mapped to chromosome Y in the sample, and "all chromosomes TPM" refers to the TPM value of the number of reads mapped to each chromosome (i.e. 22 autosomes, chromosome X and chromosome Y) in the sample.

[0079] Example 3

[0080] The present embodiment provides a device for identifying the gender of a host of an intestinal microorganism sample based on Metagenome sequencing, comprising: a data sorting module, configured to compare metagenome sequencing reads of N intestinal microorganism samples with known host genders with a human genome, extract metagenome sequencing reads of host DNA according to the comparison results, and count the number of reads in each sample that are respectively aligned to the host autosome, X chromosome, and Y chromosome; a model construction module, configured to select statistical indicators, and use the number of reads in each sample obtained in S1 that are aligned to the host Y chromosome, or the X chromosome and the Y chromosome, or all chromosomes and the constructed statistical indicators to establish a classification model, that is, a gender judgment model; and an identification module, configured to input the metagenome sequencing data of the intestinal microorganism sample to be tested into the gender judgment model to identify the gender of the host.

[0081] In order to further improve the accuracy and stability of identification, preferably, the data sorting module also includes a filtering submodule, which is configured to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial sample before comparing the metagenome sequencing reads of the intestinal microbial sample with the human genome; preferably, reads with a comparison quality value of less than 60 are filtered out. In a preferred embodiment, the filtering submodule uses fastp software to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial sample; preferably, the data sorting module uses bwa software to perform a single-end comparison of the filtered Metagenome sequencing data with the human genome and save it as a bam format file; preferably, after sorting the bam file in the data sorting module, the redundant data caused by PCR and the comparison errors caused by the repeated regions of the human genome are deleted in the bam file to further improve the accuracy of detection.

[0082] In a preferred embodiment, TPM is selected as a statistical indicator in the model building module, where TPM refers to the corrected value of the number of reads mapped to a certain chromosome, TPMi = (Ni / Li)*1M / sum(Ni / Li+…+Nm / Lm), where Ni represents the number of reads mapped to chromosome i; Li represents the length of chromosome i. Logistic regression, random forest, and support vector machine algorithms are used to build a gender judgment model, wherein the support vector machine algorithm is preferred.

[0083] In the above embodiment, the alignment of sequencing reads can also be performed using other alignment software such as bowtie, soap, etc. The statistical indicators can also use other statistical indicators such as FPKM or reads ratio. The classification model can use other classification methods, such as: decision tree, linear discriminant, ensemble learning, etc.

[0084] The device for identifying the gender of the host of an intestinal microbial sample based on Metagenome sequencing in the above-mentioned embodiment can be used to identify errors in information filling or sample confusion during intestinal microbial sample collection and laboratory testing.

[0085] Example 4

[0086] This embodiment provides a computer-readable storage medium, which includes a stored program, wherein when the program is run, the device where the storage medium is located is controlled to execute any method for identifying the host gender of an intestinal microbial sample based on Metagenome sequencing.

[0087] This embodiment further provides a processor, which is used to run a program, wherein when the program is run, any of the above-mentioned methods for identifying the gender of a host of an intestinal microbial sample based on Metagenome sequencing is executed.

[0088] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0089] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0090] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0091] From the above description, it can be seen that the above embodiments of the present invention achieve the following technical effects: the method for identifying the host gender of intestinal microbial samples based on Metagenome sequencing of the present invention has a much higher accuracy in predicting the host gender of intestinal microorganisms (AUC is 0.96) than the accuracy in predicting the host gender by intestinal microbial content (AUC is about 0.6).

[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for identifying the sex of a host of an intestinal microbial sample based on Metagenome sequencing, characterized in that: The following steps are involved: S1, compare the metagenome sequencing reads of N intestinal microbial samples with known host gender to the human genome, extract the metagenome sequencing reads of host DNA based on the comparison results, and count the number of reads in each sample that are aligned to the host autosome, X chromosome, and Y chromosome; S2, selecting the TPM of the number of reads mapped to the host Y chromosome, or the X chromosome and the Y chromosome, or all chromosomes in each sample in S1 as a statistical indicator, and constructing the gender determination model using a logistic regression, a random forest or a support vector machine algorithm; and S3, inputting the metagenome sequencing data of the intestinal microbial sample to be tested into the gender determination model to identify the host gender; In S2, TPM is selected as the statistical indicator, wherein TPM refers to the correction value of the number of reads mapped to a certain chromosome, TPMi=(Ni / Li)*1M / sum(Ni / Li+…+ Nm / Lm), wherein Ni represents the number of reads mapped to chromosome i; Li represents the length of chromosome i.

2. The identification method according to claim 1, characterized in that: In the S1, before aligning the metagenome sequencing reads of the intestinal microorganism sample with the human genome, it also includes filtering low-quality reads in the Metagenome sequencing data of the intestinal microorganism sample.

3. The identification method according to claim 2, characterized in that: Reads with alignment quality values ​​less than 60 were filtered out.

4. The identification method according to claim 2, characterized in that: Said N≥20.

5. The identification method according to claim 1, characterized in that: In S2, the TPM of the number of reads aligned to the host Y chromosome in each sample in S1 is selected as a statistical indicator, and the support vector machine algorithm is used to construct the gender determination model.

6. The identification method according to claim 2, characterized in that: Fastp software was used to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial samples.

7. The identification method according to claim 6, characterized in that: Use bwa, bowtie or soap software to perform single-end alignment of the filtered Metagenome sequencing data with the human genome and save the alignment file.

8. The identification method according to claim 6, characterized in that: After the alignment file is sorted, redundant data caused by PCR and alignment errors caused by repeated regions of the human genome in the alignment file are deleted.

9. The identification method according to claim 7 or 8, characterized in that: The comparison file is a bam format file.

10. A device for identifying the gender of a host of an intestinal microbial sample based on Metagenome sequencing, characterized in that: include: A data sorting module is configured to align metagenome sequencing reads of N intestinal microbial samples with known host genders with the human genome, extract metagenome sequencing reads of host DNA based on the alignment results, and count the number of reads aligned to the host autosomes, X chromosomes, and Y chromosomes in each sample; A model building module is configured to select the TPM of the number of reads mapped to the host Y chromosome, or the X chromosome and the Y chromosome, or all chromosomes in each sample in the data sorting module as a statistical indicator; and use logistic regression, random forest or support vector machine algorithm to build the gender determination model; and An identification module is configured to input the metagenome sequencing data of the intestinal microbial sample to be tested into the gender judgment model to identify the host gender; TPM is selected as the statistical indicator, where TPM refers to the corrected value of the number of reads mapped to a certain chromosome, TPMi=(Ni / Li)*1M / sum(Ni / Li+…+ Nm / Lm), where Ni represents the number of reads mapped to chromosome i; Li represents the length of chromosome i.

11. The identification device according to claim 10, characterized in that: The data sorting module also includes a filtering submodule, which is configured to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial sample before aligning the metagenome sequencing reads of the intestinal microbial sample with the human genome.

12. The identification device according to claim 11, characterized in that: Reads with alignment quality values ​​less than 60 were filtered out.

13. The identification device according to claim 11, characterized in that: The N≥20.

14. The identification device according to claim 10, characterized in that: In the model building module, the TPM of the number of reads aligned to the host Y chromosome in each sample in the data sorting module is selected as a statistical indicator, and the support vector machine algorithm is used to build the gender determination model.

15. The identification device according to claim 11, characterized in that: The filtering submodule uses fastp software to filter low-quality reads in the Metagenome sequencing data of the intestinal microbial sample.

16. The identification device according to claim 11, characterized in that: In the data sorting module, the filtered Metagenome sequencing data is single-end aligned with the human genome using bwa, bowtie or soap software, and the alignment file is saved.

17. The identification device according to claim 11, characterized in that: After the comparison files are sorted in the data sorting module, redundant data caused by PCR and comparison errors caused by repeated regions of the human genome in the comparison files are deleted.

18. The identification device according to claim 16 or 17, characterized in that: The comparison file is a bam format file.

19. Use of the method for identifying the gender of the host of an intestinal microbial sample based on Metagenome sequencing as described in any one of claims 1 to 9 or the device for identifying the gender of the host of an intestinal microbial sample based on Metagenome sequencing as described in any one of claims 10 to 18 in identifying information filling errors or sample confusion during intestinal microbial sample collection and laboratory testing.

20. A computer-readable storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the method for identifying the gender of the host of the intestinal microbial sample based on Metagenome sequencing according to any one of claims 1 to 9.

21. A processor, characterized in that: The processor is used to run a program, wherein when the program is run, the method for identifying the gender of a host of an intestinal microbial sample based on Metagenome sequencing according to any one of claims 1 to 9 is executed.