Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'sample_id'}) and 1 missing columns ({'pdb_id'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xwang112358/BioBlobs-data/venusx_site_fragment/Act/MF50/train_split.csv (at revision 25e2681564067ffcb0d2584e2dc6326170c78e77), ['hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/ec_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/ec_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/go_molecular_function_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/go_molecular_function_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/pfam_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/pfam_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_fam_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_fam_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_sf_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_sf_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/Act/MF50/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/BindI/MF50/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/Evo/MF50/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/Motif/MF50/train_split.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              sample_id: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 398
              to
              {'pdb_id': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'sample_id'}) and 1 missing columns ({'pdb_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xwang112358/BioBlobs-data/venusx_site_fragment/Act/MF50/train_split.csv (at revision 25e2681564067ffcb0d2584e2dc6326170c78e77), ['hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/ec_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/ec_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/go_molecular_function_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/go_molecular_function_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/pfam_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/pfam_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_fam_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_fam_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_sf_proteinshake/sequence/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/scop_sf_proteinshake/structure/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/Act/MF50/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/BindI/MF50/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/Evo/MF50/train_split.csv', 'hf://datasets/xwang112358/BioBlobs-data@25e2681564067ffcb0d2584e2dc6326170c78e77/venusx_site_fragment/Motif/MF50/train_split.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

pdb_id
string
153l
16pk
1a0i
1a17
1a27
1a2b
1a2n
1a39
1a3s
1a41
1a48
1a4v
1a58
1a59
1a5i
1a5p
1a5q
1a5t
1a5x
1a5z
1a63
1a65
1a6f
1a72
1a77
1a7j
1a8d
1a8h
1a8p
1a8q
1a8s
1aaf
1ab4
1abn
1add
1ae4
1aec
1af0
1af5
1agi
1agx
1aim
1aiw
1aj6
1ajz
1akc
1akl
1akn
1ako
1alg
1am2
1am5
1amj
1amk
1apa
1apq
1aps
1ast
1at0
1atr
1ats
1aw5
1aw9
1awj
1awx
1ayd
1aye
1az5
1az6
1azj
1azk
1b02
1b0a
1b0m
1b0x
1b1a
1b1c
1b24
1b2l
1b3v
1b4o
1b4p
1b4t
1b6a
1b6r
1b74
1b7e
1b8s
1b8v
1b92
1b9f
1b9h
1b9i
1ba0
1ba1
1bak
1bam
1bb7
1bbl
1bbw
End of preview.

BioBlobs data

The ProteinShake and VenusX data behind Unsupervised discovery of Functional Substructures (Xin Wang, Kaiwen Shi and Carlos Oliver, NeurIPS 2026), in the layout the BioBlobs code reads. Paper · Code · Model

It holds the protein structures, labels and train, validation and test splits. For VenusX it also holds the paper's ESM2-T30 and SaProt-650M residue embeddings. Build the ProteinShake embeddings with the code, as described below.

Contents

Folder Task Structures Source
ec_proteinshake/ EC-L3, enzyme class 15,603 ProteinShake, RCSB PDB
pfam_proteinshake/ Pfam, protein family 31,109 ProteinShake, RCSB PDB
go_molecular_function_proteinshake/ GO-MF, molecular function 32,633 ProteinShake, RCSB PDB
scop_fam_proteinshake/ SCOP-FAM, SCOP family 10,066 ProteinShake, RCSB PDB
scop_sf_proteinshake/ SCOP-SF, SCOP superfamily 10,066 ProteinShake, RCSB PDB
venusx_site_fragment/{Act,BindI,Evo,Motif}/MF50/ VenusX functional sites 1,743 / 2,038 / 12,776 / 2,368 VenusX, AlphaFold DB

Each ProteinShake task has a sequence and a structure split, which assign clusters of similar sequences or structures (0.7 similarity) to disjoint splits. VenusX uses its Mixed-Family MF-50 split. SCOP-FAM and SCOP-SF share the same structures, which are included in both folders.

The VenusX embeddings are the ones behind the paper's VenusX results. They cover 1,732 / 2,028 / 12,723 / 2,358 proteins of Act / BindI / Evo / Motif. The other 84 proteins have AlphaFold2 structures with residues past the end of their VenusX site annotation, and the paper's embedding build skipped them. The code leaves them out of every split, which gives the paper's test sets of 186 / 203 / 1,291 / 249 samples. The embeddings take 33.0 GB: 11.0 GB for ESM2-T30 and 22.0 GB for SaProt-650M, stored as float16.

<task>_proteinshake/
  pdb.tar.gz                          pdb/<pdb_id>.pdb
  labels.csv, token_maps.json         EC-L3
  targets.jsonl, token_map.json       Pfam, GO-MF, SCOP-FAM, SCOP-SF
  sequence/{train,val,test}_split.csv
  structure/{train,val,test}_split.csv
venusx_site_fragment/<target>/MF50/
  pdb.tar.gz                          pdb/<uniprot_id>.pdb
  samples.csv                         one row per protein and InterPro site
  {train,val,test}_split.csv
  token_maps.json, metadata.json
  esm2_static_cache_mmap/             ESM2-T30 embeddings: embeddings.bin, meta.pt
  saprot_static_cache_mmap/           SaProt-650M embeddings: embeddings.bin, meta.pt

embeddings.bin stacks the per-residue embeddings of all proteins. meta.pt holds the protein names and row offsets and loads with torch.load(..., weights_only=True).

The download is 38.2 GB, of which 33.0 GB are the VenusX embeddings. The structures unpack to 23.6 GB. SHA256SUMS lists a checksum for every file (sha256sum -c SHA256SUMS).

Usage

Download the repository as the code's data/ folder and unpack the structures:

hf download xwang112358/BioBlobs-data --repo-type dataset --local-dir data
# To skip the 33 GB of VenusX embeddings, add --exclude "*_static_cache_mmap/*"
for f in data/*_proteinshake/pdb.tar.gz data/venusx_site_fragment/*/MF50/pdb.tar.gz; do
  tar -xzf "$f" -C "$(dirname "$f")"
done

Then follow docs/REPRODUCE.md in the code repository. The data-preparation scripts find the unpacked files, skip the download and parse the structures. For ProteinShake, then build the ESM2-T30 or SaProt-650M residue embeddings with preprocessing/prepare_plm_cache.py. SaProt also needs Foldseek, which reads the PDB files. VenusX training reads the downloaded embeddings, so skip this step for VenusX.

Licenses

  • ProteinShake files (*_proteinshake/): CC-BY-4.0, as released by ProteinShake. ProteinShake builds these tasks from RCSB PDB structures and their annotations. Its documentation lists the source of each task.
  • VenusX files (venusx_site_fragment/): Apache-2.0, as released by VenusX (AI4Protein/VenusX_Res_*_MF50 and AI4Protein/VenusX_*_AlphaFold2_PDB). The site annotations come from InterPro, and the structures are AlphaFold DB models (CC-BY-4.0).
  • VenusX embeddings (venusx_site_fragment/*/MF50/*_static_cache_mmap/): Apache-2.0, like the VenusX files they are computed from. They are outputs of ESM2-T30 and SaProt-650M, both released under the MIT License.

Citation

If you use this data, please cite BioBlobs and the original datasets.

@inproceedings{wang2026bioblobs,
  title     = {Unsupervised discovery of Functional Substructures},
  author    = {Wang, Xin and Shi, Kaiwen and Oliver, Carlos},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2026}
}

Also cite ProteinShake (Kucera et al., NeurIPS 2023 Datasets and Benchmarks), VenusX (Tan et al., 2025), InterPro and AlphaFold DB. If you use the VenusX embeddings, also cite ESM2 (Lin et al., Science 2023) and SaProt (Su et al., ICLR 2024).

Downloads last month
56

Paper for xwang112358/BioBlobs-data