CMD + K

bacprune

Community

Fast LD pruning of haploid genotype matrices

Installation

To install this package, run one of the following:

Conda
$conda install bioconda::bacprune

Usage Tracking

0.9.0
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

BacPrune-Rust prunes a haploid genotype matrix by linkage disequilibrium (LD) threshold. Three modes are available:

--r Greedy pruning by r² (Pearson r-squared) threshold (default). --dprime Greedy pruning by |D'| threshold. --dedup Hash-based exact-duplicate removal only (O(n·v), no pairwise LD calculation).

All modes first remove exact duplicate variant columns via hashing before any threshold-based pruning. Output includes the pruned genotype matrix, a pruning summary, and a per-variant correlation-direction file.

About

Summary

Fast LD pruning of haploid genotype matrices

Last Updated

Apr 16, 2026 at 22:06

License

MIT

Supported Platforms

linux-aarch64
macOS-arm64
linux-64
macOS-64