A package to estimate dispersal rates and locate genetic ancestors from tree sequences
Project description
sparg s parg sparg s parg sparg
spa rg sp ar sp ar spa sp ar
spa gs pa gs pa rg gs pa
rgsp rgspar rg sp sp rg sp
arg gs ar gs ar argspa
sp arg pa pa rg gs rg
sparg rg spar g parg sparg
Estimating dispersal rates and locating genetic ancestors with genome-wide genealogies
This is the software. For the paper, see https://github.com/mmosmond/sparg-ms.
Installation
Using python3 you can install from PyPi from the command line
pip install sparg
See tutorial/tutorial.ipynb for a demo on how to use.
Acknowledgements
Some code for importance sampling adapted from https://github.com/35ajstern/palm. Logo inspired by concrete poetry of bpNichol.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sparg-1.0.1.tar.gz
(28.8 kB
view details)
Built Distribution
sparg-1.0.1-py3-none-any.whl
(31.7 kB
view details)
File details
Details for the file sparg-1.0.1.tar.gz
.
File metadata
- Download URL: sparg-1.0.1.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8d479a7cd9836c0f0060715c6f9923f070c3da8cb1f0eb3d2cc5361ca0d7f7c |
|
MD5 | 600bd86ec69331c98a72150d4f797fcd |
|
BLAKE2b-256 | e1f5b379c2121cab4929025f9d2222f89a25005e1dab0b6bcbb129b6f3a2e603 |
File details
Details for the file sparg-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: sparg-1.0.1-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b66815ebe079f7640cafaa6bc9235aa4cd2b0f15304c585149bd4f85be4d67d |
|
MD5 | f6dad8d43958ddecfad67a81b3dfd97e |
|
BLAKE2b-256 | 884dbf9ad6b89a58d418a518e5aad534b3caa1e133eaed2f2ba2ddb36c8cfd3f |