Single nucleotide variation detection method for nanopore sequencing data
Through the method of regional comparison stacking and consensus sequence generation based on sequencing data, combined with binomial model and KSW2 comparison technology, the problem of large resource consumption in single nucleotide variation detection is solved, and the rapid Accurate SNV variant detection, suitable for large-scale genomic research.
Patent Information
- Application Number
- CN202410927994.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-01
AI Technical Summary
Single nucleotide variation detection methods based on deep learning require a large amount of labeled data, insufficient consideration of generalization impact, large computing resources and time consumption, resulting in long detection time and low accuracy.
Using the method of regional alignment stacking, typing results and consensus sequence generation based on sequencing data, combined with binomial model and KSW2 alignment technology, high-quality and low-quality variants are identified, and SNV is detected quickly and accurately through sequence stacking and consensus sequence generation. , simplify the detection process and reduce memory usage by using common mutations in the group.
It improves detection accuracy and speed, reduces memory usage, simplifies the variation detection process, avoids the generalization problem of deep learning methods, and realizes fast and lightweight SNV variant detection, which is suitable for large-scale genomic research.
Smart Images

Figure CN118887995A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for rapid detection of single nucleotide variation. Background Art
[0002] Single nucleotide variation (SNV) is the most abundant form of genomic variation, plays a key role in various biological processes and many diseases, and is crucial for revealing the relationship between genetics and specific diseases. Most existing SNV variation detection methods are optimized for short-read data, but short-read data encounters difficulties in mapping in some repetitive regions, which can cause SNVs in these regions to be unable to be correctly detected. With the development of second-generation sequencing technology, long-read sequencing technologies such as Oxford Nanopore Technologies (ONT) and Pacific Biosciences (PacBio) have also emerged, and the average length of sequencing data has reached 10kb, which has facilitated more comprehensive detection and analysis of variations.
[0003] ONT is a nanopore-based high-throughput sequencing platform that can generate long sequencing data greater than 100kb in length, which can easily span and map to repetitive genomic regions. However, the base accuracy of sequencing data based on nanopore technology is relatively low, which is mainly caused by its higher and systematic base-level error characteristics. With the improvement of nanopore, chemical sequencing and base recognition algorithms, the accuracy of ONT sequencing data continues to improve. The latest published ONT sequencing data generated by R10.4.1 nanopore, kit v14 motor protein and base recognition using a custom Dorado model has an average accuracy of Q26.4. Under the current development trend of ONT sequencing technology, variant detection methods are gradually improving, and variant detection methods are generally divided into two categories: deep learning (DL)-based methods and traditional statistics-based algorithms.
[0004] For many years, DL-based variant detection methods have dominated variant detection based on long-read data, and are mainly divided into two categories: pileup and full-alignment. Pileup-based methods summarize sequencing data alignments as features before inputting into the variant detection network, while full-alignment-based methods retain spatial information in sequencing data alignments. However, there are relatively few traditional statistical methods for variant detection in long-read sequencing data, because sequencing errors will bring a large number of candidate variants to the heuristic-based candidate site search work, which will ultimately limit the computational time and accuracy of the detection.
[0005] Although deep learning-based methods dominate the detection of variants in ONT data, they have three drawbacks that cannot be ignored. First, deep learning-based algorithms usually require a large amount of labeled data for model training. Second, deep learning-based methods lack consideration of the impact of generalization during design, making them unable to adapt well to different species and sequencing data. Finally, deep learning models usually require a lot of computing resources and time for training. Summary of the invention
[0006] The purpose of the present invention is to solve the problems that deep learning-based algorithms usually require a large amount of labeled data for model training, lack consideration of the impact of generalization during design, making them unable to adapt well to different species and sequencing data, and usually require a large amount of computing resources and time for training, resulting in long single nucleotide variation detection time and low detection accuracy. A single nucleotide variation detection method for nanopore sequencing data is proposed to solve the problems that deep learning-based algorithms usually require a large amount of labeled data for model training, lack consideration of the impact of generalization during design, making them unable to adapt well to different species and sequencing data, and usually require a large amount of computing resources and time for training, resulting in long single nucleotide variation detection time and low detection accuracy.
[0007] A single nucleotide variation detection method for nanopore sequencing data. The specific process is as follows:
[0008] Step 1: Use the alignment tool Mininap2 to align the sequencing data with the reference sequence hg38, and finally obtain the sorted BAM file;
[0009] Step 2: Use sequencing data stacking technology to identify the differences between the sequencing data and the reference sequence as alleles, and calculate the gene frequency of each allele;
[0010] Candidate loci are obtained based on gene frequency, and the variants in the candidate loci are divided into two categories, namely high-quality and low-quality variants;
[0011] Step 3: Assign genotypes to high-quality variants and low-quality variants using the binomial model (preGT);
[0012] High-quality heterozygous variants with a quality score greater than 15 were screened;
[0013] The WhatsHap tool was used to type and annotate the sequencing data using all high-quality heterozygous variants as input;
[0014] Sequencing data covering low-quality variants were divided into three typing sets according to different markers {0, 1, 2};
[0015] The typing set marked as 0 represents untyped;
[0016] The typing set marked as 1 represents the sequencing data typed to haploid 1;
[0017] The typing set labeled 2 represents the sequencing data typed to haplotype 2;
[0018] If the sequencing fragment count in the typing set marked as 1 exceeds the user-defined threshold, the typing set marked as 1 is regarded as a valid set, and the sequencing data in the valid set is used to generate a consensus sequence representing haplotype 1 and identify variants in low-quality loci;
[0019] If the sequencing fragment count in the typing set marked as 2 exceeds the user-defined threshold, the typing set marked as 2 is regarded as a valid set, and the sequencing data in the valid set is used to generate a consensus sequence representing haplotype 2 and identify variants in low-quality loci;
[0020] The typing set marked as 0 is considered an invalid set;
[0021] If the typing set marked as 1, the typing set marked as 2, and the typing set marked as 0 are all invalid sets, then all sequenced fragments in the invalid set will generate two consensus sequences representing potential haploids;
[0022] Step 4: Use KSW2 to align the generated consensus sequence with the reference sequence of the active region and identify alleles from the realigned CIGAR information;
[0023] Determine whether the low-quality variant obtained in step 2 is a real variant based on the identified alleles. If the allele identified in step 4 is consistent with the low-quality variant in step 2, the low-quality variant is considered to be a real variant. If the allele identified in step 4 is inconsistent with the low-quality variant in step 2, the low-quality variant is considered not to be a real variant, and the corresponding identified allele is deleted.
[0024] The genotype hapGT of the true variant was determined based on the number of times the remaining identified alleles appeared on different haploids;
[0025] The final genotype of the true variant determined in step 4 is determined by hapGT and preGT;
[0026] Step 5: Combine the high-quality variants obtained in step 2 with the true variants whose genotypes have been determined in step 4 as the final variant set and output it in the form of a VCF file.
[0027] The beneficial effects of the present invention are:
[0028] The purpose of the present invention is to propose a traditional method for accurately and quickly identifying single nucleotide variants based on nanopore sequencing data, by using regional alignment stacking of sequencing data, typing results based on sequencing data and consensus sequence generation to detect SNVs and calculate genotypes. The method also uses known common variants in the population to quickly and accurately locate high-quality variants. While improving detection accuracy, it reduces memory usage and increases the speed of SNV variant detection.
[0029] The present invention proposes a method based on statistical data features and consensus sequence construction. The present invention does not require the use of large-scale labeled data for model simulation in the early stage, which greatly simplifies the process of variation detection. At the same time, the present invention avoids the generalization problem that deep learning methods may have.
[0030] The present invention uses sequence stacking and prior knowledge of common variations in the population to group candidate loci, improving the sensitivity and speed of SNV detection. At the same time, it uses local haploid consensus sequence generation and re-alignment of consensus sequences with reference sequences to achieve accurate SNV variant detection and identification outside high-confidence regions. The present invention is a fast, lightweight tool with excellent scalability and low memory usage, which is helpful for large-scale genomics research. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0032] Specific implementation method 1: This implementation method is a single nucleotide variation detection method for nanopore sequencing data. The specific process is as follows:
[0033] Step 1: Use the alignment tool Mininap2 to align the sequencing data with the reference sequence hg38, and finally obtain the sorted BAM file;
[0034] Step 2: Use sequencing data stacking technology to identify the differences between the sequencing data and the reference sequence as alleles, and calculate the gene frequency of each allele;
[0035] Candidate loci are obtained based on gene frequency, and the variants in the candidate loci are divided into two categories, namely high-quality and low-quality variants;
[0036] Step 3: Assign genotypes to high-quality variants and low-quality variants using the binomial model (preGT);
[0037] High-quality heterozygous variants with a quality score greater than 15 were screened;
[0038] Use the WhatsHap tool to type and label the sequencing data (the sequencing data in step 1, including the "sequencing data covering low-quality variants") using all high-quality heterozygous variants as input;
[0039] Sequencing data covering low-quality variants were divided into three typing sets according to different markers {0, 1, 2} (taking diploid as an example);
[0040] The typing set marked as 0 represents untyped;
[0041] The typing set marked as 1 represents the sequencing data typed to haploid 1;
[0042] The typing set labeled 2 represents the sequencing data typed to haplotype 2;
[0043] If the sequencing fragment count in the typing set marked as 1 exceeds the user-defined threshold (the default value is 2), the typing set marked as 1 is regarded as a valid set, and the sequencing data in the valid set is used to generate a consensus sequence representing haplotype 1 and identify variants in low-quality loci;
[0044] If the sequencing fragment count in the typing set marked as 2 exceeds the user-defined threshold (the default value is 2), the typing set marked as 2 is regarded as a valid set, and the sequencing data in the valid set is used to generate a consensus sequence representing haploid 2 and identify variants in low-quality loci;
[0045] The typing set marked as 0 is considered an invalid set;
[0046] If the typing set marked as 1, the typing set marked as 2, and the typing set marked as 0 are all invalid sets, then all sequenced fragments in the invalid set will generate two consensus sequences representing potential haploids;
[0047] Step 4: Use KSW2 to align the generated consensus sequence with the reference sequence of the active region and identify alleles from the realigned CIGAR information;
[0048] Determine whether the low-quality variant obtained in step 2 is a real variant based on the identified alleles. If the allele identified in step 4 is consistent with the low-quality variant in step 2, the low-quality variant is considered to be a real variant. If the allele identified in step 4 is inconsistent with the low-quality variant in step 2, the low-quality variant is considered not to be a real variant, and the corresponding identified allele is deleted.
[0049] The genotype hapGT of the true variant was determined based on the number of times the remaining identified alleles appeared on different haploids;
[0050] The final genotype of the true variant determined in step 4 is determined by hapGT and preGT;
[0051] Step 5: Combine the high-quality variants obtained in step 2 with the true variants whose genotypes have been determined in step 4 as the final variant set and output it in the form of a VCF file.
[0052] Specific implementation method 2: This implementation method is different from specific implementation method 1 in that, in step 1, the alignment tool Mininap2 is used to align the sequencing data with the reference sequence hg38, and finally a sorted BAM file is obtained;
[0053] The specific process is:
[0054] The sequencing data and the reference sequence hg38 were aligned using the alignment tool Mininap2 to obtain the SAM file of the aligned sequencing data. The SAM file was converted into a BAM file using the Samtools tool, and the BAM file was sorted using the sort function of Samtools to finally obtain the sorted BAM file.
[0055] The other steps and parameters are the same as those in the first embodiment.
[0056] Specific implementation method three: This implementation method is different from specific implementation method one or two in that in step two, the sequencing data stacking technology is used to identify the differences between the sequencing data and the reference sequence as alleles, and the gene frequency of each allele is calculated;
[0057] Candidate loci are obtained based on gene frequency, and the variants in the candidate loci are divided into two categories, namely high-quality and low-quality variants;
[0058] The specific process is:
[0059] Step 21: Cut the reference sequence in step 1 into windows of fixed length (default value: L = 300 bp), and any two adjacent windows have 150 bp overlap;
[0060] Filter out all sequencing data with low mapping quality (by default MAPQ < 20, MAPQ is a parameter in the BAM file), supplementary aligned sequencing data, secondary aligned sequencing data, and unaligned sequencing data in the BAM file sorted in step 1;
[0061] Step 22: Extract detailed information (CIGAR information, alignment start position information, etc.) from the filtered BAM file;
[0062] According to the detailed information in the extracted BAM file, the length of the reference sequence after cutting is used as a processing unit, and the cumulative counts of the sequencing data supporting different alleles ("A, C, G, T") at the absolute position are counted in sequence according to the absolute position of the reference sequence, and the multi-alleles at each absolute position are divided into several double alleles;
[0063] Step 2: Calculate the gene frequency for each biallelic gene at each absolute position, where the gene frequency R alt The calculation formula is as follows:
[0064] R alt =N alt / N total
[0065] Where Nalt is the count of alleles in the sequencing data, N total is the total number of sequencing data counted at the absolute position in the filtered BAM file;
[0066] Alleles with a gene frequency greater than 5% are recorded with a unique identifier UID (abbreviated as wid_pos_ref_alt) consisting of the window ID, position, reference base, and alternative base;
[0067] The window ID calculation formula is as follows:
[0068] wid=pos_in_genome×2 / L
[0069] Where pos_in_genome is the absolute position of the reference sequence after adding up all chromosomes in the reference sequence;
[0070] Step 24: At each gene frequency R alt The comparative gene frequency R at allele position pos greater than 5% alt and a user-defined threshold (default 0.2), if R alt If R is greater than the threshold, the position of the corresponding allele (identified by UID) is marked as a candidate locus; alt If it is less than or equal to the threshold, the corresponding allele (identified by UID) will be deleted;
[0071] Each alternative allele was considered individually.
[0072] Step 25: If a candidate locus meets the following two conditions, the candidate locus is a high-quality locus: If a candidate locus does not meet the following two conditions, the candidate locus is a low-quality locus:
[0073] 1) Gene frequency R of candidate loci alt >0.7;
[0074] 2) There are no other candidate loci within 10 base pairs upstream and downstream of the candidate locus;
[0075] Any candidate loci whose position is in a low complexity region are classified as low quality.
[0076] The other steps and parameters are the same as those in the first or second embodiment.
[0077] Specific embodiment 4: This embodiment is different from one of specific embodiments 1 to 3 in that in step 3, genotype assignment preGT (referred to as "preGT") is performed on high-quality loci and low-quality loci using a binomial model; the specific process is:
[0078] The calculation formula of the binomial model is as follows:
[0079]
[0080] in,
[0081] Likelihood (0 / 0) indicates the score value of the genotype 0 / 0;
[0082] Likelihood (0 / 1) indicates the score value of genotype 0 / 1;
[0083] Likelihood (1 / 1) indicates the score value of the genotype being 1 / 1;
[0084] θ is the probability that the sequencing data are misaligned (the default value is 0.03), which is obtained independently through experience;
[0085] N ref is the number of sequences supporting the reference gene;
[0086] N alt is the number of sequences supporting the allele;
[0087] p is the prior probability of heterozygous variation (1 / 3), and here the prior distribution is configured to be equal for all three genotypes.
[0088] The other steps and parameters are the same as those in Specific Embodiments 1 to 3.
[0089] Specific implementation method 5: This implementation method is different from one of specific implementation methods 1 to 4 in that high-quality heterozygous variants with a quality score greater than 15 are screened out in step 3; the specific process is:
[0090] Generate variant detection quality scores in Phred format for each variant with genotype 0 / 1 and 1 / 1;
[0091] Phred = -10×log(1-P varient )
[0092] Among them, P varient is the probability of the current mutation existing (the probability of the current mutation existing is the maximum value among Likelihood(0 / 0), Likelihood(0 / 1), and Likelihood(1 / 1));
[0093] Heterogeneous variants with genotype 0 / 1 and phred greater than 15 were regarded as high-quality heterogeneous variants.
[0094] The other steps and parameters are the same as those in Specific Embodiments 1 to 4.
[0095] Specific implementation method 6: This implementation method is different from one of the specific implementation methods 1 to 5 in that the process of obtaining the consistent sequence in step 3 is:
[0096] The active region was extended 100 bp upstream and downstream with the low-quality locus as the center, and the sequencing data of the active region was extracted; the sequencing data of the active region was processed using multiple sequence alignment (abPOA) or local assembly (Manta) to generate a consensus sequence on the sequencing data of the active region.
[0097] abPOA is an accelerated and improved version of the original partial order alignment algorithm (POA). During the partial order alignment process, a matrix of size (L+1)(N+1) needs to be filled. L is the sequence length and N is the number of nodes in the directed acyclic graph (DAG). During the dynamic programming process of the alignment, the cell score of each matrix needs to be calculated, and the calculation formula is as follows:
[0098]
[0099] Where i is the position of the current computation unit in the DAG. j is the position of the current computation unit in the sequence. p is the position of the predecessor node of the node corresponding to the current unit. m(i,j) is the match score of the base pair in the sequence and the DAG node corresponding to the current unit (positive if the bases are the same, negative if they are different). G is the penalty score for each missing node.
[0100] The other steps and parameters are the same as those in Specific Implementations 1 to 5.
[0101] Specific implementation method 7: This implementation method is different from any one of specific implementation methods 1 to 6 in that, in step 4, the genotype hapGT of the real variation is determined according to the number of times the remaining identification alleles appear on different haploids; the final genotype of the real variation determined in step 4 is determined by hapGT and preGT together;
[0102] The specific process is:
[0103] If the number of occurrences is 0, the genotype of the allele is assigned as 0 / 0;
[0104] If the number of occurrences is 1, the genotype of the allele is assigned as 0 / 1;
[0105] If the number of occurrences is 2, the genotype of the allele is assigned as 1 / 1;
[0106] The genotype assigned at this stage is called “hapGT”;
[0107] Generally speaking, the present invention determines the final genotype based on hapGT;
[0108] If preGT is 0 / 1 and hapGT is 1 / 1, 0 / 1 means that all reads containing the allele should be located in one haplotype (paternal or maternal), but 1 / 1 means that reads containing the allele are randomly scattered in two different haplotypes, which may be caused by systematic errors. In this case, such alleles are filtered out to avoid false positives.
[0109] The other steps and parameters are the same as those in Specific Embodiments 1 to 6.
[0110] Evaluation indicators:
[0111] The present invention relates to the problem of SNV variation detection. In this patent, Precision, Recall, and F1-score are used as evaluation indicators. The calculation formulas of these indicators are as follows:
[0112] Precision:
[0113]
[0114] Recall:
[0115]
[0116] F1-score:
[0117]
[0118] TP indicates a SNV site that is predicted to be a variant and is actually a variant, FP indicates a SNV site that is predicted to be a variant but is not actually a variant, and FN indicates a SNV site that is predicted to be a non-variant site but is actually a variant.
[0119] Experimental results:
[0120] The present invention uses the average 70x sequencing coverage data set of HG002, HG003 and HG004 for benchmarking. Using the high-confidence variant set provided by GIAB as the test standard, the results and time and memory usage compared with the existing SNV variant detection tools based on third-generation sequencing data are as follows:
[0121] Table 1 Evaluation indicators of different tools on GIAB family samples
[0122]
[0123]
[0124] Table 2 Operation efficiency and memory usage of different tools
[0125]
[0126] Clair3 and Longshot are tools based on deep learning and traditional algorithms respectively. This method is compared with the above two methods. Its performance is better than the existing tools in terms of Precision, Recall, F1 score, time and memory.
[0127] The present invention may also have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art may make various corresponding changes and modifications based on the present invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for detecting single nucleotide variation in nanopore sequencing data, characterized in that: The specific process of the method is: Step 1: Use the alignment tool Mininap2 to align the sequencing data with the reference sequence hg38, and finally obtain the sorted BAM file; Step 2: Use sequencing data stacking technology to identify the differences between the sequencing data and the reference sequence as alleles, and calculate the gene frequency of each allele; Candidate loci are obtained based on gene frequency, and the variants in the candidate loci are divided into two categories, namely high-quality and low-quality variants; Step 3: Assign genotypes to high-quality variants and low-quality variants using the binomial model (preGT); High-quality heterozygous variants with a quality score greater than 15 were screened; The WhatsHap tool was used to type and annotate the sequencing data using all high-quality heterozygous variants as input; Sequencing data covering low-quality variants were divided into three typing sets according to different markers {0, 1, 2}; The typing set marked as 0 represents untyped; The typing set marked as 1 represents the sequencing data typed to haploid 1; The typing set labeled 2 represents the sequencing data typed to haplotype 2; If the sequencing fragment count in the typing set marked as 1 exceeds the user-defined threshold, the typing set marked as 1 is regarded as a valid set, and the sequencing data in the valid set is used to generate a consensus sequence representing haplotype 1 and identify variants in low-quality loci; If the sequencing fragment count in the typing set marked as 2 exceeds the user-defined threshold, the typing set marked as 2 is regarded as a valid set, and the sequencing data in the valid set is used to generate a consensus sequence representing haplotype 2 and identify variants in low-quality loci; The typing set marked as 0 is considered an invalid set; If the typing set marked as 1, the typing set marked as 2, and the typing set marked as 0 are all invalid sets, then all sequenced fragments in the invalid set will generate two consensus sequences representing potential haploids; Step 4: Use KSW2 to align the generated consensus sequence with the reference sequence of the active region and identify alleles from the realigned CIGAR information; Determine whether the low-quality variant obtained in step 2 is a real variant based on the identified alleles. If the allele identified in step 4 is consistent with the low-quality variant in step 2, the low-quality variant is considered to be a real variant. If the allele identified in step 4 is inconsistent with the low-quality variant in step 2, the low-quality variant is considered not to be a real variant, and the corresponding identified allele is deleted. The genotype hapGT of the true variant was determined based on the number of times the remaining identified alleles appeared on different haploids; The final genotype of the true variant determined in step 4 is determined by hapGT and preGT; Step 5: Combine the high-quality variants obtained in step 2 with the true variants whose genotypes have been determined in step 4 as the final variant set and output it in the form of a VCF file.
2. A method for detecting single nucleotide variation in nanopore sequencing data according to claim 1, characterized in that: In the step 1, the sequencing data and the reference sequence hg38 are aligned using the alignment tool Mininap2 to finally obtain the sorted BAM file; The specific process is: The sequencing data and the reference sequence hg38 were aligned using the alignment tool Mininap2 to obtain the SAM file of the aligned sequencing data. The SAM file was converted into a BAM file using the Samtools tool, and the BAM file was sorted using the sort function of Samtools to finally obtain the sorted BAM file.
3. A method for detecting single nucleotide variation in nanopore sequencing data according to claim 2, characterized in that: In the step 2, the sequencing data stacking technology is used to identify the differences between the sequencing data and the reference sequence as alleles, and the gene frequency of each allele is calculated; Candidate loci are obtained based on gene frequency, and the variants in the candidate loci are divided into two categories, namely high-quality and low-quality variants; The specific process is: Step 21: Cut the reference sequence in step 1 into windows of fixed length, and any two adjacent windows have 150 bp overlap; Filter out all sequencing data with low mapping quality, sequencing data with supplementary alignment, sequencing data with secondary alignment, and sequencing data without alignment in the BAM file sorted in step 1; Step 22: Extract detailed information from the filtered BAM file; According to the detailed information in the extracted BAM file, the length of the reference sequence after cutting is used as a processing unit, and the cumulative counts of the sequencing data supporting different alleles ("A, C, G, T") at the absolute position are counted in sequence according to the absolute position of the reference sequence, and the multi-alleles at each absolute position are divided into double alleles; Step 2: Calculate the gene frequency for each biallelic gene at each absolute position, where the gene frequency R alt The calculation formula is as follows: R alt =N alt / N total Where N alt is the count of alleles in the sequencing data, N total is the total number of sequencing data counted at the absolute position in the filtered BAM file; Alleles with a gene frequency greater than 5% are recorded with a unique ID UID consisting of the window ID, position, reference base, and alternative base; The window ID calculation formula is as follows: wid=pos_in_genome×2 / L Where pos_in_genome is the absolute position of the reference sequence after summing all chromosomes in the reference sequence; Step 24: At each gene frequency R alt The comparative gene frequency R at the allele position pos greater than 5% alt and user-defined threshold, if R alt If R is greater than the threshold, the position of the corresponding allele is marked as a candidate locus; alt If it is less than or equal to the threshold, the corresponding allele will be deleted; Step 25: If a candidate locus meets the following two conditions, the candidate locus is a high-quality locus: If a candidate locus does not meet the following two conditions, the candidate locus is a low-quality locus: 1) Gene frequency R of candidate loci alt >0.7; 2) There are no other candidate loci within 10 base pairs upstream and downstream of the candidate locus; Any candidate loci whose position is in a low complexity region are classified as low quality.
4. A method for detecting single nucleotide variation in nanopore sequencing data according to claim 3, characterized in that: In the step 3, genotype assignment preGT is performed on high-quality loci and low-quality loci through a binomial model; the specific process is: The calculation formula of the binomial model is as follows: in, Likelihood (0 / 0) indicates the score value of the genotype 0 / 0; Likelihood (0 / 1) indicates the score value of genotype 0 / 1; Likelihood (1 / 1) indicates the score value of the genotype being 1 / 1; θ is the probability that the sequencing data is misaligned; N ref is the number of sequences supporting the reference gene; N alt is the number of sequences supporting the allele; p is the prior probability of a heterozygous variant.
5. A method for detecting single nucleotide variation in nanopore sequencing data according to claim 4, characterized in that: In step 3, high-quality heterozygous variants with a quality score greater than 15 are screened; the specific process is: Generate variant detection quality scores in Phred format for each variant with genotype 0 / 1 and 1 / 1; Phred=-10×log(1-P varient ) Among them, P varient is the probability of the current mutation existing; Heterogeneous variants with genotype 0 / 1 and phred greater than 15 were regarded as high-quality heterogeneous variants.
6. A method for detecting single nucleotide variation in nanopore sequencing data according to claim 5, characterized in that: The process of obtaining the consistent sequence in step 3 is as follows: The active region is extended 100 bp upstream and downstream with the low-quality locus as the center, and the sequencing data of the active region is extracted; the sequencing data of the active region is processed by multiple sequence alignment or local assembly to generate a consensus sequence on the sequencing data of the active region.
7. A method for detecting single nucleotide variation in nanopore sequencing data according to claim 6, characterized in that: In the step 4, the genotype hapGT of the real variation is determined according to the number of times the remaining identified alleles appear on different haploids; the final genotype of the real variation determined in step 4 is determined by hapGT and preGT; The specific process is: If the number of occurrences is 0, the genotype of the allele is assigned as 0 / 0; If the number of occurrences is 1, the genotype of the allele is assigned as 0 / 1; If the number of occurrences is 2, the genotype of the allele is assigned as 1 / 1; If preGT is 0 / 1 and hapGT is 1 / 1, this allele is filtered out to avoid false positives.
Citation Information
Cited By
SNV detection data processing method
CN119673274A
