Skip to main content

IEDB API Tools Python SDK

PyPI version fury.io Build Status codecov

Python SDK for Immune Epitope Database (IEDB) Analysis Tools API. Includes support for the following prediction tools:

  • MHC-I peptide binding:
    • Determine sequence's ability to bind to MHC class I molecule
  • MHC-II peptide binding:
    • Determine sequence's ability to bind to MHC class II molecule
  • T-cell epitope prediction:
    • Use predictors to determine peptide's potential of being a T-cell epitope
  • MHC-Natural Peptide:
    • Assess probability that peptide is naturally processed by the MHC
  • Antibody epitope prediction:
    • Predict B-cell epitopes from protein sequence(s)

View the web application

Installation

Run the following to install:

pip install iedb

Usage

import iedb

# Send POST request to MHC class I peptide binding prediction tool:
mhci_res = iedb.query_mhci_binding(method="recommended", sequence="ARFTGIKTA", allele="HLA-A*02:01", length=8)

# Send POST request to MHC class II peptide binding prediction tool:
mhcii_res = iedb.query_mhcii_binding(method="nn_align", sequence="SLYNTVATLYCVHQRIDV", allele="HLA-DRB1*01:01", length=None)

# Send POST request to T-cell epitope prediction tool:
tcell_res = iedb.query_tcell_epitope(method="smm", sequence="SLYNTVATLYCVHQRIDV", allele="HLA-A*01:01", length=9, proteasome='immuno')

# Send POST request to peptide prediction tool:
pep_res = iedb.query_peptide_prediction(method="mhcnp", sequence="SLYNTVATLYCVHQRIDV", allele="HLA-A*02:01", length=9)

# Send POST request to B-cell epitope prediction tool:
bcell_res = iedb.query_bcell_epitope(method="Emini", sequence="VLSEGEWQLVLHVWAKVEADVAGHGQDILIRLFKSHPETLEKFDRFKHLKTE", window_size=9)

Metadata

Release files for iedb 0.0.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 iedb 0.0.2
File Size Uploaded
iedb-0.0.2.tar.gz 5.9 kB Details

Built distribution (wheel)

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

Total release size: 12.5 kB

Release files / iedb-0.0.2.tar.gz

Download URL iedb-0.0.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
68a858867f528b3bed2f5ef57d9e0f238110da4cedc78871486637f46e293c07
BLAKE2b-256 checksum
How to use checksums
9ded7e224ac70afdeaeda27ad69bb73616b2cb7371772ffb2991debfcfbb4fbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7

Release files / iedb-0.0.2-py3-none-any.whl

Download URL iedb-0.0.2-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09dc57b589d5c99b364170ae4d6fb6c5b4d3197e444db6eda4ffe077d2da09e2
BLAKE2b-256 checksum
How to use checksums
23a59f138c1c820a952b3e38ecb3cc68ccb14c9622d079188ede3601cd6f882d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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