Explaining embedding results for scoring alignments
Jupyter Notebook
0
40 commits
updated Apr 17, 2024
The E-Score project focuses on computing Global-regular and Global-end-gap-free alignment between any two protein sequences using their embedding vectors computed by state-of-art pre-trained models.
Instead of a fixed score between two pairs of amino acids(like BLOSUM matrices), the cosine similarity is calculated between the embedding vectors of two amino acids and used as the context-dependent score.
Recommended Python Version: 3.10
Recommended RAM: 24GB
General:
# Virtual Environment Creation
python -m venv venv
source ./venv/bin/activate
# Install Requirements
pip install -r requirements.txt
SageMaker Notebook (Jupyter Lab):
!pip install -r requirements.txt in the Imports code block.| Models | Embedding Dim | Pre-trained on |
|---|---|---|
| ProtT5 | 1024 | UniRef50 |
| ProtBert | 1024 | UniRef100 |
| ProtAlbert | 4096 | UniRef100 |
| ProtXLNet | 1024 | UniRef100 |
| ESM1b | 1280 | UniRef50 |
| ESM2 | 1280 | UniRef50 |
Explaining embedding results for scoring alignments
Jupyter Notebook
0
40 commits
updated Apr 17, 2024
The E-Score project focuses on computing Global-regular and Global-end-gap-free alignment between any two protein sequences using their embedding vectors computed by state-of-art pre-trained models.
Instead of a fixed score between two pairs of amino acids(like BLOSUM matrices), the cosine similarity is calculated between the embedding vectors of two amino acids and used as the context-dependent score.
Recommended Python Version: 3.10
Recommended RAM: 24GB
General:
# Virtual Environment Creation
python -m venv venv
source ./venv/bin/activate
# Install Requirements
pip install -r requirements.txt
SageMaker Notebook (Jupyter Lab):
!pip install -r requirements.txt in the Imports code block.| Models | Embedding Dim | Pre-trained on |
|---|---|---|
| ProtT5 | 1024 | UniRef50 |
| ProtBert | 1024 | UniRef100 |
| ProtAlbert | 4096 | UniRef100 |
| ProtXLNet | 1024 | UniRef100 |
| ESM1b | 1280 | UniRef50 |
| ESM2 | 1280 | UniRef50 |