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.7.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.7-cp314-cp314-manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

fwdpy11-0.24.7-cp314-cp314-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

fwdpy11-0.24.7-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.7-cp313-cp313-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fwdpy11-0.24.7-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.7-cp311-cp311-manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

File details

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

File metadata

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

File hashes

Hashes for fwdpy11-0.24.7.tar.gz
Algorithm Hash digest
SHA256 586c1856839bd67df53a5d5cb124b1a3f9a15c2cb6831925497531447ed94522
MD5 346ecec6670270cb3adcd64427e37cbc
BLAKE2b-256 b16b11013ea8c3d957a0590e7fe5f1cb7e089977f0d01b83607b47b13127b54e

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.7-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.7-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5cca0e83edddb3eb3635bd07dc4883f0b6775135fe1abc440a4b028efd63b9a7
MD5 ecdb07d61d31a4b46809ae495fc4d408
BLAKE2b-256 03e471cd1c208e59a096b09ceea6ab75959ce4b0f28cbb690840967a97f7352f

See more details on using hashes here.

File details

Details for the file fwdpy11-0.24.7-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fwdpy11-0.24.7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f19ca3ef6d57d706df553dafd8c841710a726ba7a2fd8de0e4c642cff580d30
MD5 8ac335513165a90de4db750593d8b9e5
BLAKE2b-256 d36d3f246bc2a71e61b2c746535484598f5bfdc29018c3fbe2e5ba1a4dfabf06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.7-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 802f2c3bbe411f9431f14d59b62f0561788c3fa0a6f2d7588e922127c19c66e1
MD5 4ba615df20d0e12b2972f5be3d8486f3
BLAKE2b-256 8e321d0361d41c03839f40f28a1d880e5b61c1cfedd32664385d19a232597982

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 223139d7699457166e709f4b25dc2e594385be9838553b6ddfd05e440f954a01
MD5 2a689c3f6099e17bff778d64fa3a8b69
BLAKE2b-256 7c29a0cafd0e8df4811e79c17ad54e9835395eff96b25106a37d2a6d0f2e973d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.7-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40f171f65c0f0cb45ff0d4ea755d08c7bbac4837e3744ff8f980a30688d2c575
MD5 a9471446034508aca7fed17ee8c6946e
BLAKE2b-256 ad3c3b6f28c6cc2fda434cba0ee7bc10e733cf95f272f18d385c350b00708871

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.7-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0c70ffe2a0efe3cb6ad63e57232f4ff6637ab4164af59b89b4000a4b66f07688
MD5 a8280b2e901f0c56929d40d20bb7d254
BLAKE2b-256 1d67ff39d990e247a79b4b37c87b29f25efaeae8eef629b3a6d948ae5d961f05

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