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 4 new columns ({'smiles', 'PubChem ID', 'Drug Name', 'moa'}) and 3 missing columns ({'Drug ID', 'Gene ID', 'relation'}).

This happened while the csv dataset builder was generating data using

hf://datasets/RainGate/MAP-KG/DRUG_merged_drugs_with_residuals.csv (at revision 2a9af1bd2645fef86fab495b85a1b08a52356e26), [/tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG-GENE_filtered_by_existing_drugs_and_genes.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG-GENE_filtered_by_existing_drugs_and_genes.csv), /tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG_merged_drugs_with_residuals.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG_merged_drugs_with_residuals.csv), /tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE-GENE_filtered_by_existing_genes.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE-GENE_filtered_by_existing_genes.csv), /tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE_tahoe_filtered.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE_tahoe_filtered.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 1887, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, 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
              PubChem ID: int64
              Drug Name: string
              smiles: string
              moa: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 716
              to
              {'Gene ID': Value('string'), 'Drug ID': Value('int64'), 'relation': 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 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, 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 1889, 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 4 new columns ({'smiles', 'PubChem ID', 'Drug Name', 'moa'}) and 3 missing columns ({'Drug ID', 'Gene ID', 'relation'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/RainGate/MAP-KG/DRUG_merged_drugs_with_residuals.csv (at revision 2a9af1bd2645fef86fab495b85a1b08a52356e26), [/tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG-GENE_filtered_by_existing_drugs_and_genes.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG-GENE_filtered_by_existing_drugs_and_genes.csv), /tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG_merged_drugs_with_residuals.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/DRUG_merged_drugs_with_residuals.csv), /tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE-GENE_filtered_by_existing_genes.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE-GENE_filtered_by_existing_genes.csv), /tmp/hf-datasets-cache/medium/datasets/59788625974585-config-parquet-and-info-RainGate-MAP-KG-61b9a508/hub/datasets--RainGate--MAP-KG/snapshots/2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE_tahoe_filtered.csv (origin=hf://datasets/RainGate/MAP-KG@2a9af1bd2645fef86fab495b85a1b08a52356e26/GENE_tahoe_filtered.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.

Gene ID
string
Drug ID
int64
relation
string
ENSG00000125384
44,230,999
functions as an agonist on the protein target
ENSG00000091831
23,642,301
functions as a modulator on the protein target
ENSG00000102393
121,488,171
functions as a modulator on the protein target
ENSG00000269858
91,617,630
functions as an inhibitor on the protein target
ENSG00000116044
71,811,910
functions as an activator on the protein target
ENSG00000082556
24,794,466
functions as an agonist on the protein target
ENSG00000197405
49,841,217
functions as an antagonist on the protein target
ENSG00000151623
60,150,535
functions as an antagonist on the protein target
ENSG00000140675
25,195,624
functions as an inhibitor on the protein target
ENSG00000133703
137,278,711
functions as an inhibitor on the protein target
ENSG00000110195
91,810,695
functions as an antagonist on the protein target
ENSG00000105397
134,821,691
functions as an inhibitor on the protein target
ENSG00000134318
11,950,170
functions as an inhibitor on the protein target
ENSG00000125255
10,153,627
functions as an inhibitor on the protein target
ENSG00000171608
57,495,353
functions as an inhibitor on the protein target
ENSG00000146648
118,607,832
functions as an inhibitor on the protein target
ENSG00000133703
138,611,145
functions as an inhibitor on the protein target
ENSG00000010671
129,269,915
functions as an inhibitor on the protein target
ENSG00000125255
9,831,643
functions as an inhibitor on the protein target
ENSG00000140675
24,831,714
functions as a modulator on the protein target
ENSG00000144891
10,257,882
functions as an antagonist on the protein target
ENSG00000151617
10,257,882
functions as an antagonist on the protein target
ENSG00000122025
46,216,796
functions as a modulator on the protein target
ENSG00000105639
46,216,796
functions as a modulator on the protein target
ENSG00000116016
117,947,097
functions as an inhibitor on the protein target
ENSG00000064989
53,472,683
functions as an inhibitor on the protein target
ENSG00000064989
72,163,100
functions as an antagonist on the protein target
ENSG00000277893
132,663
functions as an inhibitor on the protein target
ENSG00000145545
132,663
functions as an inhibitor on the protein target
ENSG00000086205
10,130,754
functions as an inhibitor on the protein target
ENSG00000170425
3,086,599
functions as an agonist on the protein target
ENSG00000261893
1,893,668
functions as an inhibitor on the protein target
ENSG00000176444
1,893,668
functions as an inhibitor on the protein target
ENSG00000013441
1,893,668
functions as an inhibitor on the protein target
ENSG00000067900
3,547
functions as an inhibitor on the protein target
ENSG00000147246
1,615
functions as an agonist on the protein target
ENSG00000165646
1,615
functions as an antagonist on the protein target
ENSG00000102468
1,615
functions as an agonist on the protein target
ENSG00000135914
1,615
functions as an agonist on the protein target
ENSG00000143799
148,140
functions as an inhibitor on the protein target
ENSG00000078295
47,936
functions as an inhibitor on the protein target
ENSG00000151834
71,231
functions as an inhibitor on the protein target
ENSG00000113327
71,231
functions as an inhibitor on the protein target
ENSG00000011677
71,231
functions as an inhibitor on the protein target
ENSG00000186297
71,231
functions as an inhibitor on the protein target
ENSG00000022355
71,231
functions as an inhibitor on the protein target
ENSG00000145864
71,231
functions as an inhibitor on the protein target
ENSG00000258429
135,436,405
functions as an inhibitor on the protein target
ENSG00000189221
5,280,953
functions as an inhibitor on the protein target
ENSG00000184588
5,092
functions as an inhibitor on the protein target
ENSG00000113448
5,092
functions as an inhibitor on the protein target
ENSG00000138735
5,092
functions as an inhibitor on the protein target
ENSG00000065989
5,092
functions as an inhibitor on the protein target
ENSG00000258429
1,688
functions as an inhibitor on the protein target
ENSG00000101444
72,968
functions as an inhibitor on the protein target
ENSG00000291971
1,401
functions as an inhibitor on the protein target
ENSG00000197122
1,401
functions as an inhibitor on the protein target
ENSG00000095015
6,918,454
functions as an inhibitor on the protein target
ENSG00000169967
6,918,454
functions as an inhibitor on the protein target
ENSG00000055118
155,805
functions as a blocker on the protein target
ENSG00000100300
1,345
functions as a binder on the protein target
ENSG00000117594
10,251
functions as an inhibitor on the protein target
ENSG00000100300
1,688
functions as a binder on the protein target
ENSG00000156110
132,663
functions as an inhibitor on the protein target
ENSG00000066468
1,345
functions as a binder on the protein target
ENSG00000104365
44,259
functions as an inhibitor on the protein target
ENSG00000104267
65,823
functions as an inhibitor on the protein target
ENSG00000167434
65,823
functions as an inhibitor on the protein target
ENSG00000133742
65,823
functions as an inhibitor on the protein target
ENSG00000188778
65,823
functions as an agonist on the protein target
ENSG00000178394
115,111
functions as an antagonist on the protein target
ENSG00000128271
3,086,599
functions as an agonist on the protein target
ENSG00000006638
6,437,074
functions as an inhibitor on the protein target
ENSG00000170312
3,820
functions as an inhibitor on the protein target
ENSG00000082701
3,820
functions as an inhibitor on the protein target
ENSG00000134057
3,820
functions as an inhibitor on the protein target
ENSG00000164885
3,820
functions as an inhibitor on the protein target
ENSG00000166148
60,943
functions as an inhibitor on the protein target
ENSG00000183044
126
functions as an inhibitor on the protein target
ENSG00000183044
1,183
functions as an inhibitor on the protein target
ENSG00000112294
1,183
functions as an inhibitor on the protein target
ENSG00000074410
445,858
functions as an inhibitor on the protein target
ENSG00000104267
445,858
functions as an inhibitor on the protein target
ENSG00000118298
445,858
functions as an inhibitor on the protein target
ENSG00000107159
445,858
functions as an inhibitor on the protein target
ENSG00000131686
445,858
functions as an inhibitor on the protein target
ENSG00000133742
445,858
functions as an inhibitor on the protein target
ENSG00000167434
445,858
functions as an inhibitor on the protein target
ENSG00000108576
1,615
functions as an inhibitor on the protein target
ENSG00000276996
1,615
functions as an inhibitor on the protein target
ENSG00000142319
1,615
functions as an inhibitor on the protein target
ENSG00000103546
1,615
functions as an inhibitor on the protein target
ENSG00000069535
10,251
functions as an inhibitor on the protein target
ENSG00000169083
3,314
functions as an inhibitor on the protein target
ENSG00000096717
3,246,390
functions as an inhibitor on the protein target
ENSG00000118515
6,918,454
functions as an inhibitor on the protein target
ENSG00000100030
6,918,454
functions as an inhibitor on the protein target
ENSG00000108443
6,918,454
functions as an inhibitor on the protein target
ENSG00000067900
6,918,454
functions as an inhibitor on the protein target
ENSG00000107643
6,918,454
functions as an inhibitor on the protein target
End of preview.

This is the official data repository for "MAP: A Knowledge-driven Framework for Predicting Single-cell Responses for Unprofiled Drugs".

We will release MAP-KG data soon.

Downloads last month
485