rednaSander commited on
Commit
4448de3
·
verified ·
1 Parent(s): c10fd34

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +38 -19
README.md CHANGED
@@ -2,14 +2,19 @@
2
  license: cc-by-4.0
3
  tags:
4
  - biology
5
- - proteomics
6
  - transcriptomics
 
 
7
  ---
8
 
9
- # OmicsFM datasets
10
 
11
- Expression matrices used to train and evaluate
12
- [OmicsFM](https://huggingface.co/rednaSander/omicsfm).
 
 
 
 
13
 
14
  ## Naming
15
 
@@ -22,32 +27,46 @@ what was measured and which identifiers index the features:
22
  | `_hgnc` | HGNC gene symbols | `TSPAN6` |
23
  | `_ensembl` | Ensembl gene IDs | `ENSG00000237491` |
24
 
25
- The `_uniprot` datasets share one 20,272-accession vocabulary, so a feature
26
- index means the same protein across proteomics and transcriptomics alike. That
27
- shared space is what the models consume.
28
 
29
  The gene-space datasets are the native measurement spaces, kept for comparison
30
- against methods that operate on genes. Note that bulk and single-cell use
31
- **different** gene identifiers, so those two are not comparable feature by
32
- feature; only the `_uniprot` versions are.
33
 
34
  ## Contents
35
 
36
  | dataset | split | samples | features |
37
  |---|---|---:|---:|
38
- | `proteomics_uniprot` | train | 45,188 | 20,272 |
39
- | `proteomics_uniprot` | valid | 1,568 | 20,272 |
40
- | `proteomics_uniprot` | test | 2,081 | 20,272 |
41
  | `bulk_transcriptomics_uniprot` | valid | 34,945 | 20,272 |
42
  | `bulk_transcriptomics_uniprot` | test | 31,102 | 20,272 |
 
43
  | `bulk_transcriptomics_hgnc` | valid | 34,945 | 67,186 |
44
  | `bulk_transcriptomics_hgnc` | test | 31,102 | 67,186 |
 
 
 
 
 
 
 
 
 
 
 
45
 
46
- Proteomics splits are by ProteomeXchange accession (`obs.pxd`), so runs from one
47
- submission never span the train/test boundary.
 
 
48
 
49
- Transcriptomics training splits are not hosted here: they are tens of GB and are
50
- available on request. The construction scripts are in the repository.
 
 
51
 
52
  ## Use
53
 
@@ -56,7 +75,7 @@ from huggingface_hub import hf_hub_download
56
  import anndata as ad
57
 
58
  path = hf_hub_download("rednaSander/omicsfm-data",
59
- "bulk_transcriptomics_uniprot/test.h5ad",
60
  repo_type="dataset")
61
  adata = ad.read_h5ad(path)
62
  ```
@@ -66,4 +85,4 @@ them on first use.
66
 
67
  ## Citation
68
 
69
- Publication in preparation.
 
2
  license: cc-by-4.0
3
  tags:
4
  - biology
 
5
  - transcriptomics
6
+ - single-cell
7
+ - bulk-rna-seq
8
  ---
9
 
10
+ # OmicsFM transcriptomics datasets
11
 
12
+ Bulk and single-cell expression matrices used to train and evaluate
13
+ [OmicsFM](https://huggingface.co/rednaSander/omicsfm), prepared as model-ready
14
+ AnnData from public databases.
15
+
16
+ The proteomics modality lives separately in
17
+ [omicsfm-data-proteomics](https://huggingface.co/datasets/rednaSander/omicsfm-data-proteomics).
18
 
19
  ## Naming
20
 
 
27
  | `_hgnc` | HGNC gene symbols | `TSPAN6` |
28
  | `_ensembl` | Ensembl gene IDs | `ENSG00000237491` |
29
 
30
+ The `_uniprot` datasets share one 20,272-accession vocabulary with the
31
+ proteomics data, so a feature index means the same protein across every
32
+ modality. That shared space is what the models consume.
33
 
34
  The gene-space datasets are the native measurement spaces, kept for comparison
35
+ against methods that operate on genes. Bulk and single-cell use **different**
36
+ gene identifiers, so those two are not comparable feature by feature; only the
37
+ `_uniprot` versions are.
38
 
39
  ## Contents
40
 
41
  | dataset | split | samples | features |
42
  |---|---|---:|---:|
43
+ | `bulk_transcriptomics_uniprot` | train | 614,169 | 20,272 |
 
 
44
  | `bulk_transcriptomics_uniprot` | valid | 34,945 | 20,272 |
45
  | `bulk_transcriptomics_uniprot` | test | 31,102 | 20,272 |
46
+ | `bulk_transcriptomics_hgnc` | train | 614,169 | 67,186 |
47
  | `bulk_transcriptomics_hgnc` | valid | 34,945 | 67,186 |
48
  | `bulk_transcriptomics_hgnc` | test | 31,102 | 67,186 |
49
+ | `sc_transcriptomics_uniprot` | train | 3,546,382 | 20,272 |
50
+ | `sc_transcriptomics_uniprot` | valid | 361,037 | 20,272 |
51
+ | `sc_transcriptomics_uniprot` | test | 642,687 | 20,272 |
52
+ | `sc_transcriptomics_ensembl` | train | 3,546,382 | 61,497 |
53
+ | `sc_transcriptomics_ensembl` | valid | 361,037 | 61,497 |
54
+ | `sc_transcriptomics_ensembl` | test | 642,687 | 61,497 |
55
+
56
+ Splits are grouped so that no study spans a boundary: bulk by ARCHS4 series,
57
+ single-cell by Census dataset. Assignment is deterministic given seed 42.
58
+
59
+ ## Sources
60
 
61
+ | modality | source |
62
+ |---|---|
63
+ | bulk | [ARCHS4](https://archs4.org) human gene-level counts (kallisto, raw estimated counts) |
64
+ | single-cell | [CELLxGENE Census](https://chanzuckerberg.github.io/cellxgene-census/) |
65
 
66
+ These are model-ready derivatives, not the primary data: quality filtered,
67
+ harmonised to a controlled vocabulary, and projected onto the shared UniProt
68
+ space. The construction pipeline is in the OmicsFM repository under
69
+ `transcriptomics/`.
70
 
71
  ## Use
72
 
 
75
  import anndata as ad
76
 
77
  path = hf_hub_download("rednaSander/omicsfm-data",
78
+ "sc_transcriptomics_uniprot/test.h5ad",
79
  repo_type="dataset")
80
  adata = ad.read_h5ad(path)
81
  ```
 
85
 
86
  ## Citation
87
 
88
+ Publication in preparation. Please also cite ARCHS4 and CELLxGENE Census.