The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
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 2 new columns ({'stat', 'value'}) and 5 missing columns ({'pos_count', 'pos_prop', 'organism', 'neg_prop', 'neg_count'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Synthyra/ecoli_holdout_ppi_large/plots/ecoli_holdout_st030/train_organism_distribution_stats.csv (at revision 90af6462589dd7045ac3c0b4913d24d919028098), ['hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_organism_distribution.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_organism_distribution_stats.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_seq_length_stats.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_top_org_pairs_neg.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_top_org_pairs_pos.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.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
stat: string
value: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 478
to
{'organism': Value('string'), 'pos_count': Value('int64'), 'neg_count': Value('int64'), 'pos_prop': Value('float64'), 'neg_prop': Value('float64')}
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 1342, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
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 2 new columns ({'stat', 'value'}) and 5 missing columns ({'pos_count', 'pos_prop', 'organism', 'neg_prop', 'neg_count'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Synthyra/ecoli_holdout_ppi_large/plots/ecoli_holdout_st030/train_organism_distribution_stats.csv (at revision 90af6462589dd7045ac3c0b4913d24d919028098), ['hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_organism_distribution.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_organism_distribution_stats.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_seq_length_stats.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_top_org_pairs_neg.csv', 'hf://datasets/Synthyra/ecoli_holdout_ppi_large@90af6462589dd7045ac3c0b4913d24d919028098/plots/ecoli_holdout_st030/train_top_org_pairs_pos.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.
organism string | pos_count int64 | neg_count int64 | pos_prop float64 | neg_prop float64 |
|---|---|---|---|---|
arabidopsis thaliana | 10,308,000 | 10,460,716 | 0.055679 | 0.056504 |
bacillus subtilis 168 | 447,816 | 432,382 | 0.002419 | 0.002336 |
bos taurus | 11,475,370 | 11,455,140 | 0.061985 | 0.061875 |
caenorhabditis elegans | 7,811,090 | 7,819,040 | 0.042192 | 0.042235 |
danio rerio | 11,842,602 | 11,934,316 | 0.063968 | 0.064464 |
drosophila melanogaster | 4,244,098 | 4,248,050 | 0.022925 | 0.022946 |
gallus gallus | 5,791,942 | 5,821,522 | 0.031285 | 0.031445 |
haemophilus influenzae rd kw20 | 17,354 | 16,328 | 0.000094 | 0.000088 |
helicobacter pylori str 26695 | 50,708 | 49,152 | 0.000274 | 0.000265 |
homo sapiens | 11,874,648 | 11,736,904 | 0.064141 | 0.063397 |
klebsiella pneumoniae subsp. pneumoniae | 129,682 | 127,238 | 0.0007 | 0.000687 |
mus musculus | 10,923,110 | 10,929,200 | 0.059002 | 0.059035 |
mycobacterium tuberculosis h37rv | 797,090 | 731,320 | 0.004306 | 0.00395 |
nicotiana tabacum | 57,790,792 | 58,461,202 | 0.31216 | 0.315781 |
onion yellows phytoplasma | 59,706 | 43,474 | 0.000323 | 0.000235 |
phytophthora parasitica inra 310 | 10,996,890 | 10,225,590 | 0.0594 | 0.055234 |
plasmodium falciparum 3d7 | 1,193,294 | 1,084,380 | 0.006446 | 0.005857 |
pseudomonas aeruginosa pao1 | 551,490 | 528,850 | 0.002979 | 0.002857 |
rattus norvegicus | 11,338,120 | 11,322,032 | 0.061243 | 0.061157 |
saccharomyces cerevisiae | 2,223,584 | 2,105,664 | 0.012011 | 0.011374 |
salmonella enterica | 61,732 | 58,972 | 0.000333 | 0.000319 |
solanum lycopersicum | 15,067,290 | 15,222,524 | 0.081387 | 0.082225 |
solanum tuberosum | 9,999,284 | 10,189,440 | 0.054012 | 0.055039 |
staphylococcus argenteus | 136,396 | 128,652 | 0.000737 | 0.000695 |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
Clustered PPI datasets (BIOGRID + STRING) with sequence-disjoint splits
This dataset repo contains multiple dataset variants of protein–protein interactions (PPIs), built by clustering proteins by sequence similarity and then constructing train/valid/test splits that are intended to be disjoint at the protein level (and thus hard to memorize via near-identical sequences).
Artifacts are stored as compressed pickles (*.pkl.gz). A helper downloader exists in this repo:
data_processing/download_ppi_data.py::download_clustered_ppi_data
What’s in each split dataframe?
Each split is a pandas.DataFrame with (at minimum):
- IdA / IdB: protein identifiers
- OrgA / OrgB: organism identifiers (STRING taxon id for STRING datasets; BIOGRID org id for BIOGRID datasets)
- labels:
>0indicates a positive interaction,0indicates a sampled negative
Some variants also include additional columns (e.g. cluster_a, cluster_b, confidences, org_a, org_b).
When negatives are concatenated, some of these columns may be NaN for negative rows.
Dataset variants (index)
A machine-readable index is available at:
tables/dataset_index.csv
| variant | source | threshold | train rows | valid rows | test rows | train pos rate | protein overlap (max) |
|---|---|---|---|---|---|---|---|
ecoli_holdout_st030 |
ecoli_holdout |
st030 |
185132088 | 201460 | 976732 | 0.500 | 0 |
Per-variant deep dive (plots + stats)
Each variant has:
plots/<variant>/...png(rendered below)tables/<variant>/summary.csvandtables/<variant>/schema.csv
ecoli_holdout_st030
Open report
Summary tables
tables/ecoli_holdout_st030/summary.csvtables/ecoli_holdout_st030/schema.csv
Label balance
- train:
plots/ecoli_holdout_st030/train_label_counts.png - valid:
plots/ecoli_holdout_st030/valid_label_counts.png - test:
plots/ecoli_holdout_st030/test_label_counts.png
Organism distributions (positives vs negatives)

- data:
plots/ecoli_holdout_st030/train_organism_distribution.csv - stats:
plots/ecoli_holdout_st030/train_organism_distribution_stats.csv
- data:
plots/ecoli_holdout_st030/valid_organism_distribution.csv - stats:
plots/ecoli_holdout_st030/valid_organism_distribution_stats.csv
- data:
plots/ecoli_holdout_st030/test_organism_distribution.csv - stats:
plots/ecoli_holdout_st030/test_organism_distribution_stats.csv
Cross-split organism shift tests
- positives:
plots/ecoli_holdout_st030/cross_split_pos_stats.csv - negatives:
plots/ecoli_holdout_st030/cross_split_neg_stats.csv
Sequence length distributions (unique proteins)

- stats:
plots/ecoli_holdout_st030/train_seq_length_stats.csv
- stats:
plots/ecoli_holdout_st030/valid_seq_length_stats.csv
- stats:
plots/ecoli_holdout_st030/test_seq_length_stats.csv
Top organism pairs
train positives:
plots/ecoli_holdout_st030/train_top_org_pairs_pos.pngtrain negatives:
plots/ecoli_holdout_st030/train_top_org_pairs_neg.pngvalid positives:
plots/ecoli_holdout_st030/valid_top_org_pairs_pos.pngvalid negatives:
plots/ecoli_holdout_st030/valid_top_org_pairs_neg.pngtest positives:
plots/ecoli_holdout_st030/test_top_org_pairs_pos.pngtest negatives:
plots/ecoli_holdout_st030/test_top_org_pairs_neg.png
How to download and load
Use the helper in this codebase:
from data_processing.download_ppi_data import download_clustered_ppi_data
# BIOGRID example
train_df, valid_df, test_df, interaction_set, seq_dict = download_clustered_ppi_data(
data_type='biogrid',
cluster_percentage=0.5,
hf_repo='Synthyra/ecoli_holdout_ppi_large',
)
# STRING example (descriptor must match the variant prefix: e.g. 'human' or 'model_orgs')
train_df, valid_df, test_df, interaction_set, seq_dict = download_clustered_ppi_data(
data_type='string',
descriptor='human',
cluster_percentage=0.5,
hf_repo='Synthyra/ecoli_holdout_ppi_large',
)
- Downloads last month
- 120



