sparg

A package to estimate dispersal rates and locate genetic ancestors from tree sequences


Licenses
GPL-3.0/GPL-3.0+
Install
pip install sparg==1.0.1

Documentation

   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.