Method and system for detecting genome infiltration among biological populations, electronic equipment and storage medium
Through the combination of PGS algorithm and VCFtools software, the genetic similarity differences between biological populations are analyzed based on the whole genome SNP variant map, which solves the problems of long detection cycles and low accuracy in the existing technology, and achieves rapid and reliable genomic infiltration detection .
Patent Information
- Application Number
- CN202410948984.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure BDA0004946602710000051 
Figure BDA0004946602710000061 
Figure BDA0004946602710000071
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of bioinformatics, and specifically relates to a method, system, electronic device and storage medium for detecting genome infiltration between biological populations. Background Art
[0002] Introgression refers to the phenomenon of the transfer and flow of genomic genetic components between different species or populations, usually formed by hybridization between species or populations. Genomic introgression plays an important role in the study of species evolution. For example, after corn (Zeamays ssp. mays) was domesticated from teosinte (Zeamays ssp. parviglumis), the initially domesticated corn hybridized with Mexican highland corn (Zea mays ssp. mexicana) during the diffusion process. The hybrid ancient corn re-spread and formed the ancestor of modern corn. The existing technology mainly uses genetic markers and major effect genes to detect gene introgression between biological populations. However, these two detection methods currently require long detection cycles and low accuracy rates. Summary of the invention
[0003] Based on the above background, the present invention not only provides a method, system, electronic device and storage medium for detecting genomic infiltration between biological populations, but also, based on the PGS algorithm, performs statistical analysis on the genetic similarity differences of SNP sites between the biological population to be tested and two target biological populations, and through the significance test results, efficiently and reliably identifies and detects the infiltration segments of the target biological population in the biological population.
[0004] The technical solution of the present invention is:
[0005] A method for detecting genomic introgression between biological populations, comprising the following steps:
[0006] S1: Obtain genetic information of a biological population to be tested and two target biological populations, where the two target biological populations are target biological population A and target biological population B;
[0007] The genetic information includes a SNP variation map of the whole genome; the SNP variation map is identified using population genotypes.
[0008] S2: filtering the SNP variation sites according to the SNP variation map of step S1 to obtain the SNP variation sites whose deletion rate and minimum allele frequency meet the set threshold;
[0009] S3: performing genetic similarity analysis on each SNP variation site filtered in step S2 between the biological population to be tested and the target biological population A, and between the biological population to be tested and the target biological population B;
[0010] S4: According to the single SNP genetic similarity result obtained in step S3, the average value of the SNP genetic similarity obtained in S3 within the sliding window is calculated for all SNP sites of a fixed-length sliding window in the whole genome, and the SNP genetic similarity within the sliding window is subjected to a hypothesis test by a rank sum test (Wilcoxon rank-sum test), and the significance of the difference between the similarity between the biological population to be tested and the target biological population A and the target biological population B within the sliding window is analyzed. According to the hypothesis test result, it is determined whether the window is the introgression section of the target biological population corresponding to the biological population to be tested:
[0011] If the similarity between the tested population and the target biological population B in a certain window is significantly higher (with the P value of the rank sum test < 0.05 as the standard) than the genetic similarity between the tested population and the target biological population A, then the window is determined to be the introgression section of the target biological population B in the tested biological population;
[0012] If the similarity between the biological population to be tested and the target biological population A in a certain window is significantly higher than the genetic similarity between the biological population to be tested and the target biological population B, then the window is determined to be the introgression section of the target biological population A in the biological population to be tested;
[0013] If there is no significant difference in the genetic similarity between the tested biological population and the target biological population A and the target biological population B within a certain window, it is determined to be a mixed section;
[0014] To enhance the reliability of the statistical results, if the number of SNPs in a sliding window is less than the set threshold, the sliding window is judged to be a missing result.
[0015] Furthermore, the criteria for filtering in step S2 are: deletion rate <20%, and minimum allele frequency >5%.
[0016] Furthermore, the similarity analysis of a single SNP site in step S3 is specifically as follows:
[0017] Compare the SNP genotypes of the samples of the subpopulation to be tested and the target population, count the number of identical genotypes, and skip if the genotype is missing. The following formula (1) calculates genetic similarity:
[0018] Genetic similarity = number of identical genotypes / total statistical number (1).
[0019] Furthermore, in step S2, VCFtools software is used to filter the SNP variant sites.
[0020] Based on the same inventive concept, the present invention also provides a system for detecting genome introgression in a biological population, comprising:
[0021] An input module, used to input or import genetic information of the biological population to be tested and two target biological populations, wherein the genetic information includes a SNP variation map of the whole genome;
[0022] The calculation module filters the SNP variation map input or imported by the input module, and then performs genetic similarity analysis on each SNP variation site after filtering between the biological population to be tested and each target biological population. Then, based on the genetic similarity results of a single SNP, the genetic similarity differences between the biological population to be tested and each target biological population are statistically analyzed for all SNP sites of a sliding window of a fixed length in the whole genome, and a significance test is performed through a rank sum test.
[0023] The output module outputs the significance test results of the similarity differences between the biological population to be tested and each biological population.
[0024] Based on the same inventive concept, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned method for detecting genomic introgression in a biological population.
[0025] Based on the same inventive concept, the present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for detecting genomic introgression in a biological population as described above is implemented.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The present invention utilizes the whole genome variation map based on the PGS algorithm, targets the genetic similarity of a single SNP variation site between the biological population to be tested and two target biological populations, and performs statistical analysis on the genetic similarity difference of the SNP sites between the biological population to be tested and the two target biological populations through a sliding window method in the entire genome range, and according to the significance test result, determines that the fragments with significantly higher window similarity are the introgressed fragments of the target biological population in the biological population to be tested, has simple operation, short time, high accuracy and efficiency, and provides a new technical idea for gene introgression between biological populations. DETAILED DESCRIPTION
[0028] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with its embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0029] Example 1: A method for detecting genomic introgression between biological populations, comprising the following steps:
[0030] S1: Obtain genetic information of a biological population to be tested and two target biological populations, where the two target biological populations are target biological population A and target biological population B;
[0031] The genetic information includes a SNP variation map of the whole genome; the SNP variation map is identified by using population genotypes; specifically, it can be a public or self-constructed VCF format SNP variation data obtained by using genome sequencing or SNP chip technology. S2: According to the SNP variation map (VCF file) of step S1, the SNP variation sites are filtered according to the SNP missing rate and the minimum allele frequency, and the SNP variation sites are filtered using VCFtools software to obtain the SNP variation sites whose missing rate and minimum allele frequency meet the set threshold;
[0032] The criteria for filtering SNP variant sites were: missing rate <20%, minimum allele frequency >5%.
[0033] In step S2, VCFtools software is used to filter SNP variant sites.
[0034] S3: performing genetic similarity analysis on each SNP variation site filtered in step S2 between the biological population to be tested and the target biological population A; performing genetic similarity analysis on each SNP variation site filtered in step S2 between the biological population to be tested and the target biological population B;
[0035] Furthermore, the similarity analysis of a single SNP site in step S3 is specifically as follows:
[0036] Compare the SNP genotypes of the samples of the subpopulation to be tested and the target population, count the number of identical genotypes, and skip if the genotype is missing. The following formula (1) calculates genetic similarity:
[0037] Genetic similarity = number of identical genotypes / total statistical number (1).
[0038] S4: According to the single SNP genetic similarity result obtained in step S3, the average value of the SNP genetic similarity obtained in S3 within the sliding window is calculated for all SNP sites of a fixed-length sliding window in the whole genome, and the SNP genetic similarity within the sliding window is subjected to a hypothesis test by a rank-sum test, and the significance of the difference between the similarity between the biological population to be tested and the target biological population A and the target biological population B within the sliding window is analyzed. According to the hypothesis test result, it is determined whether the window is the introgression segment of the target biological population corresponding to the biological population to be tested: if the similarity between the biological population to be tested and the target biological population B within a certain window is significantly (with the P value of the rank-sum test <0.05 as the standard) higher than the genetic similarity between the biological population to be tested and the target biological population A, then the window is determined to be the introgression segment of the target biological population B in the biological population to be tested ; If the similarity between the biological population to be tested and the target biological population A in a certain window is significantly higher than the genetic similarity between the biological population to be tested and the target biological population B, the window is determined to be an introgression segment of the target biological population A in the biological population to be tested; if there is no significant difference in the genetic similarity between the biological population to be tested and the target biological population A and the target biological population B in a certain window, it is determined to be a mixed segment. In order to enhance the reliability of the statistical results, if the number of SNPs in a certain sliding window is less than the set threshold, the sliding window is determined to be a missing result.
[0039] Example 2: This example implements a method for detecting genomic introgression between biological populations in Example 1 by using existing software and its programs.
[0040] The software and its procedures are as follows:
[0041] VCFtools ≥ 0.1.16, Python ≥ 3.6, Pandas ≥ 2.2.1, Numpy ≥ 1.22.4
[0042] The following is the specific implementation process.
[0043] (1) Genotype data filtering
[0044] Use VCFtools to perform SNP filtering. The command line in Linux environment is:
[0045] vcftools--gzvcfSNP.vcf.gz--max-missing 0.2--maf0.05--recode--outSNP.filter, where --gzvcfSNP.vcf.gz is the original SNP variation file (SNP variation map), --max-missing 0.2 means the missing rate is <20%, --maf0.05 means the minimum allele frequency is <5%, and --out SNP.filter is the output file after filtering.
[0046] (2) Genetic similarity calculation and statistical test
[0047] pgs.py was used to perform genetic similarity analysis and statistical tests among different populations. The command line in the Linux environment was: Python pgs.py --snp SNP.filter.recode.vcf --sample sample.txt --windowSize 100000 --stepSize 1000000 --minSNP 30 --popA "Zea mays subsp.parviglumis" --popB "Zeamays subsp.mexicana" --popT "Zea mays subsp.mays" --out result.csv; where: --snpSNP.filter.recode.vcf is the filtered SNP variation file, --sample sample.txt is a file containing the names of the individuals of the biological population to be tested and the target biological population and the corresponding subpopulation information, --windowSize 100000 is the length of the sliding window, --stepSize1000000 is the step size of the sliding window, --minSNP30 is the minimum number of SNPs in the sliding window, --popA "parviglumis", --popB "mexicana", --popT "maize" are the corresponding population names of the target biological population A, the target biological population B and the biological population T to be tested in the sample.txt file, respectively, and --out result.csv is the result file.
[0048] The first column of the sample information file sample.txt is the sample name corresponding to the SNP variation file, and the second column is the population information corresponding to the sample, such as Table 1:
[0049] Table 1. Sample information file example
[0050] 5B3 parviglumis 5H7 parviglumis 6A4 mexicana 5G8 mexicana CIMBL56 maize ZHENG58 maize
[0051] The first column of the output result file result.csv is the starting position of the window, the second column is the end position of the window, the third column is the statistical test significance of the genetic similarity difference between the tested biological population T and the target biological population A and between the tested biological population and the target biological population B, the fourth column is the difference value of the above genetic similarity, the fifth column is the average value of the genetic similarity between the tested biological population T and the target biological population A, and the sixth column is the average value of the genetic similarity between the tested biological population T and the target biological population B, such as Table 2:
[0052] Table 2. PGS analysis result file example
[0053] left right P diffBA meanA meanB 1 100000 0.001384118 0.076062283 0.585471001 0.661533284 100001 200000 1.86E-10 0.091999849 0.612730071 0.704729919 200001 300000 2.73E-08 0.099342924 0.62736767 0.726710594 300001 400000 0.012013307 0.05797296 0.608702487 0.666675447 400001 500000 0.010031352 0.05224338 0.603471621 0.655715001 500001 600000 0.431699243 0.033537986 0.586394381 0.619932367
[0054] The pgs.py code for genetic similarity calculation and statistical test is:
[0055]
[0056]
[0057]
[0058]
[0059]
[0060] Example 3: Detection of introgression in maize populations
[0061] The genome introgression detection was carried out using the publicly available genetic data of maize (Zea mays ssp. mays) and its ancestors, Zea maysssp. parviglumis (hereinafter referred to as parviglumis) and Zea mays ssp. mexicana (hereinafter referred to as mexicana). At the same time, the Patterson's D statistical test was used to analyze the genome introgression using the same data, and the PGS and Patterson's D results were compared to verify the reliability of the PGS algorithm.
[0062] (1) Test materials
[0063] The experimental materials include 250 materials, of which 162 are maize, 36 are parviglumis, 43 are mexicana, and 9 are teosinte (Zea diploperennis). The genotype data are from the website
[0064] Download from https: / / ftp.cngb.org / pub / CNSA / data3 / CNP0001565 / zeamap / 02_Variants / PAN_Zea_Variants / Zea-vardb / .
[0065] Detailed material information is shown in Table 3.
[0066] Table 3. Material name and group information
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073] (2) PGS-based genomic introgression detection
[0074] The PGS algorithm was used to analyze the genetic similarity between maize and parviglumis and mexicana, and to detect the mexicana introgression segments in the maize genome. The results showed that the maize genome was divided into 21,055 windows with a length of 100,000 bp, of which 2,511 windows were identified by PGS as mexicana introgression segments, accounting for 11.92% of the entire genome. The number of mexicana introgression segments in chromosomes 1 to 10 ranged from 160 to 414, with the smallest proportion being 9.66% for chromosome 8 and the largest being 15.90% for chromosome 9 (Table 4).
[0075] Table 4. Statistics of mexicana infiltration segments obtained by PGS and ABBA-BABA
[0076]
[0077] (3) Genomic introgression detection based on Patterson's D test
[0078] The same data were used to analyze the mexicana genomic introgression using Patterson's D statistical test.
[0079] (1) Patterson's D test method
[0080] The analysis software was downloaded from https: / / github.com / simonhmartin / genomics_general. First, use parseVCF.py to convert the SNP variation information file in VCF format into the format required for the next step of analysis. The specific command line is:
[0081] python VCF_processing / parseVCF.py-i SNP.vcf.gz-o SNP.geno.gz
[0082] , where -i SNP.vcf.gz is the SNP file, and -o obtains the SNP.geno.gz file.
[0083] Then, ABBABABAwindows.py was used to perform Patterson's D statistical test using the sliding window method, where D = [sum(ABBA) – sum(BABA)] / [sum(ABBA) + sum(BABA)]. If the D value of a sliding window is > 0, the sliding window is determined to be a mexicana infiltration segment. The specific command line is:
[0084] python ABBABABAwindows.py-g SNP.geno.gz-o output.csv-w 100000-m 10-s100000-P1 parviglumis-P2mexicana-P3 maize-O diploperennis--popsFile sample_class.txt
[0085] , where -g SNP.geno.gz is the SNP variation information file obtained in the previous step, -o output.csv is the final result file, -w 100000 is the sliding window size, -s 100000 is the sliding window step size, -m 10 is the minimum number of SNPs in the sliding window, -P1 parviglumis is the target population, -P2 mexicana is another target population, -P3 maize is the population to be tested, -O diploperennis is the distant control population, --popsFile sample_class.txt is a file containing sample name and population information, and the format is the same as in PGS.
[0086] (2) Analysis of Patterson's D test results
[0087] Patterson's D test was used to analyze the introgression of mexicana in the maize genome. The results showed that among 21055 windows with a length of 100,000 bp, 2436 windows were identified by PGS as mexicana introgression segments, accounting for 11.56% of the entire genome. The number of mexicana introgression segments in chromosomes 1 to 10 ranged from 143 to 364, with the smallest proportion being 8.39% in chromosome 8 and the largest being 15.44% in chromosome 3 (Table 4).
[0088] Comparison of the results of PGS and Patterson's D test
[0089] Comparative analysis was performed on the mexicana infiltration segments obtained by PGS and Patterson's D tests. A total of 1010 windows were detected by both results. In addition, 1501 windows were detected as infiltration segments only by PGS, and 1426 were detected as infiltration segments only by Patterson's D test. In each chromosome, the most infiltration windows obtained together were 156 for chromosome 3, and the least were 56 for chromosome 9 (Table 4). Since Patterson's D test simply judges whether infiltration is based on the difference in the number of similar or different SNPs in the window, the standard is also relatively simple, with the number difference being greater than a certain number as the criterion. The detection method based on the PGS algorithm proposed in the present invention detects the SNP similarity of different target groups, analyzes the difference in similarity, and performs statistical tests through the Wilcoxon rank-sum non-parametric test, and the results are more reliable.
[0090] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for detecting genomic introgression between biological populations, characterized in that It includes the following steps: S1: Obtain genetic information of a biological population to be tested and two target biological populations, where the two target biological populations are target biological population A and target biological population B; The genetic information includes a genome-wide SNP variation map; S2: filtering the SNP variation sites according to the SNP variation map of step S1 to obtain SNP variation sites with high deletion rate and minimum allele frequency meeting the set threshold; S3: performing genetic similarity analysis on each SNP variation site filtered in step S2 between the biological population to be tested and the target biological population A, and between the biological population to be tested and the target biological population B; S4: According to the single SNP genetic similarity result obtained in step S3, the average value of the SNP genetic similarity obtained in S3 within the sliding window is calculated for all SNP sites of a fixed-length sliding window in the whole genome, and the SNP genetic similarity within the sliding window is subjected to hypothesis test by rank sum test, and the significance of the difference between the similarity between the biological population to be tested and the target biological population A and the target biological population B within the sliding window is analyzed. According to the hypothesis test result, it is determined whether the window is the introgression section of the target biological population corresponding to the biological population to be tested: If the similarity between the test population and the target biological population B in a certain window is significantly higher than the genetic similarity between the test population and the target biological population A, then the window is determined to be the introgression section of the target biological population B in the test biological population; If the similarity between the biological population to be tested and the target biological population A in a certain window is significantly higher than the genetic similarity between the biological population to be tested and the target biological population B, then the window is determined to be the introgression section of the target biological population A in the biological population to be tested; If there is no significant difference in the genetic similarity between the tested biological population and the target biological population A and the target biological population B within a certain window, it is determined to be a mixed section; To enhance the reliability of the statistical results, if the number of SNPs in a sliding window is less than the set threshold, the sliding window is judged to be a missing result.
2. A method for detecting genomic introgression in a biological population according to claim 1, characterized in that: The criteria for filtering in step S2 are: deletion rate <20%, and minimum allele frequency >5%.
3. A method for detecting genomic introgression in a biological population according to claim 1 or 2, characterized in that: The specific similarity analysis of a single SNP site in step S3 is as follows: Compare the SNP genotypes of the samples of the tested biological population and the target biological population, count the number of identical genotypes, and skip if the genotype is missing. The following formula (1) calculates genetic similarity: Genetic similarity = number of identical genotypes / total statistical number (1).
4. A method for detecting genomic introgression in a biological population according to any one of claims 1 to 3, characterized in that: In step S2, VCFtools software is used to filter SNP variant sites.
5. A system for detecting genomic introgression in a biological population, characterized in that It includes: An input module, used to input or import genetic information of the biological population to be tested and two target biological populations, wherein the genetic information includes a SNP variation map of the whole genome; The calculation module filters the SNP variation map input or imported by the input module, and then performs genetic similarity analysis on each SNP variation site after filtering between the biological population to be tested and each target biological population. Then, based on the genetic similarity results of a single SNP, the genetic similarity differences between the biological population to be tested and each target biological population are statistically analyzed for all SNP sites of a sliding window of a fixed length in the whole genome, and a significance test is performed through a rank sum test. The output module outputs the significance test results of the similarity differences between the biological population to be tested and each biological population.
6. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes the computer program to implement a method for detecting genomic introgression in a biological population as described in any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements a method for detecting genomic introgression in a biological population as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Seed selection and breeding system based on biological information, and algorithm of seed selection and breeding system
CN106779076A
High-density genetic map construction method
CN107644150A
Method and device for detecting progressive infiltration of genes among biological populations
CN115762628A
Method for carrying out progenitor line haplogroup typing in genome fine interval by crossing tetraploid and hexaploid wheat
CN117373528A
