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 1 new columns ({'cell_lines'}) and 1 missing columns ({'model_id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/MohamedEmam22/GID-networks/tissues.csv (at revision a6afd1a233205b96ad3dbadb01a335fbaa319f59), ['hf://datasets/MohamedEmam22/GID-networks@a6afd1a233205b96ad3dbadb01a335fbaa319f59/samples.csv', 'hf://datasets/MohamedEmam22/GID-networks@a6afd1a233205b96ad3dbadb01a335fbaa319f59/tissues.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
tissue: string
cell_lines: int64
file: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 615
to
{'model_id': Value('string'), 'tissue': Value('string'), 'file': 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 ({'cell_lines'}) and 1 missing columns ({'model_id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/MohamedEmam22/GID-networks/tissues.csv (at revision a6afd1a233205b96ad3dbadb01a335fbaa319f59), ['hf://datasets/MohamedEmam22/GID-networks@a6afd1a233205b96ad3dbadb01a335fbaa319f59/samples.csv', 'hf://datasets/MohamedEmam22/GID-networks@a6afd1a233205b96ad3dbadb01a335fbaa319f59/tissues.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.
model_id string | tissue string | file string |
|---|---|---|
SIDM00001 | Haematopoietic and Lymphoid | networks/SIDM00001.npy |
SIDM00003 | Skin | networks/SIDM00003.npy |
SIDM00018 | Haematopoietic and Lymphoid | networks/SIDM00018.npy |
SIDM00023 | Esophagus | networks/SIDM00023.npy |
SIDM00027 | Kidney | networks/SIDM00027.npy |
SIDM00035 | Thyroid | networks/SIDM00035.npy |
SIDM00040 | Stomach | networks/SIDM00040.npy |
SIDM00041 | Stomach | networks/SIDM00041.npy |
SIDM00042 | Pancreas | networks/SIDM00042.npy |
SIDM00043 | Head and Neck | networks/SIDM00043.npy |
SIDM00044 | Head and Neck | networks/SIDM00044.npy |
SIDM00045 | Stomach | networks/SIDM00045.npy |
SIDM00046 | Lung | networks/SIDM00046.npy |
SIDM00047 | Lung | networks/SIDM00047.npy |
SIDM00048 | Lung | networks/SIDM00048.npy |
SIDM00049 | Large Intestine | networks/SIDM00049.npy |
SIDM00050 | Bone | networks/SIDM00050.npy |
SIDM00051 | Bone | networks/SIDM00051.npy |
SIDM00052 | Esophagus | networks/SIDM00052.npy |
SIDM00053 | Pancreas | networks/SIDM00053.npy |
SIDM00054 | Pancreas | networks/SIDM00054.npy |
SIDM00055 | Lung | networks/SIDM00055.npy |
SIDM00056 | Thyroid | networks/SIDM00056.npy |
SIDM00064 | Liver | networks/SIDM00064.npy |
SIDM00065 | Liver | networks/SIDM00065.npy |
SIDM00072 | Haematopoietic and Lymphoid | networks/SIDM00072.npy |
SIDM00073 | Cervix | networks/SIDM00073.npy |
SIDM00077 | Head and Neck | networks/SIDM00077.npy |
SIDM00078 | Head and Neck | networks/SIDM00078.npy |
SIDM00079 | Ovary | networks/SIDM00079.npy |
SIDM00080 | Skin | networks/SIDM00080.npy |
SIDM00081 | Skin | networks/SIDM00081.npy |
SIDM00082 | Skin | networks/SIDM00082.npy |
SIDM00083 | Central Nervous System | networks/SIDM00083.npy |
SIDM00084 | Central Nervous System | networks/SIDM00084.npy |
SIDM00085 | Central Nervous System | networks/SIDM00085.npy |
SIDM00086 | Kidney | networks/SIDM00086.npy |
SIDM00087 | Haematopoietic and Lymphoid | networks/SIDM00087.npy |
SIDM00088 | Prostate | networks/SIDM00088.npy |
SIDM00090 | Ovary | networks/SIDM00090.npy |
SIDM00091 | Ovary | networks/SIDM00091.npy |
SIDM00092 | Ovary | networks/SIDM00092.npy |
SIDM00094 | Kidney | networks/SIDM00094.npy |
SIDM00095 | Central Nervous System | networks/SIDM00095.npy |
SIDM00096 | Haematopoietic and Lymphoid | networks/SIDM00096.npy |
SIDM00097 | Breast | networks/SIDM00097.npy |
SIDM00098 | Lung | networks/SIDM00098.npy |
SIDM00099 | Lung | networks/SIDM00099.npy |
SIDM00100 | Lung | networks/SIDM00100.npy |
SIDM00101 | Lung | networks/SIDM00101.npy |
SIDM00102 | Lung | networks/SIDM00102.npy |
SIDM00103 | Lung | networks/SIDM00103.npy |
SIDM00104 | Lung | networks/SIDM00104.npy |
SIDM00105 | Ovary | networks/SIDM00105.npy |
SIDM00107 | Skin | networks/SIDM00107.npy |
SIDM00108 | Skin | networks/SIDM00108.npy |
SIDM00111 | Central Nervous System | networks/SIDM00111.npy |
SIDM00112 | Kidney | networks/SIDM00112.npy |
SIDM00113 | Kidney | networks/SIDM00113.npy |
SIDM00114 | Lung | networks/SIDM00114.npy |
SIDM00115 | Head and Neck | networks/SIDM00115.npy |
SIDM00116 | Lung | networks/SIDM00116.npy |
SIDM00117 | Lung | networks/SIDM00117.npy |
SIDM00118 | Large Intestine | networks/SIDM00118.npy |
SIDM00119 | Lung | networks/SIDM00119.npy |
SIDM00120 | Prostate | networks/SIDM00120.npy |
SIDM00121 | Haematopoietic and Lymphoid | networks/SIDM00121.npy |
SIDM00122 | Breast | networks/SIDM00122.npy |
SIDM00123 | Kidney | networks/SIDM00123.npy |
SIDM00124 | Kidney | networks/SIDM00124.npy |
SIDM00125 | Kidney | networks/SIDM00125.npy |
SIDM00126 | Skin | networks/SIDM00126.npy |
SIDM00127 | Head and Neck | networks/SIDM00127.npy |
SIDM00128 | Head and Neck | networks/SIDM00128.npy |
SIDM00129 | Skin | networks/SIDM00129.npy |
SIDM00130 | Pancreas | networks/SIDM00130.npy |
SIDM00131 | Central Nervous System | networks/SIDM00131.npy |
SIDM00132 | Pancreas | networks/SIDM00132.npy |
SIDM00133 | Lung | networks/SIDM00133.npy |
SIDM00134 | Lung | networks/SIDM00134.npy |
SIDM00135 | Breast | networks/SIDM00135.npy |
SIDM00136 | Large Intestine | networks/SIDM00136.npy |
SIDM00137 | Lung | networks/SIDM00137.npy |
SIDM00138 | Lung | networks/SIDM00138.npy |
SIDM00139 | Lung | networks/SIDM00139.npy |
SIDM00140 | Skin | networks/SIDM00140.npy |
SIDM00142 | Endometrium | networks/SIDM00142.npy |
SIDM00143 | Lung | networks/SIDM00143.npy |
SIDM00144 | Lung | networks/SIDM00144.npy |
SIDM00145 | Haematopoietic and Lymphoid | networks/SIDM00145.npy |
SIDM00146 | Breast | networks/SIDM00146.npy |
SIDM00148 | Breast | networks/SIDM00148.npy |
SIDM00149 | Skin | networks/SIDM00149.npy |
SIDM00150 | Large Intestine | networks/SIDM00150.npy |
SIDM00151 | Ovary | networks/SIDM00151.npy |
SIDM00154 | Lung | networks/SIDM00154.npy |
SIDM00155 | Head and Neck | networks/SIDM00155.npy |
SIDM00156 | Peripheral Nervous System | networks/SIDM00156.npy |
SIDM00157 | Peripheral Nervous System | networks/SIDM00157.npy |
SIDM00172 | Head and Neck | networks/SIDM00172.npy |
GID: sample-specific protein–protein association networks
Networks inferred with GID (Graph Inferred Deconvolution) for 1,007 cancer cell lines and 1,998 genes from five omics layers (transcriptomics, proteomics, CRISPR–Cas9 gene essentiality, DNA methylation and copy number), with STRING as the prior network. The code is at https://github.com/Mohamedema/GID and the trained model is in the companion model repository.
Files
| File | Content |
|---|---|
genes.txt |
the 1,998 gene symbols, in the order of the rows and columns of every network |
samples.csv |
one row per cell line: Cell Model Passports identifier, tissue and file |
networks/<model_id>.npy |
network of one cell line: upper triangle (diagonal excluded) of the symmetric gene by gene matrix, 1,995,003 values, 32 bit floats |
tissue_networks/<tissue>.npy |
mean of the networks of the cell lines of one tissue, same layout |
tissues.csv |
tissue, number of cell lines and file |
population_network.npy |
1,998 x 1,998 cosine similarity of the latent gene embeddings computed from all cell lines |
Reading a network
import numpy as np
genes = open("genes.txt").read().split()
g = len(genes)
i, j = np.triu_indices(g, 1)
values = np.load("networks/SIDM00001.npy")
network = np.zeros((g, g), dtype=np.float32)
network[i, j] = values
network[j, i] = values
The pairs follow np.triu_indices(g, 1): (0, 1), (0, 2), ..., (0, g - 1), (1, 2), and so on.
Scores
The network of cell line q is N S(Z) - (N - 1) S(Z without q), where S is the cosine similarity between the latent embeddings of two genes, Z comes from all N = 1,007 cell lines and "Z without q" from the input in which cell line q is replaced (LIONESS applied in the embedding space). The scores are therefore not bounded by -1 and 1. The two triangles of each matrix were averaged before export.
- Downloads last month
- 32