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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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