/snpknock-python

Python package to generate knockoffs for hidden Markov models and genetic data.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

SNPknock

SNPknock is a simple Python package for creating knockoffs of hidden Markov models and genetic data.

This package implements the algorithms described in the following papers:

Feature highlights:

  • Generate knockoffs for discrete Markov chains (DMC).
  • Generate knockoffs for hidden Markov models (HMM).
  • Generate knockoffs for genotype and haplotype data.
  • Provides a user-friendly interface for fitting an HMM to genetic data using the software fastPhase.

If you want to learn about applying SNPknock to analyze data from large genome-wide association studies, see KnockoffZoom: https://msesia.github.io/knockoffzoom

Released under the GPL-v3 license - see the file LICENSE in the source distribution.