pentalpha/protein_dimension_db

Datasets with embeddings and other representations for all proteins in Uniprot/Swiss-Prot

Python

7

54 commits

updated Oct 13, 2026

See the code

README

🧬🖥 Protein Dimension DB 🖥🧬

Scientific data lake with PLM embeddings, GO annotations and taxonomy representations for all proteins in Uniprot/Swiss-Prot

Current Release

Proteins are sorted by length. All files contain the same sequence of proteins, so the "ids.txt" file can be used as the row names.

Protein Language Model Embeddings 🔢

Several models are used to create computational descriptions of the Swiss-Prot proteins:

NameModel 🤖Vector Length 📏File SizeDownload Links 🔗
emb.prottrans.parquetprottrans_t5_xl_u50 (calculated by Uniprot)10241.3GHF, UFRN
emb.ankh_large.parquetankh-large15363.4GHF, UFRN
emb.ankh_base.parquetankh-base7681.7GHF, UFRN
emb.esm2_t36.parquetesm2_t36_3B_UR50D25605.7GHF, UFRN
emb.esm2_t33.parquetesm2_t33_650M_UR50D12802.8GHF, UFRN
emb.esm2_t30.parquetesm2_t30_150M_UR50D6401.4GHF, UFRN
emb.esm2_t12.parquetesm2_t12_35M_UR50D4801GHF, UFRN
emb.esm2_t6.parquetesm2_t6_8M_UR50D320700MHF, UFRN

Uniprot/Swiss-Prot 🔬

NameContentDownload Links 🔗
ids.txtUniprot Accession IDsUFRN
uniprot_sorted.fasta.gzAminoacid sequences of SwissProt proteinsUFRN
taxid.tsvNCBI taxon ID of each proteinUFRN

Protein Annotations 📚

All Gene Ontology annotations of Swiss-Prot proteins, excluding computational, non-traceable and no-data annotations. The full list of ignored evidence codes is available at evi_not_to_use.txt. Annotations have been "expanded upwards": parent terms of existing annotations have been included in these files.

NameContentDownload Links 🔗
go.expanded.tsv.gzMF, BP and CC annotations in simplified GAF formatUFRN
go.experimental.mf.tsv.gzMolecular FunctionsUFRN
go.experimental.bp.tsv.gzBiological ProcessesUFRN
go.experimental.cc.tsv.gzCellular ComponentsUFRN

Taxonomy 🔢

Numerical representations of the NCBI taxon IDs of each protein. Instead of the original NCBI taxonomy tree, we use the custom taxonomy created by taxallnomy project, because it attributes the same number of parent taxa (genus, family, order...) to each species ID.

NameDescriptionVector Length 📏Download Links 🔗
emb.taxa_profile_256.parquetTaxa Proximity [0.0, 1.0] to each one of the 256 most annotated taxa256UFRN
emb.taxa_profile_128.parquetTaxa Proximity [0.0, 1.0] to each one of the 128 most annotated taxa128UFRN
onehot.taxa_256.parquetTaxa One-Hot Encoding256HF, UFRN
onehot.taxa_128.parquetTaxa One-Hot Encoding128HF, UFRN

File Formats 🗃️

FilesFormat Descriptions
ids.txtOne UniprotID per line
taxid.tsvTab-separated table with columns: UniprotID, NCBI Taxon ID
go.expanded.tsv.gzTab-separated table with columns: UniprotID, GO ID, ECO ID, NCBI Taxon ID, GO Ontology Code
go.experimental.*.tsv.gzTab-separated table with columns: UniprotID, GO IDs separated by ','
*.parquetParquet formatted dataset. Has only two columns ('id' and 'emb'). For rows where an embedding could not be defined, a vector of np.NaN is placed.

Create Release

Requirements to generate the datasets from scratch:

  • Nextflow >= 24
  • Mamba package manager
  • Fast and stable internet connection to download original datasets
  • At least 16GB of RAM

Test:

$ mkdir test
$ nextflow run main.nf --mode test --release_dir test

Full release:

$ mkdir <path to generate database at>
$ nextflow run main.nf --mode release --release_dir <path to generate database at>

Citation

Please cite the following work:

Bibtext:

