Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

sparg-1.0.1-py3-none-any.whl (31.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page