Skip to main content

Tools for inference and visualization of complex genotype-phenotype maps

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpmap_tools-0.4.1.tar.gz (87.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpmap_tools-0.4.1-py3-none-any.whl (87.0 MB view details)

Uploaded Python 3

File details

Details for the file gpmap_tools-0.4.1.tar.gz.

File metadata

  • Download URL: gpmap_tools-0.4.1.tar.gz
  • Upload date:
  • Size: 87.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for gpmap_tools-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c13e3054bde4b28d9791a76b5967ac1c2c6f5e0296463ffa18a28be4d373c671
MD5 8027ea1f61e7303f603794ec53809704
BLAKE2b-256 678ce037fe165a4cda7afa7d5d3924036a06d1458cb5bfe5543eb2b4f2207cff

See more details on using hashes here.

File details

Details for the file gpmap_tools-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: gpmap_tools-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 87.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for gpmap_tools-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5acd5d792e9a3d2addd303ca440c1fe7260567e5ab9de0363d8bd75a4891db5e
MD5 f7b27c7d24a7ab85871b1174f223b777
BLAKE2b-256 fb57f447d8c6f8a6a899d1746f11c22d69d3b65ec4cb1ea8b49288b8837291ba

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