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
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1531, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 127, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1405, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 982, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 786, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, 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 948, 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 1393, 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 1571, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

cif.gz
unknown
__key__
string
__url__
string
"ZGF0YV9BRi1BMEEwMjFXVzMyLUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyMVdXMzItRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A021WW32-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjFXWkE0LUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyMVdaQTQtRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A021WZA4-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNGQlc0LUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0ZCVzQtRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023FBW4-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNGQlc3LUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0ZCVzctRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023FBW7-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNGRjgxLUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0ZGODEtRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023FF81-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNGRkI1LUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0ZGQjUtRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023FFB5-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNGVDQ1LUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0ZUNDUtRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023FT45-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNHNkI2LUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0c2QjYtRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023G6B6-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNHOU45LUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0c5TjktRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023G9N9-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
"ZGF0YV9BRi1BMEEwMjNHUEozLUYxCiMKX2VudHJ5LmlkIEFGLUEwQTAyM0dQSjMtRjEKIwpsb29wXwpfYXRvbV90eXBlLnN5bWJ(...TRUNCATED)
shard_0/AF-A0A023GPJ3-F1-model_v4
"hf://datasets/wanglab/bioreason-pro-structures@a3278f85718b342bddbf9877809f161a10607945/af_shards/s(...TRUNCATED)
End of preview.

🧬 BioReason-Pro
Advancing Protein Function Prediction with
Multimodal Biological Reasoning

bioRxiv GitHub Website HuggingFace


BioReason-Pro Protein Structures

AlphaFold backbone structures for the proteins in the BioReason-Pro training and evaluation sets. BioReason-Pro feeds these coordinates to its ESM3 encoder alongside the amino-acid sequence; ESM3 falls back to sequence-only when a structure is absent, so these are optional — but the released checkpoint was trained with them.

Covers 131,838 structures — every structure_path referenced by bioreason-pro-sft-reasoning-data, bioreason-pro-test-data, and the full 133,492-protein superset.

Usage

Do not download this repository by hand. The helper script in the code repo reconstructs the exact directory layout the training and evaluation scripts expect:

git clone https://github.com/bowang-lab/BioReason-Pro.git && cd BioReason-Pro
pip install -e .

python scripts/download_assets.py --dest /data/bioreason
# -> /data/bioreason/structures       (pass as STRUCTURE_DIR)
# -> /data/bioreason/go_embeddings

python scripts/download_assets.py --dest /data/bioreason --verify

The download is resumable and parallel; ~34 GB over the wire, ~60 GB on disk.

Layout

Path Contents
af_shards/ 35 shards, AlphaFold models for the CAFA5-derived proteins
af_shards_extra/ 39 shards, additional AlphaFold models
interlabel_shards/ 1 shard, structures for the InterLabelGO test set

Each shard is a .tar.gz of gzipped mmCIF files (AF-<accession>-F1-model_v4.cif.gz).

Note: the datasets reference the decompressed filename (AF-<accession>-F1-model_v4.cif). download_assets.py gunzips on extraction. If you unpack the shards yourself and leave the .gz extension in place, every structure lookup fails silently — training falls back to empty coordinates with no error. Run --verify to confirm coverage.

Source

Structures are from the AlphaFold Protein Structure Database (Jumper et al. 2021, Varadi et al. 2024), redistributed under CC-BY-4.0.

Citation

If you find this work useful, please cite our papers:

@article {Fallahpour2026.03.19.712954,
    author = {Fallahpour, Adibvafa and Seyed-Ahmadi, Arman and Idehpour, Parsa and Ibrahim, Omar and Gupta, Purav and Naimer, Jack and Zhu, Kevin and Shah, Arnav and Ma, Shihao and Adduri, Abhinav and G{\"u}loglu, Talu and Liu, Nuo and Cui, Haotian and Jain, Arihant and de Castro, Max and Fallahpour, Amirfaham and Cembellin-Prieto, Antonio and Stiles, John S. and Nem{\v c}ko, Filip and Nevue, Alexander A. and Moon, Hyungseok C. and Sosnick, Lucas and Markham, Olivia and Duan, Haonan and Lee, Michelle Y. Y. and Salvador, Andrea F. M. and Maddison, Chris J. and Thaiss, Christoph A. and Ricci-Tam, Chiara and Plosky, Brian S. and Burke, Dave P. and Hsu, Patrick D. and Goodarzi, Hani and Wang, Bo},
    title = {BioReason-Pro: Advancing Protein Function Prediction with Multimodal Biological Reasoning},
    elocation-id = {2026.03.19.712954},
    year = {2026},
    doi = {10.64898/2026.03.19.712954},
    publisher = {Cold Spring Harbor Laboratory},
    URL = {https://www.biorxiv.org/content/early/2026/03/20/2026.03.19.712954},
    eprint = {https://www.biorxiv.org/content/early/2026/03/20/2026.03.19.712954.full.pdf},
    journal = {bioRxiv}
}

@misc{fallahpour2025bioreasonincentivizingmultimodalbiological,
      title={BioReason: Incentivizing Multimodal Biological Reasoning within a DNA-LLM Model}, 
      author={Adibvafa Fallahpour and Andrew Magnuson and Purav Gupta and Shihao Ma and Jack Naimer and Arnav Shah and Haonan Duan and Omar Ibrahim and Hani Goodarzi and Chris J. Maddison and Bo Wang},
      year={2025},
      eprint={2505.23579},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2505.23579}, 
}
Downloads last month
55

Collection including wanglab/bioreason-pro-structures

Paper for wanglab/bioreason-pro-structures