gensep Overview

Quantifying the genetic separability of disease subtypes

Latest release v1.0.0

gensep Overview

gensep implements a liability-threshold framework for case–case subtype discrimination — how well genetics can tell two disease subtypes apart. The central quantity is the genetic separation variance

V_S = λ1² h1² + λ2² h2² − 2 λ1 λ2 rg h1 h2,

built from the two subtypes’ liability-scale SNP heritabilities (h1², h2²), their genetic correlation (rg), and the prevalence-driven selection intensities (λ_i). V_S is large when the subtypes have strong subtype-specific genetic components and small when their genetic effects are largely shared. From V_S, gensep derives the oracle case–case AUC (the maximum achievable AUC if the true genetic values were known) and its leading-order approximation, and the balanced observed-scale case–case heritability h²_cc = V_S / (V_S + 4) — a bounded, AUC-linked summary of genetic separation. Every quantity comes with a standard error.

gensep computes these three interchangeable ways:

gensep is an open-source, statically linked C++17 program with no runtime dependencies (Eigen is header-only and vendored).

User’s Guide: Installation · Tutorial

Citation

Chao Ning, Jasper Hof and Doug Speed. Quantifying the Genetic Separability of Disease Subtypes (in preparation). The heritability and genetic-correlation solvers are a port of SumHer (Speed & Balding, Nature Genetics 2019), implemented in LDAK.

Contact

For questions, open an issue on GitHub or email me at ningchao91@gmail.com

For other tools, see chaoning.github.io/software.html.