Skip to main content

Forward-time population genetic simulation in Python

Project description

This is the README for fwdpy11, which is a Python package for forward-time population genetic simulation. It uses fwdpp as its C++ back-end.

Build status

Main:

https://github.com/molpopgen/fwdpy11/workflows/Tests/badge.svg?branch=main https://github.com/molpopgen/fwdpy11/workflows/UbuntuStressTest/badge.svg?branch=main

Development:

https://github.com/molpopgen/fwdpy11/workflows/Tests/badge.svg?branch=dev https://github.com/molpopgen/fwdpy11/workflows/UbuntuStressTest/badge.svg?branch=dev

Conda status

https://anaconda.org/bioconda/fwdpy11/badges/version.svg https://anaconda.org/bioconda/fwdpy11/badges/platforms.svg

Miscellaneous

Python code style:

https://img.shields.io/badge/code%20style-black-000000.svg

Features

  • Pickle-able population objects

  • Parallel computation via multiprocessing or concurrent.futures.

  • Custom temporal samplers to analyze populations during a simulation may be written in pure Python.

  • Flexible interface for simulating models with multiple populations.

Documentation

The manual can be found here.

License

GPLv3 or later (See COPYING)

Supported Python version

fwdpy11 is written for Python 3. We will not modify the package to be compatible with Python 2.7.

Dependencies and installation

These topics are covered in the user manual:

Citation

If you use this software for research, please cite the following publications:

  • Kevin R Thornton. Polygenic adaptation to an environmental shift: temporal dynamics of variation under gaussian stabilizing selection and additive effects on a single trait. Genetics, 213(4):1513–1530, December 2019.

  • Kevin R Thornton. A c++ template library for efficient forward-time population genetic simulation of large populations. Genetics, 198(1):157–166, September 2014.

This software was developed for the first paper. The second paper describes a key part of this software’s back end.

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

fwdpy11-0.24.5.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fwdpy11-0.24.5-cp313-cp313-manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

fwdpy11-0.24.5-cp313-cp313-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fwdpy11-0.24.5-cp313-cp313-macosx_10_13_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

fwdpy11-0.24.5-cp312-cp312-manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

fwdpy11-0.24.5-cp312-cp312-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

fwdpy11-0.24.5-cp312-cp312-macosx_10_13_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

fwdpy11-0.24.5-cp311-cp311-manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

fwdpy11-0.24.5-cp310-cp310-manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file fwdpy11-0.24.5.tar.gz.

File metadata

  • Download URL: fwdpy11-0.24.5.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fwdpy11-0.24.5.tar.gz
Algorithm Hash digest
SHA256 cc427619d56e792e75e71e664c5905af9975bb146a1cc4b4e0bae0b467321940
MD5 de0d37c19efa64fa14e487602bdff070
BLAKE2b-256 68e31ea2cef37773a00759c72eb3732e59dcbea2ae83d363a03833d2dbe0b678

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a64faf84bd372232343afb83946d58714b1f8c44a1a5d93e2230793758c1ba2d
MD5 fed69451129338230ebabc3a24970b70
BLAKE2b-256 1f477089612a3ed15ac59ffa9a8ae3bb6d3fa087f279af7d17c480aa7b7a230d

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 30e13d0fa99837d6074fe2912bac3912db5d4188e4da836cb8b7c22ebfc96404
MD5 16296e4402a5219982ee861b66a0e2ab
BLAKE2b-256 5904d4c0c67657100c9eaf0c38f92a9dd8cb6c01fe1320ef5157f001dfd43c95

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 65c802b99ae54ed67d0334ec494f0f1ae5e1862d9b1faa616473bc3d14b460e6
MD5 3d9b491a8d70b6f543bd05caf4aa1bc6
BLAKE2b-256 6b9a18cd02f771370f04eba4296b1d8207283b4ccfc77ef2425b9f99634278f1

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d2174d2307b83a4709bffcafd97bb8bc2289bb4b653ba87ae7133ecee7b31391
MD5 5d822c441cf6fd19a3d23c32373f3c81
BLAKE2b-256 ff2ead3bacccf23ba520c3b87c8edd405ce280bf47933be5232fa32c99eae2e1

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8cd9e809a2999133a493f5a0416d022c5de7ad9e817327278828e04b43b5fd97
MD5 9baf1a737982f8406923e968a63f7e13
BLAKE2b-256 518202c8dcfbe2bb4a1015770a9d3fbe97e22dfc99ed4c2c51c4af63391f9a31

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5eacc96fc0ea11ffa36f14c4275768f5da10ad37aa36402a0c4887a528202622
MD5 72294ba07eab7cb01fff4bed72e1a326
BLAKE2b-256 85f732b00438615b888520ba3804281d54ee541ff582f5525c818a45cbb007af

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b0c714addb60a7e89c5320836502305fe72cd534c65f3b993b4b55758ecb8c12
MD5 23f6c8889b2b8d2ae05b19880366db8a
BLAKE2b-256 88c5f1afdacca405230a1870735b5da78bc572b6b88fc3db650a30130ad95a15

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.5-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.5-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7446d726a111c812f10be852b8a136ea3ec037e6a8ea92ba7aa0dc07becfff6c
MD5 ed21078d0aa18307a58b024288aa5b26
BLAKE2b-256 8ea454bd65d82ab88270c5bdf2d20d49dcb3a495ff2021239ca971668e36fe42

See more details on using hashes here.

Supported by

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