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.6.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.6-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.6-cp314-cp314-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

fwdpy11-0.24.6-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.6-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.6.tar.gz.

File metadata

  • Download URL: fwdpy11-0.24.6.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.6.tar.gz
Algorithm Hash digest
SHA256 80ad4c93692d5eb06acb1754d56aca741b7ad8c70db882c81e5c25cb981458fe
MD5 11b1d04fef8c6bd98e64b6827cf2c2b9
BLAKE2b-256 315915a3928ab35db662aa64119105c93e5400bc20cd078a0bbf653cc3acfcf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.6-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 274c28e02086b6f658b6c96856a06f121ede251deaddb53939b943b3a0b6c73b
MD5 5bc6d31dd024eea2087d141923c8102c
BLAKE2b-256 819694f3b3deb9b1c1a7d7abbf8894129206829601d10f34d04e323ab01e7908

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2eb2543d22d97508ccf4fbc4f9e434902563561b39be437f620b5248fb0b01f2
MD5 d0466229d031ca68b261c1fd153c433d
BLAKE2b-256 37b4359a74499567f87323394e5de4328a18c29008cb64efceba2ca5b4492f89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.6-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f043eb4472f23d14caf2057c387f1d9758f10228844a553f29306c6731b2deb
MD5 524b2c638507ac5bf33e427be5c4617c
BLAKE2b-256 dca243a0f98450cd036c9011b4e8740c82bcc0cece0b4f78d28510ff3e01b2f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c5e052bd506f5869d97208750f88e526ffe5038188fdd27ee921d3cbebe51c9c
MD5 d62f2211e4c23dfd3ac233faac1bacc8
BLAKE2b-256 afc858e3ef21e9385c252bae4a53a7f998110f190ed61525ae446115de90aa52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.6-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bf0eafc17f551b473b24b5debdf81d3c9300ec385750d881d6cd8ff616d043d3
MD5 16f975cd51bc2bb70ffe94bbaacbc309
BLAKE2b-256 3eb7e6b5db7063914339425fd05c0bc01b06e60c8b6921da0b7d2e7dcdc75e50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fwdpy11-0.24.6-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4dca277b09f0bceb05a76bc70134e24a08d73ca240a0ac3b41b05d33243a2d64
MD5 b6efcfaa746a742873bcef189461e298
BLAKE2b-256 f160ec2bb6db40608254ca35a254c756290a009c20b80088b2a957735619a524

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