Skip to main content

simuPOP is a general-purpose individual-based forward-time population genetics simulation environment. Please refer to the simuPOP homepage https://bopeng.github.io/simuPOP/ for details.

Installation

simuPOP is distributed under a GPL3 license. Starting from simuPOP 1.1.8, it supports only Python 3 (3.9 and up) on Windows, macOS and Linux systems.

Install from conda-forge

simuPOP is part of the conda-forge. If you use Anaconda Python 3, you can install simuPOP with command

conda install -c conda-forge simuPOP

Install from PyPI

pip install simuPOP

Install from source

If you are working with a development version of simuPOP or an unsupported platform, you can install from source:

git clone https://github.com/BoPeng/simuPOP.git
cd simuPOP
pip install .

Please refer to INSTALL for detailed instructions and platform-specific requirements.

Documentation

The user guide and reference manual of simuPOP is available at http://bopeng.github.io/simuPOP/. simuPOP is also introduced in the following two books:

  1. Forward-Time Population Genetics Simulations: Methods, Implementation, and Applications by Bo Peng, Marek Kimmel and Christopher I Amos, published by Wiley & Sons Inc, and available at Amazon and other bookstores.
  2. Bioinformatics with Python Cookbook by Tiago Antao, available at Amazon

Change Log since 1.1.7

simuPOP 1.1.18

  • Modernize build system: migrate from setup.py to CMake + scikit-build-core (PEP 517 compliant)
  • Add multi-platform CI testing (Linux, macOS, Windows)
  • Move simuOpt module into the simuPOP package. Use from simuPOP.simuOpt import setOptions instead of from simuOpt import setOptions. The old import path still works but is deprecated.

simuPOP 1.1.17

  • Fix compatibility with Python 3.13 and latest version of Xcode on mac.

simuPOP 1.1.16

  • #103 Fix compatibility with recent compilers with c++17 support, and fix conda-forge release.

simuPOP 1.1.15

  • #122 Fix compatibility with Visual Studio 2022 under windows.

simuPOP 1.1.14

  • #114 Fix compatibility with Python 3.11.

simuPOP 1.1.13

  • #114 Allow negative weight of a heterogeneous mating scheme to generate less individuals than calculated.

simuPOP 1.1.12

  • #102: Fix compatibility issues with Python 3.11
  • #98: Write banner messaged to stderr insted of stdout

simuPOP 1.1.11

  • #94: Fix HeteroMating when being used in a ConditionalMating mating scheme.
  • #93: Add function form of selection operators such as maSelect (for MapSelector) and mlSelect (for MlSelector).

simuPOP 1.1.10

  • #70: Fix compatibility with Mac OS using libc++ instead of libstdc++.

simuPOP 1.1.9

  • #28: Fix a segmentation fault when providing a non-existent VSP index
  • #31: Allow operator DiscardIf to accept a probability in addition to True/False
  • #35: Add a weightBy parameter to allow HeteroMating to produce offspring subpopulation with weights determined by not only the size of the parental subpopulation, but also by for example number of mating pairs.
  • #49: Fix output of loci positions in MS and other formats.

Metadata

Release files for simuPOP 1.1.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simuPOP 1.1.18
File Size Uploaded
simupop-1.1.18.tar.gz 11.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for simuPOP 1.1.18
File Interpreter ABI Platform
simupop-1.1.18-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details

Total release size: 29.5 MB

Release files / simupop-1.1.18.tar.gz

Download URL simupop-1.1.18.tar.gz
Size 11.0 MB
Tags Source
SHA-256 checksum
How to use checksums
a67cd57d633cc25df8c3ccbb90e0ab721be85449ef824c3da2567ab2c5c63a49
BLAKE2b-256 checksum
How to use checksums
54a34388735d68e25a85ecf12f421cee859348d7ce69e479d99657674179b87f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / simupop-1.1.18-cp313-cp313-macosx_15_0_arm64.whl

Download URL simupop-1.1.18-cp313-cp313-macosx_15_0_arm64.whl
Size 18.5 MB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
2e3948486155a5ff23dad230e833e8d278de6cc232ebff8f7ebebf123693b239
BLAKE2b-256 checksum
How to use checksums
e874f3cc0cb14a3f2deb2780fccf33440e77fdb0d2bc8bee88d11905574b896a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

1.1.18 This release

2 release files

1.1.15

3 release files

1.1.14

2 release files

1.1.13

2 release files

1.1.12

2 release files

1.1.11

1 release file

1.1.10

1 release file

1.1.9

1 release file

1.1.8

1 release file

1.1.7.1

1 release file

1.1.7

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.0.0

0.9.7

0.9.4

0.9.4svn

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page