A biological information analysis method and device, electronic device and storage medium
Through filtering and double database comparison and cross-validation of pathogen metagenomic detection data, combined with reasonable species counting logic, the problem of insufficient accuracy and efficiency of pathogen detection results in the existing technology is solved, and higher analysis accuracy is achieved. and efficiency.
Patent Information
- Application Number
- CN202111658396.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-12-31
AI Technical Summary
In bioinformatics analysis, existing technologies are difficult to ensure the accuracy of pathogen metagenomic detection results, especially due to the impact of database coverage and algorithm selection, resulting in insufficient accuracy and efficiency of detection results.
By filtering the metagene sequencing data of the pathogen to be tested, combined with double database comparison (microbial reference genome and NCBI's nt database) cross-validation, and using reasonable species counting logic, false positive species are removed and true positive samples are verified to improve analysis results. accuracy.
It effectively improves the accuracy and efficiency of pathogen detection, reduces the error rate of sequence matching, ensures the accuracy of species counting, and avoids the uncertainty of results caused by single database comparison.
Smart Images

Figure CN114420213B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of biological technology, and in particular to a biological information analysis method and device, an electronic device and a storage medium. Background Art
[0002] Pathogen metagenomic testing is to directly extract DNA or RNA from suspected infected specimens for high-throughput sequencing. Through special microbial database comparison and bioinformatics intelligent algorithm analysis, it can complete the detection of multiple pathogens such as bacteria, fungi, viruses and parasites at one time, and obtain the species information of suspected pathogenic microorganisms. The advantages of this technical method include: no culture is required for detection, no preference; wider coverage, can simultaneously detect tens of thousands of bacteria, viruses, fungi, parasites and other four major types of microorganisms; higher detection efficiency and sensitivity compared to traditional detection methods.
[0003] In the field of biology, pathogen metagenomic testing plays a vital role in bioinformatics analysis. Whether the constructed database is comprehensive, the choice of algorithm and the rationality of species classification methods will affect the accuracy of the analysis results. Summary of the invention
[0004] The embodiments of the present invention provide a biological information analysis method and device, an electronic device and a storage medium to improve the accuracy of the analysis results.
[0005] A first aspect of an embodiment of the present disclosure provides an information analysis method, characterized in that the analysis method comprises:
[0006] Filter the metagene sequencing data of the pathogen to be tested according to the filtering rules to obtain the first gene sequencing data;
[0007] Comparing the first gene sequencing data with the gene sequences in the first type of gene library, filtering out the sequencing data contained in the first type of gene library from the first gene sequencing data, and obtaining first biological information;
[0008] Comparing the second gene sequencing data with the gene sequences included in the second type of gene library, filtering out the sequencing data included in the second type of gene library from the second gene sequencing data, and obtaining second biological information; wherein the second gene sequencing data is: retaining the sequencing data included in the first type of gene library from the first gene sequencing data;
[0009] Cross-comparing the first biometric information and the second biometric information, filtering out different test data values containing the same test data content in the first biometric information and the second biometric information, and obtaining third biometric information;
[0010] According to the third biological information, the statistical result of the species count of the pathogen is output.
[0011] Based on the above scheme, the metagene sequencing data of the pathogen to be tested is filtered according to the filtering rules, including at least one of the following:
[0012] Filtering the metagene sequencing data fragments of the pathogen to be detected that contain sequencing adapters in the metagene sequencing data of the pathogen to be detected;
[0013] Filtering N base sequences whose start and end lengths are greater than or equal to a first threshold in the metagenomic sequencing data of the pathogen to be detected;
[0014] Filter the data whose base numbers whose quality value Q is less than or equal to the second threshold account for more than half of the entire metagenomic sequencing data of the pathogen to be detected;
[0015] The original metagenome sequencing data to be tested is compared with the human reference genome, and the original metagenome sequencing data to be tested that has been successfully compared is filtered out.
[0016] Based on the above scheme, the first type of gene library includes: microbial reference genomes;
[0017] The microbial reference genome is determined based on the RefSeq and Genbank databases of NCBI according to data selection criteria.
[0018] The microbial reference genome comprises at least one of the following:
[0019] A reference genome sequence of a preset release site selected from the RefSeq database and / or the Genbank database of the NCBI;
[0020] A reference genome sequence selected from the RefSeq database and / or the Genbank database of the NCBI and recorded as a representative sequence;
[0021] A reference genome sequence within a preset release time is selected from the RefSeq database and / or the Genbank database of the NCBI.
[0022] Based on the above scheme, the first gene sequencing data is compared with the gene sequences in the first type of gene library, and the sequencing data contained in the first type of gene library is filtered out from the first gene sequencing data, including at least one of the following:
[0023] Filtering the sequencing data of the first gene sequencing data, the sequencing data of which the number of base mismatches with the gene sequence of the first type of gene library is greater than a third threshold;
[0024] The sequencing data of the sequences in the first gene sequencing data whose matching length with the gene sequence of the first type of gene library is less than a fourth threshold are filtered.
[0025] Based on the above solution, the first biological information at least includes: the species name of the first gene sequencing data in the first type of gene library;
[0026] The second biological information at least includes: the species name of the second gene sequencing data in the second type gene library.
[0027] Based on the above scheme, the second gene sequencing data is compared with the gene sequences in the second type of gene library, and the sequencing data contained in the second type of gene library is filtered out from the second gene sequencing data, including at least one of the following:
[0028] Filtering the sequencing data of the second gene sequencing data, the sequencing data of which the number of base mismatches with the gene sequence of the second type of gene library is greater than a third threshold;
[0029] Filtering the sequencing data of sequences whose matching length with the gene sequence of the second gene library is less than a fourth threshold in the second gene sequencing data;
[0030] The sequencing data of the sequences in the second gene sequencing data whose matching degree with the gene sequence of the second gene library is less than a fifth threshold value are filtered.
[0031] Based on the above solution, the third biological information includes at least one of the following:
[0032] The same data value of the same test data content in the first biometric information and the second biometric information;
[0033] Test data included in the first biometric information and not included in the second biometric information.
[0034] Based on the above scheme, according to the third biological information, the statistical result of the species count of the pathogen is output, including: if the third biological information matches different species of the same genus, the genus count is increased by one;
[0035] If the third biological information matches different species of different genera, the sequence alignment result cannot distinguish between species and genera and will not be counted;
[0036] If the third biological information matches a unique species under a unique genus, the counts of the species and genus are each increased by one.
[0037] A second aspect of the present disclosure provides a biological information analysis device, the device comprising:
[0038] An acquisition module is used to filter the metagenomic sequencing data of the pathogen to be tested according to a filtering rule to obtain first gene sequencing data;
[0039] a comparison module, configured to compare the first gene sequencing data with the gene sequences in the first gene library, filter out the sequencing data in the first gene library contained in the first gene library, and obtain the first biological information; and compare the second gene sequencing data with the gene sequences in the second gene library, filter out the sequencing data in the second gene library contained in the second gene library, and obtain the second biological information;
[0040] a determination module, configured to cross-compare the first biological information and the second biological information, filter out different test data values containing the same test data content in the first biological information and the second biological information, and obtain third biological information;
[0041] The statistical module is used to output the statistical result of the species count of the pathogen according to the third biological information.
[0042] A third aspect of the present disclosure provides an electronic device, including:
[0043] Memory;
[0044] A processor is connected to the memory and is used to implement the content caching method provided by any technical solution of the first aspect or the second aspect by executing computer executable instructions stored in the memory.
[0045] A fourth aspect of the embodiments of the present disclosure provides a computer storage medium, wherein the computer storage medium stores computer executable instructions; after the computer executable instructions are executed by a processor, the content caching method provided by any technical solution of the first aspect or the second aspect is implemented.
[0046] The bioinformatics analysis method provided by the embodiment of the present invention includes: comparing the first gene sequencing data with the gene sequence in the first type of gene library to obtain the first bioinformatics; comparing the second gene sequencing data with the gene sequence contained in the second type of gene library to obtain the second bioinformatics; wherein the second gene sequence data is: retaining the sequencing data contained in the first type of gene library in the first gene sequencing data; cross-comparing the first bioinformatics and the second bioinformatics to obtain the third bioinformatics; outputting the statistical result of the species count of the pathogen according to the third bioinformatics; using two genes to compare with the metagenomic sequencing data of the pathogen to be tested, and then cross-validating the comparison results. The method based on the cross-validation of the dual-type database comparison can effectively remove false positive species and verify true positive samples at the same time. At the same time, a reasonable species counting logic is adopted, which is helpful to improve the accuracy of bioinformatics analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A bioinformatics analysis method provided by the present invention;
[0048] Figure 2 A schematic diagram of a species counting logic flow chart provided by an embodiment of the present invention;
[0049] Figure 3 A schematic diagram of a database logic flow chart provided by an embodiment of the present invention;
[0050] Figure 4 is an experimental result of a biological information analysis method provided by an embodiment of the present invention;
[0051] Figure 5 is a schematic structural diagram of a biological information analysis device provided by an embodiment of the present invention;
[0052] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0053] In order to enable a more detailed understanding of the features and technical contents of the present application, the implementation of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the present application.
[0054] like Figure 1 As shown, the present disclosure provides a biological information analysis method, the analysis method comprising:
[0055] S110: filtering the metagene sequencing data of the pathogen to be tested according to a filtering rule to obtain first gene sequencing data;
[0056] S120: Compare the first gene sequencing data with the gene sequences in the first type of gene library, filter out the sequencing data contained in the first type of gene library from the first gene sequencing data, and obtain first biological information;
[0057] S130: Compare the second gene sequencing data with the gene sequences included in the second type of gene library, filter out the sequencing data included in the second type of gene library from the second gene sequencing data, and obtain second biological information; wherein the second gene sequencing data is: the sequencing data included in the first type of gene library from the retained first gene sequencing data;
[0058] S140: Cross-comparing the first biometric information and the second biometric information, filtering out different test data values containing the same test data content in the first biometric information and the second biometric information, and obtaining third biometric information;
[0059] S150: Outputting the statistical result of the species count of the pathogen according to the third biological information.
[0060] The source of the metagenomic sequencing of the pathogen to be tested can be a standard sample or a bioinformatics simulation sample. For example, if the source of the metagenomic sequencing of the pathogen to be tested is a standard sample, the sample is first prepared, and specific treatment is performed for different specimen types, and nucleic acids are extracted for library preparation, and the samples for library construction are sequenced to obtain metagenomic sequencing data of the pathogen to be tested.
[0061] As another example, if the metagenomic sequencing source of the pathogen to be tested is a bioinformatics simulation sample, the reference sequence is first downloaded from the NCBI database, and then the bioinformatics simulation software art_illumina is used to generate a simulation sample to obtain the metagenomic sequencing data of the pathogen to be tested.
[0062] The first type of gene library includes: private databases, for example, private microbial reference genome databases. Private databases are configured with private permissions and are usually not open to most of the public.
[0063] The first type of gene library can be a database of microbial reference genomes built by an institution or privately owned.
[0064] The microbial reference genome database can be determined based on the data selection criteria of NCBI's RefSeq and Genbank databases. The Genbank database is a nucleic acid database, a public sequence backup library provided by data discoverers, and a storage pool of multiple sequences, containing many sequences for each gene; the RefSeq database is a gene database, an official gene symbol, designed to select a representative sequence for each human site to reduce duplication, and is the sequence data and related information provided by NCBI for correction;
[0065] The use of RefSeq and Genbank databases is more representative and provides quality assurance. However, there are a large number of incomplete and redundant sequences in the databases, so more sophisticated data selection of Genbank and RefSeq databases is needed, and a set of data selection criteria has been established.
[0066] The second type of gene library includes: public databases, including but not limited to the nt database of NCBI.
[0067] Public databases are open to the public when certain conditions are met.
[0068] Among them, for all known or possible coding sequences, the nr non-redundant protein database contains the corresponding amino acid sequences and sequence numbers in the specialized protein database, which is equivalent to a cross-index based on nucleic acid sequences, linking nucleic acid data and protein data. The nt database is a nucleic acid sequence database. As a subset of the nr non-redundant protein database, the nt database is currently the most complete species gene information database, which stores the karyotype DNA sequence information of known species and all human DNA information.
[0069] The first biological information includes the first gene sequencing data that has not been filtered out and the species name of the paired species of the sequencing data in the microbial reference genome.
[0070] For example, if the data of a certain sequence in the first gene sequencing data is the same as that in the microbial reference genome, the data of the sequence and the species name of the sequence successfully matched with the sequence in the microbial reference gene library are retained in the first biological information.
[0071] If the data of a certain sequence in the first gene sequencing data cannot find the same data in the microbial reference gene library, the data of the sequence is filtered out.
[0072] The second gene sequencing data is the sequencing data contained in the microbial reference genome retained in the first gene sequencing data, and then compared with the nt database of NCBI, avoiding the slow speed problem caused by direct comparison with the nt database.
[0073] The second biological information includes the unfiltered second gene sequencing data and the species name of the paired species of the sequencing data in the nt database of NCBI.
[0074] For example, if the data of a sequence in the second gene sequencing data is the same as the data of a sequence in the NCBI's nt database, the data of the sequence and the species name of the sequence successfully matched with the sequence in the NCBI's nt database are retained in the second biological information.
[0075] Cross-matching is to compare the species name corresponding to a sequence in the first biological information with the species name corresponding to a sequence in the second biological information.
[0076] Specifically,
[0077] If the nth sequence corresponds to different species names in the first biological information and the second biological information, the sequence is filtered out;
[0078] If the first biological information and the second biological information of the nth sequence have the same species name, the sequence data and the corresponding species name are retained;
[0079] If the nth sequence only exists in the first biological information, the sequence data and the corresponding species name are retained; all the retained sequence data and the corresponding species names are aggregated together to obtain the third biological information.
[0080] For example, if the nth sequence matches the species name of Bordetella pertussis in the first biological information and matches the species name of Escherichia coli in the second biological information, the sequence is filtered out;
[0081] If the nth sequence matches the species name of Bordetella pertussis in both the first biological information and the second biological information, the sequence and the species name are saved in the third biological information;
[0082] If the nth sequence is matched only to the species name of Bordetella pertussis in the first biological information, but is not matched to any data in the second biological information, the sequence and the species name are stored in the third biological information.
[0083] In some embodiments, the S110 may include:
[0084] The metagene sequencing data of the pathogen to be tested is filtered according to the filtering rules to obtain the first gene sequencing data; the quality of the metagene sequencing data of the pathogen to be tested will affect the analysis result.
[0085] The filtering rules include filtering low-quality sequences and adapter sequences of the sequencing data of the pathogen metagenome to be tested so that the pathogen metagenome to be tested meets the quality control conditions;
[0086] Specifically, data filtering is performed on the pathogen metagenomic sequencing data to be tested: the pathogen metagenomic sequencing data fragments containing sequencing adapters are filtered; and the N-base sequences whose start and end continuous lengths in the pathogen metagenomic sequencing data to be tested are greater than or equal to a first threshold are filtered.
[0087] The sequencing adapter is a known short nucleotide sequence used to link unknown target sequencing fragments. At the same time, the first and last bases of the pathogen metagenomic sequencing data cannot be measured, so this type of useless information needs to be filtered out first;
[0088] For example, the first threshold may be a predetermined empirical value or experimental value such as 5, 6 or 7.
[0089] and / or,
[0090] Filter the data whose base numbers whose quality value Q is less than or equal to the second threshold account for more than half of the entire sequencing data of the pathogen metagenomic sequence to be detected.
[0091] For example, the second threshold may be a predetermined empirical value or experimental value such as 20, 25 or 30.
[0092] In some embodiments, the filtering rule further includes removing sequencing data containing human reference gene sequences. The pathogen metagenomic sequencing data retained after filtering is aligned to the human reference genome, the data successfully aligned to the human reference genome is filtered, and the remaining data successfully aligned to the human reference genome is retained and removed to obtain the first gene sequencing data.
[0093] The purpose of quality control and removal of human sequences is to improve the quality of the metagenomic sequencing data of the pathogen to be tested, thereby obtaining the first gene sequencing data that meets the test conditions.
[0094] In some embodiments, the S120 may include:
[0095] The first gene sequencing data is compared with the gene sequence in the first type of gene library, and the sequencing data whose base mismatch number with the gene sequence in the first type of gene library is greater than a third threshold value is filtered out.
[0096] The base pairing principle is that the pairing between bases in the gene sequence satisfies the conditions of adenine pairing with thymine and guanine pairing with cytosine. Base mismatch means that the bases in the gene do not satisfy the gene pairing principle, for example, adenine pairs with cytosine or guanine, or thymine pairs with guanine or cytosine.
[0097] For example, the third threshold may be a predetermined empirical value or experimental value such as 3, 4 or 5.
[0098] and / or,
[0099] Filtering the sequencing data of the sequences whose matching length with the gene sequence of the first type of gene library is less than a fourth threshold in the first gene sequencing data,
[0100] For example, the fourth threshold value may be a predetermined empirical value or experimental value of 45, 50, or 55;
[0101] The number of base mismatches and the sequence matching length are used to determine whether the first gene sequencing data exists in the first type of gene library, and the sequence data of the first gene sequencing data existing in the first type of gene library is retained.
[0102] In some embodiments, the S130 may include:
[0103] The second gene sequencing data is compared with the gene sequence contained in the second gene library, and the sequencing data contained in the second gene library is filtered out to obtain the second biological information; wherein the second gene sequencing data is: the sequencing data contained in the first gene library is retained in the first gene sequencing data. The second gene library is the nt database of NCBI.
[0104] Specifically,
[0105] Downloading the nt database of NCBI to a local server, comparing the sequencing data of the first gene sequencing data contained in the first type of gene library, i.e., the second gene sequencing data, and filtering the sequencing data with a base mismatch number greater than a third threshold, wherein the third threshold may be a predetermined empirical value or experimental value such as 3, 4 or 5;
[0106] and / or,
[0107] Filtering the sequencing data of the sequences whose matching length between the second gene sequencing data and the gene sequences included in the second type of gene library is less than a fourth threshold, wherein the fourth threshold may be a predetermined empirical value or experimental value of 45, 50 or 55;
[0108] and / or,
[0109] Filtering the sequencing data of the second gene sequencing data for which the matching degree between the second gene sequencing data and the gene sequence included in the second gene library is less than a fifth threshold, wherein the fifth threshold may be 97%, 90%, 95% or 98% or the like;
[0110] and / or,
[0111] Filtering the species sequences other than microorganisms in the second gene sequencing data and the gene sequences included in the second gene library;
[0112] The remaining data after filtering is retained to obtain the second biological information.
[0113] In some embodiments, the S140 may include:
[0114] Cross-comparing the first biometric information and the second biometric information, filtering out different test data values containing the same test data content in the first biometric information and the second biometric information, and obtaining third biometric information;
[0115] For example, if the species type of the pathogen metagenomic sequencing data to be tested belongs to species A in the first biological information, and the species type in the second biological information belongs to species B, the pathogen metagenomic sequencing data to be tested is filtered out;
[0116] If the metagenomic sequencing data of the pathogen to be tested belongs to the same species in the first biological information and the second biological information, the metagenomic sequencing data of the pathogen to be tested is retained;
[0117] If the metagenomic sequencing data of the pathogen to be detected only exists in the first biological information, the metagenomic sequencing data of the pathogen to be detected is retained.
[0118] The metagene sequencing data of the pathogen to be tested retained by cross-matching is stored in the third biological information, wherein the third biological information at least includes the species name of the pathogen and the sequence number of the pathogen in the species.
[0119] Using the above method, the metagenomic sequencing data of the pathogen to be tested are compared with the comprehensive microbial database and NCBI_nt database, and the results are cross-validated to make the results more accurate. This solves the shortcoming of being unable to determine the true positive of the data when comparing a single database. The use of double database comparison can effectively remove false positive species and verify true positive samples.
[0120] In some embodiments, the S150 may include:
[0121] According to the third biological information, the statistical result of the species count of the pathogen is output.
[0122] Specifically,
[0123] In the third biological information, there are sequencing data of multiple sequences that match the same species.
[0124] If a sequence in the sequencing data of the plurality of sequences is matched to different species of the same genus at the same time, it means that the sequence cannot be distinguished into species, and the genus count is increased by one;
[0125] If a sequence in the sequencing data of the plurality of sequences is matched to different species of different genera at the same time, it means that the sequence cannot be distinguished into species and genus, and will not be counted;
[0126] If a sequence matches a unique species of a unique genus, the counts of the species and genus are increased by one.
[0127] In some embodiments, if the species in a sequence alignment belongs to a complex group of pathogens (such as mycobacteria), the count of the complex group is increased by one.
[0128] Furthermore, after the sequencing data in the third biological information are species counted one by one, the statistical species counting results are output, and the results at least include information such as the number of pathogen metagenomic sequencing data, the proportion of human origin, the species name of the pathogen, the number of sequences on the species of the pathogen, the abundance of the pathogen, and the coverage of the pathogen.
[0129] In some embodiments, the statistical species technology results also include: the proportion of sequences aligned to the human reference genome and the number of sequences aligned to the microbial database.
[0130] Through this reasonable species counting logic algorithm, the error rate of sequence matching is reduced and the accuracy of species counting can be further improved.
[0131] In some embodiments,
[0132] refer to Figure 2 As shown, the obtained metagene sequencing data of the pathogen to be detected is used as raw data for preliminary quality monitoring and filtering, including:
[0133] Eliminate bases with a base mass of less than 3, 4, or 5 at the first and last ends or N bases;
[0134] Eliminate sequencing adapter sequences;
[0135] Eliminate the excision linker and the bases with the first and last base masses less than 3, 4 or 5 or the sequence with a length less than 50 bp after N bases.
[0136] The raw data after preliminary quality detection and filtering are compared with the human genome database, and the sequences compared with the human genome database are filtered out.
[0137] The sequences that are not aligned with the human genome database are compared with the microbial reference database, and the sequences that are not aligned with the microbial reference database are filtered out to obtain the first biological information, including the species type result obtained by the comparison.
[0138] The sequences in the aligned microbial reference database were compared with the NCBI_nt database, and the sequences with more than 3 base mismatches were filtered out;
[0139] and / or,
[0140] Filter out sequences with matching length less than 50;
[0141] and / or,
[0142] Sequences with a matching degree lower than 97% were filtered out to obtain the second biological information, including the species type results obtained by the comparison.
[0143] The first biological information is compared with the second biological information, and data with different comparison results, that is, data of different genera, are filtered out.
[0144] retaining the sequences that the first biological information and the second biological information belong to;
[0145] and / or,
[0146] Sequences present only in the first biological information;
[0147] Sequences of non-microbial species are filtered out to obtain the third biological information.
[0148] In some embodiments, if a sequence in the third biological information is matched to different species of the same genus at the same time, it means that the species cannot be distinguished, and the genus count is increased by one;
[0149] If a sequence in the third biological information matches a different species of a different genus, the sequence alignment result cannot distinguish the species and genus and is not counted;
[0150] If a sequence in the third biological information matches a unique species in a unique genus, the counts of the species and genus are each increased by one.
[0151] In other examples, for sequences aligned to a complex group of pathogens (such as mycobacteria), if the aligned species belong to the same complex group of pathogens, the count of the complex group is increased by one.
[0152] refer to Figure 3 As shown, the microbial reference genomes were determined based on the RefSeq and Genbank databases of NCBI according to the data selection criteria.
[0153] In some embodiments,
[0154] The microbial reference genome comprises at least one of the following:
[0155] A reference genome sequence of a preset release site selected from the RefSeq database and / or the Genbank database of the NCBI;
[0156] A reference genome sequence selected from the RefSeq database and / or the Genbank database of the NCBI and recorded as a representative sequence;
[0157] A reference genome sequence within a preset release time is selected from the RefSeq database and / or the Genbank database of the NCBI.
[0158] Specifically, reference genome sequences whose preset publishing location, submitter, is given priority, followed by reference genome sequences whose preset publishing location is abroad; sequences marked as representative are given priority, followed by sequences not marked as representative; reference genome sequences whose publishing time, seq_rel_date, is given priority, close to the current date.
[0159] In some embodiments, the data selection criteria further include:
[0160] Reference genome sequences with the assembly level assembly_level listed as Complete genome or Chromosome are preferred, followed by reference genome sequences with the assembly level Contig or Scaffold; reference genome data in RefSeq are preferred, followed by reference genome data in GenBank.
[0161] Each species in the RefSeq and / or Genbank database is evaluated by the data selection criteria, and the best selection is the one that satisfies all the conditions of the data selection criteria at the same time. If they cannot be satisfied at the same time, at least one condition that satisfies the data selection criteria is selected. The data selection criteria are adopted to make the first type of genomes more suitable for Chinese people. This unique data selection method makes the reference sequences representative and non-redundant, and contains tens of thousands of microorganisms.
[0162] In some embodiments, trimmomatic v0.36 was used to perform preliminary quality control and filtering of the offline data;
[0163] Eliminate bases with a base mass less than 3 at the first and last ends or N bases;
[0164] Eliminate sequencing adapter sequences;
[0165] Reads with length less than 50 bp after excision of adapters and low-quality sequences were removed.
[0166] Bowtie2 v2.2.3 was used to align the sequences to the human genome database, and the sequences that aligned to the human genome database were filtered.
[0167] After removing the data aligned with the human genome database, the self-built microbial reference database was aligned using BWA v0.7.10. Sequences with base mismatch numbers > 3 (the NM value in the 12th column of the sam result file > 3) or matching lengths < 50 (the length of M in the 6th column of the sam result file < 50) were filtered out, and the data aligned with the microbial reference genome were retained.
[0168] The NCBI nt database was downloaded to the local server, and the retained data was aligned using the alignment software blastnv2.10.0. Sequences with base mismatch numbers > 3 or matching lengths < 50 were filtered, and sequences of species other than microorganisms were filtered in the alignment.
[0169] The results after comparison are cross-validated. The specific rules are as follows:
[0170] If the two alignment results of a sequence are different species, filter
[0171] If the two alignment results of a sequence are the same species, it will be retained.
[0172] If a sequence is only matched to data in the self-built microbial reference database, it will be retained. Then the retained data will be counted according to the species statistics;
[0173] If a sequence matches different species of the same genus under the filtering conditions (number of base mismatches <3, match length <50), it means that the species cannot be distinguished, and the genus count is increased by one;
[0174] If a sequence matches different species of different genera under the filtering conditions (number of base mismatches <3, match length <50), the sequence alignment result cannot distinguish between species and genera and will not be counted;
[0175] If a sequence matches a unique species of a unique genus under the filtering conditions (number of base mismatches <3, match length <50), the counts of the species and genus will be increased by one;
[0176] In particular, for sequences aligned to a complex of pathogenic bacteria (such as mycobacteria), if the aligned species belong to the same mycobacterium complex, the count of the complex is increased by one.
[0177] Output quality control, species, abundance, coverage and other information.
[0178] The program result_stat.pl is used to perform final statistics on the above comparison results and output the final results, which include the number of original reads, the proportion of human origin, the number of reads in the microbial database compared, the genus name, the number of sequences on the genus, the species name, the number of sequences on the species, abundance, coverage and other information.
[0179] The off-machine sequencing data of three standard samples (Mix-1 to Mix-3) and the simulated off-machine fastq data of three bioinformatics simulation samples (Mix-4 to Mix-6) were analyzed in parallel using the bioinformatics analysis method of Kraken2 and the bioinformatics analysis method described in this application.
[0180] Results Reference Figure 4 As shown, the number of specific sequences detected by the present invention is significantly higher than that detected by the bioinformatics analysis method based on Kraken2. The double database comparison method improves the accuracy of sequencing detection and avoids the omission of specific sequences.
[0181] refer to Figure 5 As shown, an embodiment of the present invention provides a biological information analysis device, the device comprising:
[0182] An acquisition module 110 is used to filter the metagenomic sequencing data of the pathogen to be detected according to a filtering rule to obtain first gene sequencing data;
[0183] A first comparison module 120 is used to compare the first gene sequencing data with the gene sequences in the first type of gene library, filter out the sequencing data contained in the first type of gene library from the first gene sequencing data, and obtain first biological information;
[0184] The second comparison module 130 is used to compare the second gene sequencing data with the gene sequences included in the second type of gene library, filter out the sequencing data included in the second type of gene library in the second gene sequencing data, and obtain the second biological information;
[0185] A determination module 140 is used to cross-compare the first biometric information and the second biometric information, filter out different test data values containing the same test data content in the first biometric information and the second biometric information, and obtain third biometric information;
[0186] The statistical module 150 is used to output the statistical result of the species count of the pathogen according to the third biological information.
[0187] In some embodiments, the acquisition module 110, the first comparison module 120, the second comparison module 130, the determination module 140 and the statistics module 150 may be program modules; after the program modules are executed by the processor, the operations of the above modules may be implemented.
[0188] In another embodiment, the acquisition module 110, the first comparison module 120, the second comparison module 130, the determination module 140 and the statistical module 150; the soft-hard combination module includes but is not limited to: various programmable arrays; the programmable array includes but is not limited to: field programmable arrays and / or complex programmable arrays.
[0189] In another embodiment, the acquisition module 110, the first comparison module 120, the second comparison module 130, the determination module 140 and the statistics module 150; the pure hardware module includes but is not limited to: a dedicated integrated circuit.
[0190] In some embodiments, the acquisition module 110 includes:
[0191] The first submodule is used to obtain the metagenomic sequencing data of the pathogen to be tested;
[0192] The second submodule is used to filter the metagenomic sequencing data of the pathogen to be tested according to the filtering rules;
[0193] The third submodule is used to retain the filtered metagenomic sequencing data of the pathogen to be tested;
[0194] In some embodiments, the filtering rules include:
[0195] Filtering the metagene sequencing data fragments of the pathogen to be detected that contain sequencing adapters in the metagene sequencing data of the pathogen to be detected;
[0196] and / or,
[0197] Filtering N base sequences whose start and end lengths in the sequencing data of the pathogen to be detected are greater than or equal to a first threshold, wherein the first threshold may be a predetermined empirical value or experimental value such as 5, 6 or 7;
[0198] and / or,
[0199] Filter the data whose base number with a quality value Q less than or equal to a second threshold accounts for more than half of the entire sequencing data of the pathogen metagenomic sequence to be detected, wherein the second threshold may be a predetermined empirical value or experimental value such as 20, 25 or 30;
[0200] and / or,
[0201] The original metagenome sequencing data to be tested is compared with the human reference genome, and the original metagenome sequencing data to be tested that has been successfully compared is filtered out.
[0202] In some embodiments, the first comparison module 120 includes:
[0203] Filtering the sequencing data of the first gene sequencing data whose base mismatch number with the gene sequence of the first type of gene library is greater than a third threshold, wherein the third threshold may be a predetermined empirical value or experimental value such as 3, 4 or 5;
[0204] and / or,
[0205] The sequencing data of the sequences in the first gene sequencing data whose matching length with the gene sequence of the first type of gene library is less than a fourth threshold are filtered, wherein the fourth threshold may be a predetermined empirical value or experimental value of 50, 60, or 70.
[0206] In some embodiments, the second comparison module 130 includes:
[0207] Filtering the sequencing data of the second gene sequencing data whose base mismatch number with the gene sequence of the second gene library is greater than a third threshold, wherein the third threshold may be a predetermined empirical value or experimental value such as 3, 4 or 5;
[0208] and / or,
[0209] Filtering the sequencing data of the sequences whose matching length with the gene sequence of the second gene library is less than a fourth threshold in the second gene sequencing data, wherein the fourth threshold may be a predetermined empirical value or experimental value of 45, 50, or 55;
[0210] and / or,
[0211] The sequencing data of the sequences in the second gene sequencing data whose matching degree with the gene sequence of the second type of gene library is less than a fifth threshold value are filtered, wherein the fifth threshold value may be 97%, 90%, 95% or 98% or the like.
[0212] In some embodiments, the determination module 140 includes:
[0213] If the nth sequence corresponds to different species names in the first biological information and the second biological information, the sequence is filtered out;
[0214] If the first biological information and the second biological information of the nth sequence have the same species name, the sequence data and the corresponding species name are retained;
[0215] If the nth sequence only exists in the first biological information, the sequence data and the corresponding species name are retained; all the retained sequence data and the corresponding species names are aggregated together to obtain the third biological information.
[0216] In some embodiments, the statistics module 150 includes:
[0217] If the third biological information matches different species of different genera, the sequence alignment result cannot distinguish between species and genera and will not be counted;
[0218] If the third biological information matches a unique species under a unique genus, the counts of the species and genus are each increased by one.
[0219] like Figure 6 As shown, an embodiment of the present disclosure provides an electronic device, characterized in that the electronic device includes:
[0220] Memory;
[0221] A processor is connected to the memory and is used to implement the text processing method provided by any of the above embodiments by executing computer executable instructions stored in the memory, for example, executing Figures 1 to 3 Any of the text processing methods shown.
[0222] The electronic device may be a terminal device and / or a server in a service platform.
[0223] like Figure 5As shown, the electronic device may also include a network interface, which can be used to interact with a peer device through a network.
[0224] The present disclosure provides a computer storage medium storing computer executable instructions. After the computer executable instructions are executed by a processor, the text processing method provided in any of the above embodiments can be implemented. For example, Figures 1 to 3 Any of the text processing methods shown.
[0225] The technical solutions recorded in the embodiments of the present application can be combined arbitrarily without conflict. In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0226] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A bioinformatics analysis method, It is characterized in that The analysis method comprises: Filter the metagene sequencing data of the pathogen to be tested according to the filtering rules to obtain the first gene sequencing data; Comparing the first gene sequencing data with the gene sequences in the first type of gene library, filtering out the sequencing data contained in the first type of gene library from the first gene sequencing data, and obtaining first biological information; Comparing the second gene sequencing data with the gene sequences included in the second type of gene library, filtering out the sequencing data included in the second type of gene library from the second gene sequencing data, and obtaining second biological information; wherein the second gene sequencing data is: retaining the sequencing data included in the first type of gene library from the first gene sequencing data; Cross-comparing the first biometric information and the second biometric information, filtering out different test data values containing the same test data content in the first biometric information and the second biometric information, and obtaining third biometric information; Outputting the statistical result of the species count of the pathogen according to the third biological information; Wherein, the first biological information at least includes: the species name of the first gene sequencing data in the first type of gene library; The second biological information at least includes: the species name of the second gene sequencing data in the second gene library; The third biological information includes at least one of the following: The same data value of the same test data content in the first biometric information and the second biometric information; Test data included in the first biometric information and not included in the second biometric information.
2. The analysis method according to claim 1, It is characterized in that The metagene sequencing data of the pathogen to be tested is filtered according to the filtering rules, including at least one of the following: Filtering the metagene sequencing data fragments of the pathogen to be detected that contain sequencing adapters in the metagene sequencing data of the pathogen to be detected; Filtering the N-base sequences whose start and end lengths in the sequencing data of the pathogen to be detected are greater than or equal to the first threshold; Filter the data whose base numbers whose quality value Q is less than or equal to the second threshold account for more than half of the entire metagenomic sequencing data of the pathogen to be detected; The metagene sequencing data of the pathogen to be tested is compared with the human reference genome, and the metagene sequencing data of the pathogen to be tested that has been successfully compared is filtered out.
3. The analysis method according to claim 1, It is characterized in that The first type of gene library includes: microbial reference genomes; The microbial reference genome is determined based on the RefSeq and Genbank databases of NCBI according to data selection criteria.
4. The analysis method according to claim 3, It is characterized in that The microbial reference genome comprises at least one of the following: A reference genome sequence of a preset release site selected from the RefSeq database and / or the Genbank database of the NCBI; A reference genome sequence selected from the RefSeq database and / or the Genbank database of the NCBI and recorded as a representative sequence; A reference genome sequence within a preset release time is selected from the RefSeq database and / or the Genbank database of the NCBI.
5. The analysis method according to claim 1, It is characterized in that Comparing the first gene sequencing data with the gene sequences in the first type of gene library, filtering out the sequencing data in the first gene sequencing data that is included in the first type of gene library, including at least one of the following: Filtering the sequencing data of the first gene sequencing data, the sequencing data of which the number of base mismatches with the gene sequence of the first type of gene library is greater than a third threshold; The sequencing data of the sequences in the first gene sequencing data whose matching length with the gene sequence of the first type of gene library is less than a fourth threshold are filtered.
6. The analysis method according to claim 1, It is characterized in that Comparing the second gene sequencing data with the gene sequences in the second type of gene library, filtering out the sequencing data contained in the second type of gene library from the second gene sequencing data, including at least one of the following: Filtering the sequencing data of the second gene sequencing data, the sequencing data of which the number of base mismatches with the gene sequence of the second type of gene library is greater than a third threshold; Filtering the sequencing data of sequences whose matching length with the gene sequence of the second gene library is less than a fourth threshold in the second gene sequencing data; The sequencing data of the sequences in the second gene sequencing data whose matching degree with the gene sequence of the second gene library is less than a fifth threshold value are filtered.
7. The analysis method according to any one of claims 1 to 6, It is characterized in that Outputting the statistical result of the species count of the pathogen according to the third biological information, including: if the third biological information matches different species of the same genus, the genus count is increased by one; If the third biological information matches different species of different genera, the sequence alignment result cannot distinguish between species and genera and will not be counted; If the third biological information matches a unique species under a unique genus, the counts of the species and genus are each increased by one.
8. A biological information analysis device, It is characterized in that The device comprises: An acquisition module is used to filter the metagenomic sequencing data of the pathogen to be tested according to a filtering rule to obtain first gene sequencing data; a comparison module, configured to compare the first gene sequencing data with the gene sequences in the first gene library, filter out the sequencing data in the first gene library contained in the first gene library, and obtain the first biological information; and compare the second gene sequencing data with the gene sequences in the second gene library, filter out the sequencing data in the second gene library contained in the second gene library, and obtain the second biological information; a determination module, configured to cross-compare the first biological information and the second biological information, filter out different test data values containing the same test data content in the first biological information and the second biological information, and obtain third biological information; A statistical module, configured to output a statistical result of the species count of the pathogen according to the third biological information; Wherein, the first biological information at least includes: the species name of the first gene sequencing data in the first type of gene library; The second biological information at least includes: the species name of the second gene sequencing data in the second gene library; The third biological information includes at least one of the following: The same data value of the same test data content in the first biometric information and the second biometric information; Test data included in the first biometric information and not included in the second biometric information.
9. An electronic device, It is characterized in that The electronic device comprises: Memory; A processor, connected to the memory, is configured to implement the method provided in any one of claims 1 to 7 by executing computer executable instructions stored in the memory.
10. A computer storage medium, It is characterized in that The computer storage medium stores computer executable instructions; after the computer executable instructions are executed by the processor, the method provided in any one of claims 1 to 7 can be implemented.
