Skip to main content

This package will give you an easy way to label your sequences according to common standards in immunology.

Project description

IGLabel

This package provides and easy way to label your IG and T-cell receptor sequences according to the IMGT standard.

Installation

pip install iglabel

Usage

from iglabel import *

label_dict, position_dict = IMGT(["CASSLGTGELFF"], ["CDR3"])

INPUTS

  • sequences: A list of sequences for which you want to obtain the IMGT labels.
  • regions: A list of regions in the same order as the sequences to receive the right labelling. Possible regions are: FR1, CDR1, FR2, CDR2, FR3, CDR3, FR4.
  • save: If True, a txt document will be saved in the current directory. If False, no document will be saved.

RETURN

  • label_dict: Contains the sequences per region as keys and the corresponding IMGT labels as values.

  • position_dict: Contains the IMGT labels as keys and the positions from n-lengthsequence as values.

  • A txt document which visualizes the sequence with the corresponding IMGT label.

Example: Multiple Sequences

You can parse multiple sequences at once if you want:

label_dict, position_dict = IMGT(["CASSLGTG", "CASSLGTGELFF"], ["CDR2", "CDR3"], save = False)

Citation

If you use this package, please cite the following paper:

Lefranc MP, Pommié C, Ruiz M, Giudicelli V, Foulquier E, Truong L, Thouvenin-Contet V, Lefranc G. IMGT unique numbering for immunoglobulin and T cell receptor variable domains and Ig superfamily V-like domains. Dev Comp Immunol. 2003 Jan;27(1):55-77. doi: 10.1016/s0145-305x(02)00039-3. PMID: 12477501.

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

iglabel-0.0.7.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

iglabel-0.0.7-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file iglabel-0.0.7.tar.gz.

File metadata

  • Download URL: iglabel-0.0.7.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for iglabel-0.0.7.tar.gz
Algorithm Hash digest
SHA256 447bfbb7630186457ec14fbb1e653d07e43fa9d643f07c04ef8127f0c9f6710d
MD5 7e61bf859cfd139a788ad3982260eda9
BLAKE2b-256 093afdbd2fe539af36ba84392f5931939301b2bc78622072cf31bc55781a5a50

See more details on using hashes here.

File details

Details for the file iglabel-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: iglabel-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for iglabel-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9ea9f180a0e2ff80e53f730b2ffdc291ff2e97fa8586b4111ce4429b44e9913e
MD5 d7aefbd90c5076ceaaf46a0ec97d97d5
BLAKE2b-256 32fc92e5d4588dc52d2628f50bac6ed3c2e60c06dcaaaa0abcf92f01b17eed67

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page