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.
Metadata
Release files for IGLabel 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iglabel-0.0.7.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iglabel-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / iglabel-0.0.7.tar.gz
| Download URL | iglabel-0.0.7.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
447bfbb7630186457ec14fbb1e653d07e43fa9d643f07c04ef8127f0c9f6710d
|
|
BLAKE2b-256 checksum How to use checksums |
093afdbd2fe539af36ba84392f5931939301b2bc78622072cf31bc55781a5a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|
Release files / iglabel-0.0.7-py3-none-any.whl
| Download URL | iglabel-0.0.7-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ea9f180a0e2ff80e53f730b2ffdc291ff2e97fa8586b4111ce4429b44e9913e
|
|
BLAKE2b-256 checksum How to use checksums |
32fc92e5d4588dc52d2628f50bac6ed3c2e60c06dcaaaa0abcf92f01b17eed67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|