Skip to main content

PyPI Api Docs Continuous integration GitHub issues License

Boolean Attractor Landscape Mapper (biobalm)

biobalm is a Python library for exploring the attractor landscape of large-scale Boolean networks with hundreds or thousands of variables. It combines symbolic (BDD) and automated (ASP) reasoning to efficiently construct a succession diagram of a Boolean network: an inclusion-based acyclic graph of the network's trap spaces. biobalm can then use this succession diagram to accelerate attractor search and infer control strategies for target trap spaces.

biobalm is accompanied by an analysis artefact that benchmarks it against pystablemotifs, mts-nfvs and aeon.py. The artefact also compares the succession diagrams generated by published biological Boolean networks to random network ensembles and finds significant differences in structure. The artefact is available at Zenodo and Github.

Installation

biobalm is on PyPI:

pip install biobalm

The base installation should enable all core functionalities (generate succession diagrams and control strategies, find attractor seeds states and attractor sets). Optionally, you can also use pint during attractor identification as a static analysis step:

  • Native binaries of pint can be obtained here.

You can also install the latest version of biobalm directly from github:

pip install git+https://github.com/jcrozum/biobalm.git@main

Referencing biobalm

biobalm is on bioRxiv:

@article {biobalm,
	author = {Trinh, Van-Giang and Park, Kyu Hyong and Pastva, Samuel and Rozum, Jordan C},
	title = {Mapping the attractor landscape of Boolean networks},
	elocation-id = {2024.09.30.615897},
	year = {2024},
	doi = {10.1101/2024.09.30.615897},
	publisher = {Cold Spring Harbor Laboratory},
	URL = {https://www.biorxiv.org/content/early/2024/10/02/2024.09.30.615897},
	eprint = {https://www.biorxiv.org/content/early/2024/10/02/2024.09.30.615897.full.pdf},
	journal = {bioRxiv}
}

Using biobalm

To learn more about how biobalm functions, API documentation is available online. You can also explore the analysis artefact mentioned above for more in-depth examples of biobalm usage.

Usage examples are also available in the example directory. First, a simple usage example is provided in Jupyter notebook example/tutorial.ipynb. You can also run python3 example/attractors.py PATH_TO_NETWORK to compute all attractor seeds of a Boolean network. This scripts demonstrates basic configuration options for the attractor detection process (limits the succession diagram size and shows how to deal with succession diagrams that exceed this node limit).

Metadata

Release files for biobalm 0.4.3

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

Source distribution (sdist)

Source distribution for biobalm 0.4.3
File Size Uploaded Provenance Actions
biobalm-0.4.3.tar.gz 67.6 kB With provenance Details for biobalm-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for biobalm 0.4.3
File Interpreter ABI Platform Actions
biobalm-0.4.3-py3-none-any.whl Python 3 none any Details for biobalm-0.4.3-py3-none-any.whl

Total release size: 147.0 kB

Release files / biobalm-0.4.3.tar.gz

Download URL biobalm-0.4.3.tar.gz
Size 67.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e892bfd90f1deac3380e03edd22319e45454b07b3f2718a9dfa62f74e74ac34b
BLAKE2b-256 checksum
How to use checksums
9aed2be82f83e03d38597016b69ad39b43eca904afd1bfdb5faab0288936049b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.

Transparency log

Release files / biobalm-0.4.3-py3-none-any.whl

Download URL biobalm-0.4.3-py3-none-any.whl
Size 79.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
680c63267624289bb94962dde03ea9f35e3e8a07d9fdc5d264b6c97840441c3e
BLAKE2b-256 checksum
How to use checksums
487f863b59813e2cf52473e5d123aa04684d5f75c59d8b85b03e48f5fd4f98f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.

Transparency log

Security for biobalm 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for biobalm-0.4.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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