kalis

kalis: High Performance Li & Stephens Local Ancestry Inference

https://github.com/louisaslett/kalis

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 14 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary

Keywords

genetics genomics hpc-applications r
Last synced: 6 months ago · JSON representation

Repository

kalis: High Performance Li & Stephens Local Ancestry Inference

Basic Info
Statistics
  • Stars: 8
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 1
Topics
genetics genomics hpc-applications r
Created almost 9 years ago · Last pushed over 1 year ago
Metadata Files
Readme Citation

README.md

kalis: High Performance Li & Stephens Local Ancestry Inference

kalis (doi: 10.1186/s12859-024-05688-8) provides a high performance implementation of the Li & Stephens model (doi: 10.1093/genetics/165.4.2213) for local ancestry inference (local referring to a region of the genome). For a set of N phased haplotypes, kalis computes the posterior marginal probability of each haplotype copying every other haplotype by running N hidden Markov models in parallel. This yields an N x N matrix that summarizes the recent local ancestry at each variant of interest. The package provides functionality for specifying a recombination map, site-specific mutation rates, and differing prior copying probabilities for each recipient haplotype. Extensive use is made of low level threading and CPU vector instructions.

Installation

kalis will appear on CRAN in due course. For now, the current development version can be installed using the remotes package as follows:

install.packages("remotes") remotes::install_github("louisaslett/kalis", build_vignettes = TRUE)

Note that kalis uses various low-level optimisations meaning that you should ensure the compiler is targeting your local CPU architecture. The simplest way to do this is to pass configure variables setting the correct CFLAGS at install time:

remotes::install_github("louisaslett/kalis", configure.vars = c(kalis = "PKG_CFLAGS='-march=native -mtune=native -O3'"), build_vignettes = TRUE)

If you do not have the correct flags set, kalis will fall back to an implementation which does not use the special vector instruction set architecture of your CPU and will provide a warning when you load the package in your R session.

Citation

If you make use of this software, please cite the primary reference:

Aslett L. J. M., Christ R. R. (2024). "kalis: a modern implementation of the Li & Stephens model for local ancestry inference in R." BMC Bioinformatics, 25(1), 1-18. doi:10.1186/s12859-024-05688-8.

bibTeX:

@Article{, title = {kalis: a modern implementation of the Li & Stephens model for local ancestry inference in R}, author = {Aslett, L. J. M. and Christ, R. R.}, journal = {BMC Bioinformatics}, year = {2024}, volume = {25}, number = {1}, pages = {1--18}, doi = {10.1186/s12859-024-05688-8} }

Some additional functions were added after the above publication to enable checkpointing and clade matrix construction, which are described in:

Christ, R.R., Wang, X., Aslett, L.J.M., Steinsaltz, D. and Hall, I. (2024) "Clade Distillation for Genome-wide Association Studies", bioRxiv 2024.09.30.615852. doi:10.1101/2024.09.30.615852.

bibTeX:

@Article{, title = {Clade Distillation for Genome-wide Association Studies}, author = {Christ, R. R. and Wang, X. and Aslett, L. J. M. and Steinsaltz, D. and Hall, I.}, journal = {bioRxiv}, year = {2024}, number = {2024.09.30.615852}, doi = {10.1101/2024.09.30.615852} }

Owner

  • Name: Louis Aslett
  • Login: louisaslett
  • Kind: user
  • Location: Durham, UK
  • Company: Durham University

Associate Professor, Department of Mathematical Sciences, Durham University

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 9
Last Year
  • Issues event: 1
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 9

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 1
  • Total pull requests: 3
  • Average time to close issues: over 1 year
  • Average time to close pull requests: 17 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 6.0
  • Average comments per pull request: 0.67
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 months
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sahwa (1)
Pull Request Authors
  • louisaslett (4)
Top Labels
Issue Labels
Pull Request Labels