promb: protein mutation burden
Maintained. Last release 3 days ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install prombpromb: protein humanness evaluation toolkit
* █
▄▄▄▄ ▄▄▄ ▄█▄ ▄▄▄▄ █▄▄▄
█ █ █ █▓███ █ █ █ █ █
█▄▄▄▀ █ ▀███▀ █ █ █▄▄▄▀
█
▀ protein mutation burden
# 1 2 3 4 5 6
# CVQLQQSGA VQLQQSGAE QLQQSGAEL LQQSGAELA QQSGAELAR QSGAELARP queries
# QVQLQQSGP VQLMQSGAE QLMQSGAEV LHQSGSELA QQSGSELAL PSAAELARP hits
# ^ ^ ^ ^ + ^ + + ^ ^ ^
Python library for computing protein humanness (or mouse-ness, dog-ness, cow-ness, ...) based on average number of mutations to nearest peptide in a reference proteome (Human SwissProt, human antibody repertoires in OAS, or a custom reference DB).
How does this work? What is protein humanness?
A database of human peptides (or other reference proteome) is loaded in-memory into a big python set for fast lookups.
Near matches are found using an optimized lookup strategy implemented with cdist function in scipy.
Human SwissProt and Human OAS are stored as part of this package. A custom reference DB can be provided as a gzipped fasta or text file.
[!NOTE] More human doesn't always mean "good". Peptides like "GGGGGGGGG" or "EKEKEKEKE" are human but you don't necessarily want your protein to contain those. Make sure to check for sequence entropy, AlphaFold2 confidence, or other quality metrics.
Usage
Try out promb on HuggingFace Spaces: https://huggingface.co/spaces/prihodad/promb-humanness
Install using pip:
pip install promb
Command-line interface
Check which peptides in a sequence are present in the DB (exact match, very fast):
# FASTA file(s)
promb exact -d human-reference -l 9 -o output_matches.csv query.fasta
# PDB file(s)
promb exact -d human-reference -l 9 -o output_matches.csv --chain A ./pdb_directory/
# Output:
# File,ID,Position,Peptide,Found
# test_antibody.fa,Pembrolizumab,1,EIVLTQSPA,True
# test_antibody.fa,Pembrolizumab,2,IVLTQSPAT,True
# test_antibody.fa,Pembrolizumab,3,VLTQSPATL,True