Cargando…

SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium

BACKGROUND: High levels of pairwise linkage disequilibrium (LD) in single nucleotide polymorphism (SNP) array or whole-genome sequence data may affect both performance and efficiency of genomic prediction models. Thus, this warrants pruning of genotyping data for high LD. We developed an algorithm,...

Descripción completa

Detalles Bibliográficos
Autores principales: Calus, Mario P. L., Vandenplas, Jérémie
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2018
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6019535/
https://www.ncbi.nlm.nih.gov/pubmed/29940846
http://dx.doi.org/10.1186/s12711-018-0404-z
_version_ 1783335144629731328
author Calus, Mario P. L.
Vandenplas, Jérémie
author_facet Calus, Mario P. L.
Vandenplas, Jérémie
author_sort Calus, Mario P. L.
collection PubMed
description BACKGROUND: High levels of pairwise linkage disequilibrium (LD) in single nucleotide polymorphism (SNP) array or whole-genome sequence data may affect both performance and efficiency of genomic prediction models. Thus, this warrants pruning of genotyping data for high LD. We developed an algorithm, named SNPrune, which enables the rapid detection of any pair of SNPs in complete or high LD throughout the genome. METHODS: LD, measured as the squared correlation between phased alleles (r(2)), can only reach a value of 1 when both loci have the same count of the minor allele. Sorting loci based on the minor allele count, followed by comparison of their alleles, enables rapid detection of loci in complete LD. Detection of loci in high LD can be optimized by computing the range of the minor allele count at another locus for each possible value of the minor allele count that can yield LD values higher than a predefined threshold. This efficiently reduces the number of pairs of loci for which LD needs to be computed, instead of considering all pairwise combinations of loci. The implemented algorithm SNPrune considered bi-allelic loci either using phased alleles or allele counts as input. SNPrune was validated against PLINK on two datasets, using an r(2) threshold of 0.99. The first dataset contained 52k SNP genotypes on 3534 pigs and the second dataset contained simulated whole-genome sequence data with 10.8 million SNPs and 2500 animals. RESULTS: SNPrune removed a similar number of SNPs as PLINK from the pig data but SNPrune was almost 12 times faster than PLINK. From the simulated sequence data with 10.8 million SNPs, SNPrune removed 6.4 and 1.4 million SNPs due to complete and high LD. Results were very similar regardless of whether phased alleles or allele counts were used. Using allele counts and multi-threading with 10 threads, SNPrune completed the analysis in 21 min. Using a sliding window of up to 500,000 SNPs, PLINK removed ~ 43,000 less SNPs (0.6%) in the sequence data and SNPrune was 24 to 170 times faster, using one or ten threads, respectively. CONCLUSIONS: The SNPrune algorithm developed here is able to remove SNPs in high LD throughout the genome very efficiently in large datasets. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (10.1186/s12711-018-0404-z) contains supplementary material, which is available to authorized users.
format Online
Article
Text
id pubmed-6019535
institution National Center for Biotechnology Information
language English
publishDate 2018
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-60195352018-07-06 SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium Calus, Mario P. L. Vandenplas, Jérémie Genet Sel Evol Research Article BACKGROUND: High levels of pairwise linkage disequilibrium (LD) in single nucleotide polymorphism (SNP) array or whole-genome sequence data may affect both performance and efficiency of genomic prediction models. Thus, this warrants pruning of genotyping data for high LD. We developed an algorithm, named SNPrune, which enables the rapid detection of any pair of SNPs in complete or high LD throughout the genome. METHODS: LD, measured as the squared correlation between phased alleles (r(2)), can only reach a value of 1 when both loci have the same count of the minor allele. Sorting loci based on the minor allele count, followed by comparison of their alleles, enables rapid detection of loci in complete LD. Detection of loci in high LD can be optimized by computing the range of the minor allele count at another locus for each possible value of the minor allele count that can yield LD values higher than a predefined threshold. This efficiently reduces the number of pairs of loci for which LD needs to be computed, instead of considering all pairwise combinations of loci. The implemented algorithm SNPrune considered bi-allelic loci either using phased alleles or allele counts as input. SNPrune was validated against PLINK on two datasets, using an r(2) threshold of 0.99. The first dataset contained 52k SNP genotypes on 3534 pigs and the second dataset contained simulated whole-genome sequence data with 10.8 million SNPs and 2500 animals. RESULTS: SNPrune removed a similar number of SNPs as PLINK from the pig data but SNPrune was almost 12 times faster than PLINK. From the simulated sequence data with 10.8 million SNPs, SNPrune removed 6.4 and 1.4 million SNPs due to complete and high LD. Results were very similar regardless of whether phased alleles or allele counts were used. Using allele counts and multi-threading with 10 threads, SNPrune completed the analysis in 21 min. Using a sliding window of up to 500,000 SNPs, PLINK removed ~ 43,000 less SNPs (0.6%) in the sequence data and SNPrune was 24 to 170 times faster, using one or ten threads, respectively. CONCLUSIONS: The SNPrune algorithm developed here is able to remove SNPs in high LD throughout the genome very efficiently in large datasets. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (10.1186/s12711-018-0404-z) contains supplementary material, which is available to authorized users. BioMed Central 2018-06-26 /pmc/articles/PMC6019535/ /pubmed/29940846 http://dx.doi.org/10.1186/s12711-018-0404-z Text en © The Author(s) 2018 Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
spellingShingle Research Article
Calus, Mario P. L.
Vandenplas, Jérémie
SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium
title SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium
title_full SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium
title_fullStr SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium
title_full_unstemmed SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium
title_short SNPrune: an efficient algorithm to prune large SNP array and sequence datasets based on high linkage disequilibrium
title_sort snprune: an efficient algorithm to prune large snp array and sequence datasets based on high linkage disequilibrium
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6019535/
https://www.ncbi.nlm.nih.gov/pubmed/29940846
http://dx.doi.org/10.1186/s12711-018-0404-z
work_keys_str_mv AT calusmariopl snpruneanefficientalgorithmtoprunelargesnparrayandsequencedatasetsbasedonhighlinkagedisequilibrium
AT vandenplasjeremie snpruneanefficientalgorithmtoprunelargesnparrayandsequencedatasetsbasedonhighlinkagedisequilibrium