Skip to main content

Python library for immune repertoire analyses

Project description

License Latest release Build Status Documentation Status DOI

Pyrepseq: the immune repertoire analysis toolkit

Pyrepseq is scipy & seaborn for studying adaptive immunity: modular implementations of algorithms for fast analyses, and bespoke plotting functions for compelling visualizations.

Documentation and examples

You can find API documentation on readthedocs. You can also create a local copy of the API documentation by running:

make html

in the docs folder.

There are jupyter notebooks illustrating some of the functionality in the 'examples' folder. You can also find usage examples by looking at the code underlying our recent paper Mayer Callan PNAS 2023.

Installation

The quickest way to install Pyrepseq is via pip:

pip install pyrepseq[full]

This will install pyrepseq with all optional dependencies. Depending on whether dependencies are already installed this might take a few minutes. You can also install the leading edge development version using:

pip install git+https://github.com/andim/pyrepseq

As the TCRdist dependency on parasail is known to cause installation issues on Mac OSX, pyrepseq can also be installed without this dependency by running:

pip install pyrepseq

In this case some functionality will not be available. To allow installation to proceed on mac you might have to manually install build tools using:

brew install autoconf automake libtool

Pyrepseq can also be installed from its Github source, by running:

python setup.py install

in the main directory.

Support and contributing

For bug reports and enhancement requests use the Github issue tool, or (even better!) open a pull request with relevant changes. If you have any questions don't hesitate to contact us by email (andimscience@gmail.com) or Twitter (@andimscience).

You can run the testsuite by running pytest in the top-level directory. Dependencies for generating testing and generating local versions of the documentation can be installed using:

pip install pyrepseq[dev]

You are cordially invited to contribute to the further development of pyrepseq!

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

pyrepseq-1.5.2.tar.gz (55.7 kB view details)

Uploaded Source

Built Distribution

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

pyrepseq-1.5.2-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

File details

Details for the file pyrepseq-1.5.2.tar.gz.

File metadata

  • Download URL: pyrepseq-1.5.2.tar.gz
  • Upload date:
  • Size: 55.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for pyrepseq-1.5.2.tar.gz
Algorithm Hash digest
SHA256 ea04ffb7ac0bbe59b7267171f57878d387b590afda8b4a879a01925f6a4fe104
MD5 ec16057a1ec351146944ad88b03434ee
BLAKE2b-256 c85043f38f503615717862edf5f679f1651128e513040601570f89975c385bce

See more details on using hashes here.

File details

Details for the file pyrepseq-1.5.2-py3-none-any.whl.

File metadata

  • Download URL: pyrepseq-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 55.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for pyrepseq-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3fa1685ec2322146b7fe8760c114691f37bd7dac180a9a45e57a597ed29aa49
MD5 8ddc8ac1ad14edd9848cb88a51da18f5
BLAKE2b-256 68d6f0081c67d4d6c2e65399131e4ed860a1f7452a1132e8c8f7bcc99e89abbe

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