-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
# lshmm | ||
code to run Li and Stephens | ||
This is a Python library for prototyping and testing implementations of algorithms using the Li & Stephens (2003) HMM. | ||
|
||
## Usage | ||
|
||
### Inputs | ||
Reference panel contains sample and/or (partial) ancestral haplotypes. | ||
|
||
### Demo | ||
Forwards algorithm | ||
Backwards algorithm | ||
Viterbi algorithm | ||
Log-likelihood evaluation of a copying path | ||
|
||
### Features | ||
* Scaling of mutation rate by the number of distinct alleles per site. | ||
* Non-copiable allelic state in the reference panel (`NONCOPY`). | ||
* Missing allelic state in the query (`MISSING`). | ||
* Multiallelic sites. |