Skip to main content

gpmap-tools: tools for inference and visualization of complex genotype-phenotype maps

gpmap-tools is a python library containing a suite of tools for inference and visualization of large and complex genotype-phenotype maps for genotypic spaces containing up to several million genotypes.

gpmap-tools is written for Python 3 and is provided under an MIT open source license. The documentation provided here is meant guide users through the basic principles underlying the method as well as explain how to use it for calculating the embedding coordinates and use the functionalities provided for advanced plotting of their own fitness landscapes.

Please do not hesitate to contact us with any questions or suggestions for improvements.

  • For technical assistance or to report bugs, please contact Carlos Martí-Gómez (martigo@cshl.edu)
  • For more general correspondence, please contact David M. McCandlish (mccandlish@cshl.edu)

Installation

Create a new environment and activate it

The library has only been tested with specific versions of the dependent libraries, so we recommend the same to be used to avoid potential incompatibilities.

conda create -n gpmap python=3.8
conda activate gpmap

Users: install from PyPI

pip install gpmap-tools

Developers: from from repository

Download the repository using git and cd into it

git clone https://github.com/cmarti/gpmap-tools.git
cd gpmap_tools
pip install .

Run tests using pytest

pytest test

References

  • Martí-Gómez, C.; Zhou, J.; Chen W.; Kinney J. B.; Mccandlish, D. M. Inference and visualization of complex genotype-phenotype maps. Molecular Biology and Evolution (2026). doi
  • Martí-Gómez, C and McCandlish, DM. Inference of fitness landscapes with heterogenous patterns of epistasis across sites (2026). In preparation.
  • Zhou, J.; McCandlish D. M.; Minimum epistasis interpolation for sequence-function relationships. Nat. Comm. (2020) doi
  • Zhou, J.; Wong, M. S.; Chen, W.; Krainer, A. R.; Kinney J. B.; Mccandlish, D. M. Higher-Order Epistasis and Phenotypic Prediction. PNAS (2022). doi.
  • Chen WC, Zhou J, Sheltzer JM, Kinney JB, McCandlish DM. Field theoretic density estimation for biological sequence space with applications to 5' splice site diversity and aneuploidy in cancer. PNAS (2021). doi
  • Mccandlish, D. M. Visualizing fitness landscapes. Evolution (2011). doi

Metadata

Release files for gpmap-tools 0.4.2

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

Source distribution (sdist)

Source distribution for gpmap-tools 0.4.2
File Size Uploaded Provenance Actions
gpmap_tools-0.4.2.tar.gz 87.0 MB Without provenance Details for gpmap_tools-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gpmap-tools 0.4.2
File Interpreter ABI Platform Actions
gpmap_tools-0.4.2-py3-none-any.whl Python 3 none any Details for gpmap_tools-0.4.2-py3-none-any.whl

Total release size: 174.0 MB

Release files / gpmap_tools-0.4.2.tar.gz

Download URL gpmap_tools-0.4.2.tar.gz
Size 87.0 MB
Tags Source
SHA-256 checksum
How to use checksums
42f090317f1ba1354fa638a62de67da59a7e79357719e6e6b05b06279db9a1c1
BLAKE2b-256 checksum
How to use checksums
f223e06946b7e124258b9c41a65318191a2aee61620c3037404e05531d7af42d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / gpmap_tools-0.4.2-py3-none-any.whl

Download URL gpmap_tools-0.4.2-py3-none-any.whl
Size 87.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
12d67d2195bf1f58e25c38a94f5b8d4918354927b483072db8538b75ca3b2b97
BLAKE2b-256 checksum
How to use checksums
0b772539011995c383fa7cc28cf5e450f6c3a04794c8ba7f1954ce10ca40e521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Security for gpmap-tools 0.4.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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