Assembly process for constructing high-quality microbial genomes on basis of stlfr metagenomic sequencing data
By clustering first and then assembling, metagenomic data are clustered using K-mer frequency and tetranucleotide frequency features, and combined with a variety of software for assembly processing, solving the problem of poor metagenomic assembly results in the existing technology. problem, significantly improving the continuity of assembly results and the genome coverage of low-abundance species.
Patent Information
- Application Number
- PCT/CN2023/081733
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-09-19
AI Technical Summary
Existing metagenomic sequencing technology is difficult to effectively assemble the genomes of intestinal microorganisms, especially low-abundance species, resulting in poor assembly results, and linked-reads sequencing technology has the problem of low data utilization in metagenomic assembly.
Using the method of clustering first and then assembly, the linked-reads sequencing data of the metagenome were clustered on K-mer frequency and tetranucleotide frequency characteristics to generate contigsbin, and a multi-threshold reassembly strategy was used to improve the identification of low-abundance species. Genome coverage, combined with a variety of software such as MEGAHIT, Athena, metaSPAdes and quickmerge for assembly processing.
It significantly improves the continuity of assembly results and the genome coverage of low-abundance species, obtains higher-quality microbial genome assembly results, and improves data utilization and assembly accuracy.
Smart Images

Figure PCTCN2023081733-FTAPPB-I100001 
Figure PCTCN2023081733-FTAPPB-I100002 
Figure PCTCN2023081733-FTAPPB-I100003
Abstract
Description
Assembly process for high-quality microbial genomes based on stLFR metagenomic sequencing data Technical Field
[0001] The present invention relates to the field of bioinformatics. Specifically, the present invention relates to a process for assembling high-quality microbial genomes based on stLFR metagenomic sequencing data. More specifically, the present invention relates to a method for clustering metagenomic data before assembly, a method for assembling metagenomic data, an electronic device, and a computer-readable storage medium. Background Art
[0002] The gut microbiome is closely linked to human health and holds promise as a diagnostic indicator, therapeutic target, and prognostic indicator for a wide range of diseases. Therefore, research on the gut microbiome is crucial. Metagenomics-based studies of the composition, abundance, function, and interactions of the gut microbiome with human immunity and metabolism have significant scientific significance and clinical guidance. Furthermore, de novo assembly of complete gut microbial genomes based on metagenomic sequencing data is a prerequisite and foundation for accurately predicting microbial gene function and quantifying the abundance of gut microbes and metabolic pathways. However, due to the species diversity and complexity of the gut microbial community, the short reads (average read length of approximately 150 bp) generated by mainstream second-generation sequencing platforms such as Illumina struggle to resolve assembly challenges arising from: 1. species abundance differences; 2. repetitive and conserved sequences; and 3. genomic variation. This makes it difficult to obtain relatively complete gut microbial genome sequences, forcing downstream analyses to proceed at the genomic level. This significantly limits the reliability and stability of species-level functional analyses. If the relationship between genes is unknown, the complexity of subsequent association analysis will be significantly increased.
[0003] At present, metagenomic sequencing is mainly divided into second-generation sequencing and third-generation sequencing technology. Second-generation short-reads sequencing uses a sequencing-by-synthesis method to produce high-quality short DNA fragments. It has the advantages of high throughput, low price, and low single-base error rate. It is currently the mainstream sequencing method. Compared with second-generation short-reads sequencing, third-generation long-fragment single-molecule sequencing technologies such as PacBio and Oxford Nanopore have huge advantages in the read length of generated data (average sequencing read length 10-14Kbp, the longest can reach 40Kbp), which can effectively solve the assembly difficulties caused by complex regions or repetitive sequences in the genome. However, the actual length of DNA extracted from fecal samples is currently short and the concentration is low, which makes it difficult to meet the DNA requirements required for third-generation sequencing; at the same time, the high cost, poor platform stability, and high single-base error rate of third-generation sequencing have also seriously limited its application and promotion. The long-fragment linked-read library construction technology that has emerged in recent years, 10x Chromium and stLFR (single-tube long fragment) library construction combined with second-generation sequencing, can obtain linked-reads spanning 30-100Kbp, and can achieve assembly results comparable to third-generation sequencing in human genome assembly. Linked-read sequencing technology essentially adds barcode sequences to second-generation short-reads. Short reads with the same barcode are very likely to come from the same long DNA fragment (~50kb). The barcode information can be used to track short reads from the same long DNA fragment template, and this information can be used to obtain scaffolds with higher accuracy and longer length. Currently, this technology is mostly used for the assembly of single species, including humans, animals, and plants. Among metagenomics, only one assembly software (Athena) can perform metagenomic assembly based on stLFR data. On the one hand, when the linked-reads barcode specificity in 10x Genomics sequencing data is low, Athena software generates many short off-target contig sequences. On the other hand, because local assembly requires high sequencing depth, Athena's strategy cannot produce local assembly results that can connect two adjacent contigs for low-abundance species, resulting in poor assembly results for low-abundance species. Furthermore, because 10X Genomics technology requires the purchase of specialized microfluidics systems and sample preparation skills, the cost of data generation is greatly increased. Furthermore, MetaTrass, the metagenomic assembly process for stLFR data, classifies sequencing data based on a reference genome and can only assemble species present in the reference genome, ignoring microorganisms unique to the sample. Assembly results are poor for species at low depth.Due to some technical defects, DNA sequences from the same fragment may have different barcodes, and the assembly process can only classify sequences with the same barcode into one category, reducing the availability of the data.
[0004] Therefore, new process methods need to be developed to solve the above problems.
[0005] Summary of the Invention
[0006] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.
[0007] Existing linked-reads assembly software has poor performance for assembling low-depth species, cannot account for microorganisms with varying abundances in samples, and suffers from underdeveloped linked-reads sequencing technology. This paper develops a metagenome assembly method that clusters first, then assembles. Furthermore, multiple thresholds are used after assembly to reassemble low-abundance species, improving the assembly performance.
[0008] In a first aspect of the present invention, a method for clustering and then assembling metagenomic data is proposed. According to an embodiment of the present invention, the method comprises: clustering the co-barcoded linked reads based on the sequence features of the linked-reads sequencing data of the metagenomics, and generating contigs for each generated cluster assembly. bin Based on contigs bin The abundance information of low-abundance species was extracted and reassembled.
[0009] The inventors found that assembling the metagenome using clustered co-barcoded-linked-reads significantly improved the continuity of the assembly results compared to direct assembly without clustering. Clustering co-barcoded-linked-reads and applying a multi-threshold reassembly strategy can improve the genome coverage of low-abundance species in the assembly results. For example, for the lowest-abundance strain (0.02%) in the ATCC-MSA-1004 dataset of the embodiment, the assembly method of the present invention showed higher genome coverage than other assembly methods.
[0010] According to an embodiment of the present invention, the clustering method may further include at least one of the following additional technical features:
[0011] According to an embodiment of the present invention, the sequence features of the linked reads include at least one of K-mer frequency and tetranucleotide frequency. By extracting the K-mer frequency and tetranucleotide frequency features of the co-barcoded linked reads and clustering them, the complexity of the metagenome assembly is significantly reduced and the continuity of the assembly results is improved.
[0012] It should be noted that the K-mer frequency and tetranucleotide frequency are characteristics of co-barcoded-linked-reads sequences. bin Refers to the assembly result (first assembly) obtained by binning the linked-read sequencing data from the metagenome using the above two sequence features and then assembling each bin separately.
[0013] In a second aspect, the present invention provides a method for assembling metagenomic data. According to an embodiment of the present invention, the method comprises: clustering the metagenomic sequencing data using the method described in the first aspect of the present invention; and assembling the clustered metagenomic sequencing data.
[0014] According to an embodiment of the present invention, the metagenome can be spliced and assembled using the above method to obtain the genome sequences of low-abundance species in environmental samples.
[0015] In its third aspect, the present invention provides a method for reassembling metagenomic sequencing data. According to an embodiment of the present invention, the method comprises: performing a first assembly process on the metagenomic sequencing data using the method described in the second aspect of the present invention; and performing a second assembly process on the metagenomic sequencing data that has undergone the first assembly process. The inventors have discovered that performing the second assembly process on the metagenomic data can mitigate the negative impact of clustering before assembly on the assembly quality of low-abundance species, thereby comprehensively improving the quality of metagenomic assembly.
[0016] According to an embodiment of the present invention, the above-mentioned method for metagenomic sequencing assembly may further include at least one of the following additional technical features:
[0017] According to an embodiment of the present invention, the second assembly process is performed by combining the metagenomic sequencing data after the first assembly process with the contigs bin Sequence alignment is performed to obtain the contigs that have undergone the first assembly process bin Based on the sequencing depth, the reads of the sequenced species are obtained for the second assembly process to obtain contigs lowsequence.
[0018] It should be noted that the contigs bin Sequences are derived from contigs of the first assembly result bin sequence.
[0019] According to an embodiment of the present invention, the comparison process is performed by BWA software.
[0020] According to an embodiment of the present invention, the sequencing depth being less than a predetermined threshold is an indication for performing the second assembly process.
[0021] According to an embodiment of the present invention, the predetermined threshold is an integer not less than 1. According to an embodiment of the present invention, it is generally a multiple of 10, and is recommended to be less than 100.
[0022] According to an embodiment of the present invention, the contigs low Sequences and contigs bin The sequence and the intermediate contig sequence of the local assembly are merged to obtain the final asm.fa assembly intermediate result; and the final asm.fa assembly intermediate result and the final contig sequence of the local assembly are subjected to a third assembly process using quickmerge software.
[0023] The inventors found that for the genomes of different microorganisms, the quality of the assembled genomes can be improved by binning and assembling the co-barcoded linked-reads sequences.
[0024] According to an embodiment of the present invention, the contigs bin The sequences were obtained by assembling the sequencing reads in several co-barcoded-linked-reads groups formed after clustering using MEGAHIT software.
[0025] It should be noted that the clustering method will cluster co-barcoded linked-reads with similar composition or abundance together, thereby reducing the complexity of the metagenome assembly and obtaining contigs bin .
[0026] According to an embodiment of the present invention, the local assembly contig sequence is formed by ori The intermediate assembly result after the sequence is processed by Athena software.
[0027] According to an embodiment of the present invention, the contigs oriThe sequences were obtained by assembling all linked-reads before clustering using metaSPAdes software.
[0028] According to an embodiment of the present invention, the merging process is performed through the "--subassemblies" module process of the metaFlye software.
[0029] By contigs low Sequence groups, contigs bin The sequences and locally assembled contig sequences were merged to obtain the most complete and continuous microbial genome.
[0030] According to an embodiment of the present invention, the Athena asm.fa assembly intermediate result is obtained by ori The final assembly result after the sequence is processed by Athena software. According to an embodiment of the present invention, the Athena asm.fa and the final asm.fa assembly intermediate results after the merging process are merged and circularized using quickmerge software to obtain a high-quality microbial genome.
[0031] In a fourth aspect of the present invention, a device for clustering before assembling metagenomic data is proposed. According to an embodiment of the present invention, the device comprises: a first clustering unit, which clusters the co-barcoded linked reads based on the sequence features of the co-barcoded linked reads in the linked-reads sequencing data of the metagenomics, and generates contigs for each generated cluster assembly. bin ; and a reassembly unit, the reassembly unit is connected to the first clustering unit, based on contigs bin The abundance information of low-abundance species was extracted and reassembled.
[0032] According to an embodiment of the present invention, the apparatus of the present invention can be used to cluster and then assemble metagenomic sequencing data.
[0033] According to an embodiment of the present invention, the sequencing read information includes at least one of a K-mer frequency and a tetranucleotide frequency.
[0034] According to an embodiment of the present invention, the device further includes: a screening unit, which is connected to the first clustering unit and the reassembly unit, and is used to screen the sequencing reads in the co-barcoded-linked-reads to obtain sequencing reads derived from the same genomic fragment.
[0035] In a fifth aspect of the present invention, the present invention provides a metagenomic data assembly device. According to an embodiment of the present invention, the device comprises: the metagenomic data pre-assembly clustering device described in the fourth aspect of the present invention, which is used to cluster the metagenomic sequencing data; and
[0036] An assembly device is connected to the metagenome data pre-assembly clustering device and is used to assemble the sequencing data of the clustered metagenome.
[0037] According to an embodiment of the present invention, the device can be used for assembling metagenomic data.
[0038] In a sixth aspect of the present invention, a metagenomic sequencing data assembly system is provided. According to an embodiment of the present invention, the system comprises: the metagenomic data assembly device according to the fifth aspect of the present invention, configured to perform a first assembly process on the metagenomic sequencing data; and
[0039] The second assembly device is connected to the metagenomic data assembly device and is used to perform a second assembly process on the metagenomic sequencing data that has undergone the first assembly process.
[0040] According to an embodiment of the present invention, the system can be used to assemble metagenomic sequencing data.
[0041] According to an embodiment of the present invention, the above-mentioned metagenomic sequencing data assembly system may further include at least one of the following additional technical features:
[0042] According to an embodiment of the present invention, the second assembly device includes: a comparison processing device for comparing the metagenomic sequencing data processed by the first assembly process with the contigs bin Sequence alignment is performed to obtain the contigs that have undergone the first assembly process bin Sequencing depth; an acquisition device, the acquisition device is connected to the comparison processing device, for obtaining reads of the sequencing species based on the sequencing depth, performing a second assembly process to obtain contigs low sequence; a merging device, the merging device is connected to the acquisition device, and the contigs low Sequences and contigs binThe sequence and the intermediate contig sequence of the local assembly are merged to obtain the final asm.fa assembly intermediate result; and a third assembly processing device is connected to the merging device, and the final asm.fa assembly intermediate result and the final contig sequence of the local assembly are subjected to a third assembly process using quickmerge software.
[0043] According to an embodiment of the present invention, the comparison process is performed by BWA software.
[0044] According to an embodiment of the present invention, the sequencing depth is less than a predetermined threshold, which is an indication for performing the acquisition process. The acquisition process is based on the sequencing depth, and the reads of the sequenced species are obtained for the second assembly process to obtain contigs. low sequence.
[0045] According to an embodiment of the present invention, the predetermined threshold is an integer not less than 1. According to an embodiment of the present invention, it is generally a multiple of 10, and is recommended to be less than 100.
[0046] According to an embodiment of the present invention, the third assembly process is performed by assembling the final asm.fa intermediate result and the final contig sequence of the local assembly using quickmerge software.
[0047] According to an embodiment of the present invention, the contigs bin The sequences were obtained by assembling the sequencing reads in several co-barcoded-linked-reads groups formed after clustering using MEGAHIT software.
[0048] According to an embodiment of the present invention, the local assembly contig sequence is formed by ori The intermediate assembly result after the sequence is processed by Athena software.
[0049] According to an embodiment of the present invention, the contigs ori The sequences were obtained by assembling all linked-reads before clustering using metaSPAdes software.
[0050] According to an embodiment of the present invention, the merging process is performed through the "--subassemblies" module process of the metaFlye software.
[0051] According to an embodiment of the present invention, the Athena asm.fa assembly intermediate result is obtained by oriThe final assembly result after the sequence was processed by Athena software.
[0052] In a seventh aspect of the present invention, the present invention provides an electronic device. According to an embodiment of the present invention, the electronic device includes: a memory and a processor, the memory is used to store a computer program; the processor is used to execute the computer program to implement the method described in any one of the first to third aspects of the present invention. According to an embodiment of the present invention, the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory.
[0053] In an eighth aspect, the present invention provides a computer-readable storage medium. According to an embodiment of the present invention, the computer-readable storage medium stores a computer program, wherein when the computer program instructions are executed on a processor, the processor executes the method according to any one of the first to third aspects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which:
[0055] FIG1 is a diagram of a clustering device before metagenomic data assembly according to a specific embodiment of the present invention;
[0056] FIG2 is a diagram of a clustering device (including a screening device) before metagenomic data assembly according to a specific embodiment of the present invention;
[0057] FIG3 is a diagram of a metagenomic data assembly device according to a specific embodiment of the present invention;
[0058] FIG4 is a diagram of a metagenomic sequencing data assembly system according to a specific embodiment of the present invention;
[0059] 5 is a system diagram of a second assembly device in a metagenomic sequencing data assembly system according to a specific embodiment of the present invention;
[0060] FIG6 is a Pangaea workflow diagram of stLFR linked-reads according to an embodiment of the present invention;
[0061] FIG7 is a comparison diagram of the results of binning stLFR linked-reads of the microbial community ATCC-MSA-1003 using PCA and VAE according to Example 1 of the present invention;
[0062] FIG8 is a comparison diagram of the results of binning stLFR linked-reads of the microbial community ATCC-MSA-1003 according to Example 1 of the present invention using RPH-kmeans, Gaussian mixture model (GMM), and K-means;
[0063] FIG9 shows the precision, recall, F1, and ARI values of the co-barcoded linked-reads clustering results using different numbers of clusters (k) for stLFR linked-reads of the microbial community ATCC-MSA-1003 according to Example 1 of the present invention;
[0064] FIG10 is a comparison diagram of statistical indicators (a), Nx (b), and NAx (c) of Pangaea assembly results using different numbers of classes (k=10, 15, and 20) for stLFR linked-reads of the microbial community ATCC-MSA-1003 according to Example 1 of the present invention;
[0065] FIG11 is a comparison result of the number of nearly complete genomes generated using different assembly tools according to Example 2 of the present invention;
[0066] Figure 12 is a scatter plot (left) of Example 2 of the present invention, which is a genome colinearity analysis diagram between a nearly complete genome generated by Pangaea and its closest reference genome, and a circular plot (right) is a comparison diagram between the genomes of the same microorganism generated by different assembly software. DETAILED DESCRIPTION
[0067] The following describes embodiments of the present invention in detail, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and are not to be construed as limiting the present invention.
[0068] Definition and Description
[0069] As used herein, unless otherwise indicated, the singular forms "a," "an," and the like include plural referents (more than one); "a set" or "a plurality" refers to two or more.
[0070] In this document, unless otherwise specified, the terms "first", "second", "third", "fourth", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated; features specified as "first", "second", etc. may explicitly or implicitly include one or more of the said features.
[0071] As used herein, unless otherwise indicated, nucleotides refer to the four natural nucleotides (e.g., dATP, dCTP, dGTP, and dTTP, or ATP, CTP, GTP, and UTP) or their derivatives, and are sometimes also directly represented by the bases they contain (A, T / U, C, and G). A person of ordinary skill in the art will be able to identify the reference to a nucleotide or base in a specific embodiment based on the context.
[0072] In this article, the so-called "sequencing" is sequence determination, which is the same as "nucleic acid sequencing" or "gene sequencing", referring to the determination of the base order in a nucleic acid sequence; it includes synthesis sequencing (sequencing by synthesis, SBS) and / or ligation sequencing (sequencing by ligation, SBL); it includes DNA sequencing and / or RNA sequencing; it includes long fragment sequencing and / or short fragment sequencing, and the so-called long fragments and short fragments are relative, such as nucleic acid molecules longer than 1Kb, 2Kb, 5Kb or 10Kb can be called long fragments, and those shorter than 1Kb or 800bp can be called short fragments; it includes double-end sequencing, single-end sequencing and / or paired-end sequencing, etc., and the so-called double-end sequencing or paired-end sequencing can refer to the reading of any two segments or two parts of the same nucleic acid molecule that do not completely overlap.
[0073] It should be noted that the present method is used for linked reads. The sequencing results or sequencing data obtained by the sequencing reaction are called reads, and the length of the read is called the read length, which refers to the base sequence obtained by a single sequencing of the sequencer.
[0074] In this context, the term "metagenome" refers to the sum of all the genetic material of organisms in a specific environment. Total DNA is typically extracted directly from environmental samples, and metagenomic libraries are constructed and screened to identify new functional genes and bioactive substances. Metagenomic libraries encompass genetic information from both culturable and unculturable microorganisms, enabling comprehensive development and utilization of diverse microbial resources.
[0075] In this article, linked-read sequencing is performed by linking the same barcode to the sequences of long DNA fragments (10-100 kb) in order to eliminate some of the misreads and thus improve the metagenomic assembly.
[0076] In this article, the contigs sequence refers to multiple reads assembled into a larger fragment through fragment overlap, called a contig, which is a (fragment) overlapping group; that is, the overlap between different reads, and the sequence spliced together is a contig.
[0077] In this article, the barcode refers to the identity tag of each sample in NGS sequencing; the co-barcoded-linked-reads sequence refers to the linked-reads sequence derived from the same fragment, connected to a segment of the same barcode sequence. This segment is ultimately reflected in read2 of the sequencing result and is used to identify the source of the fragment.
[0078] In this article, the term "Contig N50" refers to the total contig length obtained by adding up the lengths of contigs of varying lengths after read splicing. Then, all contigs are sorted from longest to shortest, such as Contig 1, Contig 2, Contig 3, ..., Contig 25. The contigs are added in this order. When the added length reaches half the total contig length, the length of the last contig added is Contig N50. For example, if Contig 1 + Contig 2 + Contig 3 + Contig 4 = half the total contig length, the length of Contig 4 is Contig N50. Contig N50 can be used as a criterion for determining the quality of genome assembly results.
[0079] Metagenomic data clustering followed by assembly method:
[0080] (1) Clustering of co-barcoded linked reads based on their sequence characteristics in the linked-reads sequencing data of the metagenomics;
[0081] (2) Generate contigs for each generated class assembly bin Based on contigs bin The abundance information of low-abundance species was extracted and reassembled.
[0082] It should be noted that the sequence characteristics of the linked-reads include at least one of K-mer frequency and tetranucleotide frequency; the K-mer refers to a DNA fragment of length K, which is obtained by shearing a portion of the sequencing read. K-mer has the following functions:
[0083] (1) Use K-mer to assemble the contig sequence. The length of the contig sequence is closely related to the value of K.
[0084] (2) Identify reads containing sequencing errors, heterozygous alleles, and repetitive sequences.
[0085] (3) Estimate genome size and heterozygosity.
[0086] According to an embodiment of the present invention, the K-mer frequency and TNF (tetranucleotide frequency) are extracted from co-barcoded linked-reads with a total length greater than 2Kb to ensure feature stability. The K-mer frequency is calculated based on a histogram of global K-mer occurrences, which follows a Poisson distribution with a mean equal to the abundance of the microorganism. The inventors adopted the same k=15 as in previous studies (Ruan and Li 2020, Wickramarachchi, Mallawaarachchi et al. 2020) and constructed a 15-mer global frequency table using all linked-reads. 15-mers with a frequency of occurrence higher than 4,000 will be deleted (to avoid duplicate sequences). The inventors divided the frequency 0-4000 into 400 boxes of the same width, each box length of 10. For each co-barcoded linked-read, its sequence was cut into 15-mers, and these 15-mers were distributed into these 400 boxes according to the global frequency. By counting the number of 15-mers in each bin, a 400-dimensional count vector was generated as the K-mer frequency feature of this co-barcoded linked-read. In addition, the TNF (tetranucleotide frequency) feature was constructed by extracting the frequencies of 136 non-redundant 4-mers for each co-barcoded linked-read. The K-mer frequency and TNF features were L1 standardized to eliminate the data skew introduced by co-barcoded linked-reads of different lengths. The inventors concatenated the normalized K-mer frequency (XA) and TNF (XT) features into a 536-dimensional vector as the input of the VAE. The encoder of the VAE consists of two fully connected layers, each with 512 hidden neurons, and each layer is followed by batch normalization and dropout (P=0.2). The output of the last layer of the encoder is fed into two hidden layers with 32 hidden neurons each, which output μ and σ, respectively, as the Gaussian distribution N(μ,σ 2 ). The embedding Z of the VAE is sampled from this Gaussian distribution. The decoder of the VAE contains two fully connected hidden layers of the same size as the encoder layer to reconstruct the input features from the embedding Z ( and ). Since the input features XA and XT are both L1 normalized, in order to make the reconstructed features of VAE match the input features, the inventors and The softmax activation function is applied to simulate the probability distribution. The loss function of the model is defined as the weighted sum of three components: the reconstruction loss (LA) of the K-mer frequency, the reconstruction loss (LT) of the TNF vector, the Gaussian distribution of the hidden layer, and the Kullback-Leibler divergence loss (LKL) of the standard Gaussian distribution: Loss=w A L A +w T L T +w KL L KL
[0087] The weights of the three loss components are w A =α / ln(dim(X A )),w T =(1-α) / ln(dim(X T )),w KL =β / dim(Z). We set the parameters α and β to 0.1 and 0.015, respectively. VAEs were trained with early stopping to reduce training time and avoid overfitting. After obtaining the embeddings of the input features, the inventors applied RPH-kmeans (Xie, Huang et al. 2020) to cluster the embeddings using the random projection hashing algorithm.
[0088] Specifically, for ease of understanding, the technical solution of this application is explained and illustrated in detail below.
[0089] 1. Identify barcode sequences in the original sequencing data of ATCC-MSA-1003, merge the sequences with the same barcode sequence, and generate co-barcoded linked-reads.
[0090] 2. Calculate 15-mer and tetranucleotide counts for co-barcoded-linked reads longer than 2k. Count the 15-mer frequencies. After removing 15-mers with frequencies greater than 4000, the remaining 15-mers are allocated to 400 bins based on their frequency of occurrence. Concurrently, the frequencies of all 136 non-redundant 4-mers are generated for each co-barcoded-linked read to construct a tetranucleotide signature. 15-mer frequencies and tetranucleotide signatures are L1 normalized.
[0091] 3. The normalized 15-mer frequencies and tetranucleotide features were concatenated into a 536-dimensional vector as the input to the variational autoencoder to reduce the data dimensionality. This was compared with the PCA dimensionality reduction method, which showed superior performance (Figure 7). After obtaining the embeddings of the input features, RPH-kmeans was applied to cluster the embeddings using the random projection hashing algorithm.
[0092] 4. Compared with k-means and Gaussian mixture models for binning simulated data of stLFR, RPH-k-means achieved better overall F1-score and ARI (Figure 8). A larger k may lead to higher binning accuracy and lower recall (Figure 9), but in fact the value of k has little effect on the final assembly, indicating that the number of classes is robust to the assembly performance of the metagenomic reassembly process (Figure 6) (Figure 10).
[0093] Metagenomic data assembly methods:
[0094] First, the metagenomic data linked-reads are clustered before assembly, and then the clustered co-barcoded-linked-reads sequences are assembled into metagenomics.
[0095] Specifically, for ease of understanding, the technical solution of this application is explained and illustrated in detail below.
[0096] (1) Use metaSPAdes software to assemble the clustered co-barcoded-linked-reads to obtain the seed contig sequence;
[0097] (2) Aligning the read data obtained from double-end sequencing to the seed contig sequence described in step (1), and constructing a scaffold graph based on the alignment results;
[0098] (3) using the barcode information to obtain reads at the contig junctions, where the contigs are derived from adjacent contig sequences in the scaffold graph sequence in step (2);
[0099] (4) Using IDBA-ud software, perform local assembly processing on the reads at the junction in step (3) to obtain the local assembly results of the connected contigs;
[0100] (5) MetaFlye software was used to merge the local assembly results and seed contig sequences to obtain the Athena asm.fa database.
[0101] Metagenomic sequencing data reassembly method:
[0102] (1) Use metaSPAdes software to process the co-barcoded-linked-reads sequence to obtain contigs ori sequence;
[0103] (2) Use Athena software to analyze contigs ori The sequence is processed to obtain the intermediate result of local assembly contig sequence;
[0104] (3) Use MEGAHIT software to process the co-barcoded-linked-reads sequence after clustering to obtain contigs bin sequence;
[0105] (4) Use BWA software to analyze the co-barcoded-linked-read sequences and contigs before clustering bin Sequence alignment and contig calculation bin Sequencing depth of the sequences;
[0106] The metaSPAdes software was used to analyze the sequencing depth of the samples less than t i (threshold) co-barcoded-linked-reads sequences were assembled;
[0107] (5) Set a series of thresholds {t i |i=1,2,...} Assemble the co-barcoded-linked-reads sequence to obtain several contigs low Sequence group;
[0108] (6) Use the "--subassemblies" module of metaFlye software to merge contigs bin Sequences, contigs low Sequence and local assembled contig sequence to obtain the final asm.fa assembly intermediate result;
[0109] (7) Use Athena software to analyze contigs ori The sequence is processed to obtain the final result linked-reads of the local assembly contig sequence;
[0110] (8) Use quickmerge software to perform metagenomic assembly processing on the final asm.fa assembly intermediate results and the Athena asm.fa database to obtain the complete genome of the microorganism.
[0111] It should be noted that, for the convenience of description in the examples, this application names the entire process of metagenomic reassembly Pangaea.
[0112] Metagenomic data pre-assembly clustering device
[0113] The present invention proposes a clustering device for pre-assembly of metagenomic data. According to an embodiment of the present invention, referring to FIG1 , the device includes a first clustering unit 100, which is used to cluster co-barcoded linked reads based on sequence features of co-barcoded linked reads in linked-reads sequencing data of the metagenomics, and generate contigs for each generated cluster assembly. bin And reassembly unit S200, the reassembly unit S200 is connected to the first clustering unit S100, based on contigs bin The abundance information of low-abundance species was extracted and reassembled.
[0114] According to an embodiment of the present invention, the metagenomic data pre-assembly clustering device described in the present application further includes: a screening unit S101. Referring to Figure 2, the screening unit S101 is connected to the first clustering unit S100 and the reassembly unit S200, and is used to screen the sequencing reads in the several co-barcoded-linked-reads groups to obtain sequencing reads derived from the same genomic fragment.
[0115] Metagenomic data assembly equipment
[0116] The present invention proposes a metagenomic data assembly device. According to an embodiment of the present invention, referring to FIG3 , the device includes the aforementioned metagenomic data pre-assembly clustering device 300 for clustering metagenomic sequencing data; and
[0117] The assembly device 400 is connected to the metagenome data pre-assembly clustering device 300 and is used to assemble the clustered metagenome sequencing data.
[0118] Metagenomic Sequencing Data Assembly System
[0119] The present invention proposes a system for assembling metagenomic data. According to an embodiment of the present invention, referring to FIG4 , the system includes the aforementioned metagenomic data assembly device 500 for performing a first assembly process on metagenomic sequencing data; and
[0120] The second assembly device 600 is connected to the metagenomic data assembly device 500 and is used to perform a second assembly process on the metagenomic sequencing data that has undergone the first assembly process.
[0121] The second assembly device 600 in the system for assembling metagenomic data of the present invention. According to an embodiment of the present invention, referring to FIG5 , the second assembly device 600 further comprises: a comparison processing device 601, the comparison processing device 601 is used to compare the metagenomic sequencing data processed by the first assembly process with the contigs bin Sequence alignment is performed to obtain the contigs that have undergone the first assembly process bin Sequencing depth;
[0122] The acquisition device 602 is connected to the comparison processing device 601 and is used to obtain the reads of the sequenced species based on the sequencing depth and perform the second assembly process to obtain contigs. low sequence;
[0123] The merging device 603 is connected to the acquiring device 602 and combines the contigs low Sequence groups and contigs bin Merge the sequence and the intermediate contig sequence of the local assembly to obtain the final asm.fa assembly intermediate result; and
[0124] The third assembly processing device 604 is connected to the merging device 603, and performs the third assembly processing on the final asm.fa assembly intermediate result and the final contig sequence of the local assembly using the quickmerge software
[0125] electronic devices
[0126] According to an embodiment of the present invention, the electronic device includes: a memory and a processor, the memory being used to store a computer program; the processor being used to execute the computer program to implement the metagenome pre-assembly clustering and metagenome reassembly method described in the present application. According to an embodiment of the present invention, the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory.
[0127] Computer-readable storage medium
[0128] According to an embodiment of the present invention, the computer-readable storage medium stores a computer program, and when the computer program instructions are run on a processor, the processor executes the metagenomic pre-assembly clustering and metagenomic reassembly method described in the present application.
[0129] For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium can even be paper or other suitable medium on which the program is printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting, or processing it in another suitable manner as necessary, and then storing it in a computer memory.
[0130] The various computer-readable storage media described herein may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.
[0131] It should be noted that in this application, the logic and / or steps represented in the device diagram or described in other ways herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or equipment (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, device or equipment and execute instructions), or used in combination with these instruction execution systems, devices or equipment.
[0132] According to the embodiments of the present application, by adopting the technical solutions of the embodiments of the present application, the utilization rate of metagenomic sequencing data can be effectively improved, and a portion of high-error rate sequences and impurity sequences that are not derived from the sample can be filtered out through the above-mentioned clustering method and reassembly method, thereby improving the speed of downstream bioinformatics analysis and increasing the assembly quality of low-abundance species.
[0133] The embodiments of the present invention will be described in more detail below, examples of which are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and intended to be used to explain the present invention, but should not be understood as limiting the present invention.
[0134] Example 1
[0135] 1. This example simulates the microbial community ATCC-MSA-1003 (containing 20 strains, purchased from ATCC). First, DNA was extracted, constructed, and sequenced using the stLFR library construction technology, obtaining 132.95 Gb of raw data. The stLFR sequencing dataset was then processed using the stLFR_read_demux program to obtain raw linked-reads.
[0136] 2. Multi-threshold reassembly of the simulated microbial community ATCC-MSA-1003 was performed using the Pangaea pipeline, submitting the assembly quality of low-abundance species to obtain the final assembly results. Simultaneously, sequencing data from the stLFR library were assembled using metaSPAdes, Athena, and Supernova software to facilitate horizontal comparison of assembly results from different software.
[0137] 3. By comparing various assembly indicators, it was found that the assembly effect using the Pangaea process was the best, with the highest assembly length. The N50 (an indicator for evaluating the continuity of genome assembly) was 2.09 times (Athena), 7.54 times (Supernova) and 13.83 times (metaSPAdes) of other software (Table 1).
[0138] Table 1: Assembly results of simulated microbial community ATCC-MSA-1003 Note: N50: an indicator for evaluating the continuity of genome assembly; NA50: an indicator for evaluating the quality of genome assembly.
[0139] Example 2
[0140] 1. In this example, two real human feces samples were used for DNA extraction, library construction, and sequencing using stLFR library construction technology, generating 136.6 Gb and 131.6 Gb of raw data, respectively. The stLFR sequencing datasets were processed using the stLFR_read_demux program to obtain raw linked-reads.
[0141] 2. Assemble the sequencing data of the fecal sample according to the operation process of steps 2-5 of Example 1.
[0142] 3. The results show that compared with other software, the assembly results produced by the Pangaea technical solution have the highest total assembly length on S1 (Pangaea = 488.79Mb, Athena = 469.28Mb, Supernova = 311.97Mb, metaSPAdes = 452.60Mb; Table 2) and S2 (Pangaea = 414.46Mb, Athena = 393.69Mb, Supernova = 290.60Mb, metaSPAdes = 374.17Mb; Table 2). In S1 and S2, the N50 produced by Pangaea is much higher than that of the other three software (1.44 times that of Athena, 1.06 times that of Supernova, and 4.50 times that of metaSPAdes in S1; 1.61 times that of Athena, 2.64 times that of Supernova, and 8.18 times that of metaSPAdes in S2; Table 2).
[0143] Table 2: Statistics of assembly results of two fecal samples using different assembly software
[0144] 3. CheckM was used to evaluate the high-quality (completeness greater than 90%, contamination rate less than 5%) assembly results generated by the four assembly methods. Pangaea generated a total of 24 and 18 nearly complete genomes on samples S1 and S2, respectively, which are significantly more than those generated by other software, such as Athena (S1: 13 and S2: 12), Supernova (S1: 14 and S2: 10), and metaSPAdes (S1: 0 and S2: 1). Counting the nearly complete genomes at different minimum N50 values revealed that Pangaea obtained more nearly complete genomes than the other three software at almost all N50 thresholds, demonstrating the high continuity of the nearly complete genomes generated by Pangaea. The nearly complete genomes generated by Pangaea at different maximum sequencing depth thresholds were also significantly better than those generated by other software. In particular, when the N50 of the near-complete genome was greater than 1 Mb, Pangaea achieved significantly higher assembly of near-complete genomes (S1: 8, S2: 4) at all abundance thresholds than the other three software, while the software Athena only produced 3 and 1 near-complete genomes on S1 and S2, respectively (Figure 11).
[0145] 4. The Pangaea assembled genome was aligned with the closest reference genome to check their collinearity (Figure 12). The NCMAG of Pangaea and its closest reference genome had high alignment consistency (average 98.04%), stability (average 87.17%) and strong collinearity, indicating that Pangaea generated assembly results with high accuracy. The inventors also found some genomic variations in S1 and S2, such as inversions and genomic rearrangements of the reference sequences, including Alistipes sp. (S2) and A. indistinctus (S2). Pangaea assembled Alistipes sp. in both S1 and S2 and found that they had similar sequence lengths (S1: 2.84Mb and S2: 2.75Mb), but the assembly result from S1 had a better N50 (N50: S1 = 2344.71Kb, S2 = 513.55Kb). This result may be due to their different abundances in the samples (sequencing depth: 210.87x in S1 and 69.82x in S2). For Sutterella wadsworthensis in S1 and P. copri in S2, Pangaea produced superior assemblies and higher N50s than other software. Furthermore, by comparing sequencing depth and GC bias, the inventors found that Pangaea can reliably assemble regions with low sequencing depth and high GC bias, such as the approximately 1,100 kb region in R. hominis from S2. These results demonstrate the potential of Pangaea to assemble difficult-to-assemble genomic regions.
[0146] 5. Using the genome circularization model, we examined the presence of complete and circular genomes in NCMAGs from the four assemblers. We found that only Pangaea generated two circular, nearly complete genomes, annotated as B. adolescentis and Myoviridae sp., respectively. For both microorganisms, Pangaea generated a single contig sequence with no gaps and perfect collinearity with the closest reference genome. Athena generated three and two contig sequences for B. adolescentis and Myoviridae sp., respectively, with contig N50s significantly lower than those generated by Pangaea (B. adolescentis: Pangaea = 2167.94 Kb, Athena = 744.54 Kb; Myoviridae sp.: Pangaea = 2137.66 Kb, Athena = 1709.63 Kb). Supernova and metaSPAdes, on the other hand, only generated incomplete MAGs or were unable to assemble these two species, resulting in significantly lower assembly completeness than Pangaea (Figure 12).
[0147] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0148] In the description of this specification, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0149] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A method for clustering and then assembling metagenomic data, characterized in that: The method comprises: Based on the sequence features of co-barcoded linked reads in the linked-reads sequencing data of the metagenomics, the co-barcoded linked reads are clustered and contigs are generated for each generated cluster assembly. bin ; Based on contigs bin The abundance information of low-abundance species is extracted and reassembled.
2. The method according to claim 1, characterized in that The sequence features of the linked-reads include at least one of a K-mer frequency and a tetranucleotide frequency.
3. A method for assembling metagenomic data, characterized in that: include: Performing clustering processing on metagenomic sequencing data using the method of claim 1 or 2; as well as The clustered metagenomic sequencing data are assembled.
4. A method for reassembling metagenomic sequencing data, characterized in that: include: Using the method of claim 3, performing a first assembly process on the metagenomic sequencing data; as well as The metagenomic sequencing data that has undergone the first assembly process is subjected to a second assembly process.
5. The method according to claim 4, characterized in that The second assembly process is performed in the following manner: The metagenomic sequencing data after the first assembly process are compared with contigs bin Sequences are aligned to obtain the contigs that have undergone the first assembly process. bin The sequencing depth is 100, and based on the sequencing depth, the reads of the sequenced species are obtained for the second assembly process to obtain contigs. low sequence; The comparison process is performed by BWA software; The sequencing depth being less than a predetermined threshold is an indication for performing the second assembly process; The predetermined threshold is an integer not less than 1; The contigs low Sequences and contigs bin The sequence and the intermediate contig sequence of the local assembly are merged to obtain the final asm.fa assembly intermediate result; and the final asm.fa assembly intermediate result and the final contig sequence of the local assembly are subjected to a third assembly process using quickmerge software.
6. The method according to claim 5, characterized in that The contigs bin The sequences were obtained by assembling the sequencing reads in several co-barcoded-linked-reads groups formed after clustering using MEGAHIT software.
7. The method according to claim 5, characterized in that The local assembly contig sequence is obtained by ori The intermediate assembly result after the sequence is processed by Athena software; The contigs ori The sequences were obtained by assembling all linked-reads before clustering using metaSPAdes software.
8. The method according to claim 5, characterized in that The merging process is performed through the "--subassemblies" module of the metaFlye software.
9. The method according to claim 5, characterized in that The Athena asm.fa assembly intermediate result is obtained by combining contigs ori The final assembly result after the sequence was processed by Athena software.
10. A clustering device before metagenome data assembly, characterized in that: The device comprises: A first clustering unit, wherein the first clustering unit clusters the co-barcoded linked reads based on the sequence features of the co-barcoded linked reads in the linked-reads sequencing data of the metagenome, and generates contigs for each generated cluster assembly bin ;as well as A reassembly unit, the reassembly unit is connected to the first clustering unit, based on contigs bin The abundance information of low-abundance species is extracted and reassembled.
11. The device according to claim 10, characterized in that The sequencing read information includes at least one of K-mer and tetranucleotide frequency.
12. The device according to claim 10, characterized in that Further including: A screening unit, the screening unit is connected to the first clustering unit and the reassembly unit, and is used to screen the sequencing reads in the co-barcoded-linked-reads to obtain sequencing reads derived from the same genome fragment.
13. A metagenomic data assembly device, characterized in that: include: The metagenome data pre-assembly clustering device according to any one of claims 10 to 12, used for clustering the sequencing data of the metagenome; as well as An assembly device is connected to the metagenome data pre-assembly clustering device and is used to assemble the sequencing data of the clustered metagenome.
14. A metagenomic sequencing data assembly system, characterized in that: include: The metagenomic data assembly device of claim 13, used to perform a first assembly process on metagenomic sequencing data; as well as The second assembly device is connected to the metagenomic data assembly device and is used to perform a second assembly process on the metagenomic sequencing data that has undergone the first assembly process.
15. The system according to claim 14, characterized in that The second assembly equipment comprises: A comparison processing device is used to compare the metagenomic sequencing data after the first assembly process with the contigs bin Sequences are aligned to obtain the contigs that have undergone the first assembly process. bin Sequencing depth; An acquisition device is connected to the comparison processing device and is used to obtain reads of the sequenced species based on the sequencing depth, perform a second assembly process, and obtain contigs. low sequence; A merging device is connected to the acquisition device to combine the contigs low Sequences and contigs bin The sequence and the intermediate contig sequence of the local assembly are merged to obtain the final asm.fa assembly intermediate result; and A third assembly processing device is connected to the merging device, and the final asm.fa assembly intermediate result and the local assembled final contig sequence are subjected to a third assembly process using quickmerge software; the alignment process is performed by BWA software; the sequencing depth is less than a predetermined threshold, which is an indication for performing the acquisition process; the predetermined threshold is an integer not less than 1; the third assembly process is performed by using quickmerge software to combine the final asm.fa assembly intermediate result and the local assembled final contig sequence.
16. The system according to claim 15, characterized in that The contigs bin The sequences were obtained by assembling the sequencing reads in several co-barcoded-linked-reads groups formed after clustering using MEGAHIT software; The local assembly contig sequence is obtained by ori The intermediate assembly result after the sequence is processed by Athena software; the contigs ori The sequences were obtained by assembling all linked-reads before clustering using metaSPAdes software; The merging process is performed by the "--subassemblies" module of the metaFlye software; The Athena asm.fa assembly intermediate result is obtained by combining contigs ori The final assembly result after the sequence was processed by Athena software.
17. An electronic device, characterized in that: include: Memory and processor; The memory is used to store computer programs; The processor is used to execute the computer program to implement the method according to any one of claims 1 to 9.
18. A computer-readable storage medium, characterized in that: The storage medium stores computer program instructions, and when the computer program instructions are executed on a processor, the processor is enabled to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method for performing sequencing and cluster analysis on V6 hypervariable region of metagenomic 16S rDNA
CN102477460A
Metagenome analysis method and system for microorganism next-generation sequencing data
CN109741790A
Methods for comparative metagenomic analysis
US20210249102A1
Cited By
Semantic feature fused single metagenome contig sequence clustering method and system
CN119513634A
Genome assembling method
CN120727104A