@inproceedings{AlvesSobrinho2025ProteinDimensionDB,
  author       = {Pit{\'{a}}goras de Azevedo Alves Sobrinho and Tetsu Sakamoto and Wilfredo Blanco Figuerola},
  title        = {Protein Dimension DB: A Unified Protein Repository for Representation Learning and Functional Analysis},
  booktitle    = {BioInformatics: 21st Brazilian Congress, X-Meeting 2025, João Pessoa, Brazil, June 3–6, 2025, Proceedings},
  series       = {Lecture Notes in Computer Science},
  volume       = {16037},
  year         = {2025},
  editor       = {Marcio Dorn and Fabricio Martins Lopes},
  publisher    = {Springer Cham},
  isbn         = {978-3-032-09335-6},
  eisbn        = {978-3-032-09336-3},
  address      = {Cham, Switzerland}
}

APA reference:

Alves Sobrinho, P. de A., Sakamoto, T., & Blanco Figuerola, W. (2025). Protein Dimension DB: A unified protein repository for representation learning and functional analysis. BioInformatics: 21st Brazilian Congress, X-Meeting 2025, João Pessoa, Brazil, June 3–6, 2025, Proceedings (Lecture Notes in Computer Science, Vol. 16037). Springer Cham.

bioinformatics
bioinformatics-databases
dataset-generation
gene-ontology
plm
plm-automation
protein
protein-function
protein-language-model
protein-sequences

pentalpha/protein_dimension_db

Datasets with embeddings and other representations for all proteins in Uniprot/Swiss-Prot

Python

7

54 commits

updated Oct 13, 2026

See the code

README

🧬🖥 Protein Dimension DB 🖥🧬

Scientific data lake with PLM embeddings, GO annotations and taxonomy representations for all proteins in Uniprot/Swiss-Prot

Current Release

Proteins are sorted by length. All files contain the same sequence of proteins, so the "ids.txt" file can be used as the row names.

Protein Language Model Embeddings 🔢

Several models are used to create computational descriptions of the Swiss-Prot proteins:

NameModel 🤖Vector Length 📏File SizeDownload Links 🔗
emb.prottrans.parquetprottrans_t5_xl_u50 (calculated by Uniprot)10241.3GHF, UFRN
emb.ankh_large.parquetankh-large15363.4GHF, UFRN
emb.ankh_base.parquetankh-base7681.7GHF, UFRN
emb.esm2_t36.parquetesm2_t36_3B_UR50D25605.7GHF, UFRN
emb.esm2_t33.parquetesm2_t33_650M_UR50D12802.8GHF, UFRN
emb.esm2_t30.parquetesm2_t30_150M_UR50D6401.4GHF, UFRN
emb.esm2_t12.parquetesm2_t12_35M_UR50D4801GHF, UFRN
emb.esm2_t6.parquetesm2_t6_8M_UR50D320700MHF, UFRN

Uniprot/Swiss-Prot 🔬

NameContentDownload Links 🔗
ids.txtUniprot Accession IDsUFRN
uniprot_sorted.fasta.gzAminoacid sequences of SwissProt proteinsUFRN
taxid.tsvNCBI taxon ID of each proteinUFRN

Protein Annotations 📚

All Gene Ontology annotations of Swiss-Prot proteins, excluding computational, non-traceable and no-data annotations. The full list of ignored evidence codes is available at evi_not_to_use.txt. Annotations have been "expanded upwards": parent terms of existing annotations have been included in these files.

NameContentDownload Links 🔗
go.expanded.tsv.gzMF, BP and CC annotations in simplified GAF formatUFRN
go.experimental.mf.tsv.gzMolecular FunctionsUFRN
go.experimental.bp.tsv.gzBiological ProcessesUFRN
go.experimental.cc.tsv.gzCellular ComponentsUFRN

Taxonomy 🔢

Numerical representations of the NCBI taxon IDs of each protein. Instead of the original NCBI taxonomy tree, we use the custom taxonomy created by taxallnomy project, because it attributes the same number of parent taxa (genus, family, order...) to each species ID.

NameDescriptionVector Length 📏Download Links 🔗
emb.taxa_profile_256.parquetTaxa Proximity [0.0, 1.0] to each one of the 256 most annotated taxa256UFRN
emb.taxa_profile_128.parquetTaxa Proximity [0.0, 1.0] to each one of the 128 most annotated taxa128UFRN
onehot.taxa_256.parquetTaxa One-Hot Encoding256HF, UFRN
onehot.taxa_128.parquetTaxa One-Hot Encoding128HF, UFRN

File Formats 🗃️

FilesFormat Descriptions
ids.txtOne UniprotID per line
taxid.tsvTab-separated table with columns: UniprotID, NCBI Taxon ID
go.expanded.tsv.gzTab-separated table with columns: UniprotID, GO ID, ECO ID, NCBI Taxon ID, GO Ontology Code
go.experimental.*.tsv.gzTab-separated table with columns: UniprotID, GO IDs separated by ','
*.parquetParquet formatted dataset. Has only two columns ('id' and 'emb'). For rows where an embedding could not be defined, a vector of np.NaN is placed.

Create Release

Requirements to generate the datasets from scratch:

  • Nextflow >= 24
  • Mamba package manager
  • Fast and stable internet connection to download original datasets
  • At least 16GB of RAM

Test:

$ mkdir test
$ nextflow run main.nf --mode test --release_dir test

Full release:

$ mkdir <path to generate database at>
$ nextflow run main.nf --mode release --release_dir <path to generate database at>

Citation

Please cite the following work:

Bibtext:

@inproceedings{AlvesSobrinho2025ProteinDimensionDB,
  author       = {Pit{\'{a}}goras de Azevedo Alves Sobrinho and Tetsu Sakamoto and Wilfredo Blanco Figuerola},
  title        = {Protein Dimension DB: A Unified Protein Repository for Representation Learning and Functional Analysis},
  booktitle    = {BioInformatics: 21st Brazilian Congress, X-Meeting 2025, João Pessoa, Brazil, June 3–6, 2025, Proceedings},
  series       = {Lecture Notes in Computer Science},
  volume       = {16037},
  year         = {2025},
  editor       = {Marcio Dorn and Fabricio Martins Lopes},
  publisher    = {Springer Cham},
  isbn         = {978-3-032-09335-6},
  eisbn        = {978-3-032-09336-3},
  address      = {Cham, Switzerland}
}

APA reference:

Alves Sobrinho, P. de A., Sakamoto, T., & Blanco Figuerola, W. (2025). Protein Dimension DB: A unified protein repository for representation learning and functional analysis. BioInformatics: 21st Brazilian Congress, X-Meeting 2025, João Pessoa, Brazil, June 3–6, 2025, Proceedings (Lecture Notes in Computer Science, Vol. 16037). Springer Cham.

bioinformatics
bioinformatics-databases
dataset-generation
gene-ontology
plm
plm-automation
protein
protein-function
protein-language-model
protein-sequences