chrchang/plink-ng
Acerca de
PLINK es un conjunto de herramientas gratuito y de código abierto para el análisis de asociación de genoma completo, diseñado para realizar diversos análisis básicos a gran escala de forma computacionalmente eficiente. Esta es una actualización integral de PLINK.
Otros proyectosCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +4
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originalplink-ng
Source code for PLINK 1.9 and PLINK 2.0, the successors to Shaun Purcell's PLINK 1.07 (https://zzz.nyspi.org/plink/), a whole-genome association analysis toolset.
- User documentation and prebuilt binaries: PLINK 1.9, PLINK 2.0
- Technical support forum: https://groups.google.com/g/plink2-users
- Main methods paper: Second-generation PLINK (GigaScience, 2015)
Which version?
PLINK 1.9 (1.9/) can typically be used as a drop-in replacement for
PLINK 1.07 that scales to much larger datasets. It works with the .bed/.bim/.fam
fileset. It left beta with the 1.9.0 release in September 2026; a few
rarely-used PLINK 1.07 commands are still absent. Active feature development
for it ended in 2016, and it now receives only bugfixes.
PLINK 2.0 (2.0/) is designed to handle VCF files and dosage data, and is
under active development. Its native format is the .pgen/.pvar/.psam fileset,
which stores dosages, phase and multiallelic variants; it also reads and writes
PLINK 1 filesets. Most features other than multiallelic-dosage support are now
in place. See 2.0/README.md for more details.
Installing
Both versions are available from Homebrew (macOS and Linux):
brew install plink1 # PLINK 1.9, installs `plink`
brew install plink-ng # PLINK 2.0, installs `plink2` and `pgen_compress`
Bioconda packages both as well (conda install -c conda-forge -c bioconda plink plink2), and
BioContainers builds Docker/Singularity images from those packages
(quay.io/biocontainers/plink2, quay.io/biocontainers/plink).
Homebrew and Bioconda track tagged releases. The documentation pages above have the latest builds for Linux, macOS and Windows.
Building from source
PLINK 2.0 needs a C/C++ compiler, zlib and zstd, plus BLAS/LAPACK (Accelerate on macOS; e.g. OpenBLAS on Linux):
cd 2.0/build_dynamic
make -j8
This builds plink2 and pgen_compress. The Makefile header lists the build
options (AVX2, MKL/AOCL, static linking, no LAPACK, ...).
PLINK 1.9:
cd 1.9
make -j8 ZLIB=-lz # macOS
make -j8 ZLIB=-lz BLASFLAGS="-llapack -lopenblas" # Linux
On Debian/Ubuntu, the dependencies are build-essential libopenblas-dev liblapack-dev liblapacke-dev zlib1g-dev libzstd-dev.
Libraries
- C/C++ (
2.0/include/): primarily two LGPL-licensed libraries, pgenlib (reads and writes .pgen files) and plink2_text (fast line reader with gzip/Zstd decompression). The .pgen format is specified in pgen_spec/pgen_spec.pdf. - Python:
pip install pgenlib(2.0/Python). - R:
install.packages("pgenlibr")(CRAN, source in 2.0/pgenlibr).
Tests
2.0/Tests holds a self-contained suite that compares plink2 against plink 1.9
and checks a number of round trips. It needs plink (1.9) on the PATH:
cd 2.0/Tests
./run_tests.sh ../build_dynamic
Branches
| Branch | Contents |
|---|---|
master |
the latest release; moves only when a new version is tagged |
dev |
ongoing development; open pull requests against this branch |
alphaN_patch |
bugfix backports for the alpha N series, from which its patch releases are cut |
A checkout of master builds the same code as the newest prebuilt binary.
New features and fixes land on dev first and reach master with the next
release.
1.9/Tests holds PLINK 1.9 regression tests. They take the PLINK 1.9 build
directory (or use plink from the PATH if it is empty or omitted), and many
use plink2 as a reference:
cd 1.9/Tests
./run_tests.sh .. ../../2.0/build_dynamic
Repository layout
| Directory | Contents |
|---|---|
1.9/ |
PLINK 1.9 |
2.0/ |
PLINK 2.0, with include/ (pgenlib), Python/, pgenlibr/, utils/ and Tests/ |
pgen_spec/ |
.pgen format specification |
License
PLINK 1.9 and PLINK 2.0 are GPLv3 (see 1.9/LICENSE and
2.0/COPYING). The libraries in 2.0/include/ are LGPLv3
(2.0/COPYING.LESSER).
Explorar proyectos relacionados
Cargando…