augustynkaa commited on
Commit
281e84b
·
0 Parent(s):

mapping benchmark readme

Browse files
.gitattributes ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
61
+ pdxe_tpm.h5ad filter=lfs diff=lfs merge=lfs -text
62
+ metaprism_tpm.h5ad filter=lfs diff=lfs merge=lfs -text
63
+ tcga_tpm.h5ad filter=lfs diff=lfs merge=lfs -text
64
+ depmap_tpm.h5ad filter=lfs diff=lfs merge=lfs -text
65
+ gse317901_tpm.h5ad filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ configs:
3
+ - config_name: mondo_ontology
4
+ default: true
5
+ data_files:
6
+ - split: train
7
+ path: mondo_ontology/train-00000-of-00001.parquet
8
+ - config_name: mutated_genes
9
+ data_files:
10
+ - split: train
11
+ path: mutations/mutated_genes.parquet
12
+ - config_name: assayed_samples
13
+ data_files:
14
+ - split: train
15
+ path: mutations/assayed_samples.parquet
16
+ - config_name: assayed_genes
17
+ data_files:
18
+ - split: train
19
+ path: mutations/assayed_genes.parquet
20
+ task_categories:
21
+ - other
22
+ tags:
23
+ - genomics
24
+ - bulk-rna-seq
25
+ - cancer
26
+ - gene-expression
27
+ - mutations
28
+ - mondo
29
+ - benchmark
30
+ ---
31
+
32
+ # Mapping benchmark
33
+
34
+ A collection of harmonized gene-expression datasets, somatic mutation tables and a MONDO disease hierarchy for benchmarking the matching of biological models to patient tumour profiles.
35
+
36
+ The collection brings together patient samples, patient-derived xenografts (PDXs) and cancer cell lines. Expression datasets share a **19,260-gene reference panel**, and disease descriptions were mapped to MONDO by our team using metadata supplied by the original authors.
37
+
38
+ | Component | Contents | Format |
39
+ |---|---|---|
40
+ | Expression | Five datasets with TPM values, sample metadata and MONDO labels | AnnData / H5AD |
41
+ | Mutations | Gene-level mutation presence and sample/gene reference tables for TCGA, META-PRISM and DepMap | Parquet |
42
+ | Disease hierarchy | 15,481 MONDO terms and 25,555 parent relations | Parquet |
43
+
44
+ ## Expression datasets
45
+
46
+ Each H5AD contains a sample-by-gene matrix. All five datasets use the same ordered gene panel.
47
+
48
+ | Dataset | Biological material | Samples | Genes | Zero-padded genes | File |
49
+ |---|---|---:|---:|---:|---|
50
+ | PDXE | Patient-derived xenografts | 357 | 19,260 | 315 | [pdxe_tpm.h5ad](pdxe_tpm.h5ad) |
51
+ | META-PRISM | Metastatic patient tumours | 932 | 19,260 | 79 | [metaprism_tpm.h5ad](metaprism_tpm.h5ad) |
52
+ | TCGA | Patient tissue samples | 11,425 | 19,260 | 29 | [tcga_tpm.h5ad](tcga_tpm.h5ad) |
53
+ | DepMap 24Q4 | Cancer cell lines | 1,508 | 19,260 | 285 | [depmap_tpm.h5ad](depmap_tpm.h5ad) |
54
+ | GSE317901 | Head-and-neck cancer patient/PDX samples | 114 | 19,260 | 106 | [gse317901_tpm.h5ad](gse317901_tpm.h5ad) |
55
+
56
+ ### What is stored in each H5AD?
57
+
58
+ | Field | Description |
59
+ |---|---|
60
+ | `X` | Gene-expression values in TPM, stored as a sparse matrix |
61
+ | `obs_names` | Sample identifiers used to join expression and mutation data |
62
+ | `obs["ontology_disease_matched_id"]` | MONDO disease identifiers added by our team |
63
+ | `obs["ontology_disease_matched_name"]` | Corresponding disease names added by our team |
64
+ | `obs` | Selected source-derived tissue, histology and disease descriptors; available fields vary by dataset |
65
+ | `var_names` | Harmonized Ensembl gene identifiers |
66
+ | `var["artificial_gene"]` | Boolean flag identifying genes appended to complete the common panel |
67
+
68
+ **Zero padding:** genes missing from a dataset's standardized gene set were added with all-zero expression and `artificial_gene=True`. A value of `False` means that the gene was already present; it does not guarantee nonzero expression.
69
+
70
+ ### Preparation
71
+
72
+ **Gene harmonization.** Gene identifiers were standardized. Genes were filtered against a common reference panel of 19,260 genes. Genes outside the reference panel were excluded. Missing panel genes were appended with zeros, and the final columns were sorted by Ensembl identifier.
73
+
74
+ **Expression processing.** For PDXE, human transcript TPM values were aggregated to genes and rescaled to one million per sample over the selected panel. META-PRISM TPM measurements were matched to clinical records. TCGA used GDC unstranded gene TPM values. DepMap 24Q4 log2(TPM+1) values were converted back to TPM. GSE317901 TPM measurements were associated with patient/PDX sample metadata.
75
+
76
+ **Disease annotation.** MONDO labels were added by our team based on the authors' metadata columns. Samples without a validly formatted MONDO identifier were excluded. Expression values in the final export were preserved from the corresponding standardized matrices.
77
+
78
+ ## Mutation data
79
+
80
+ Three complementary tables connect mutation data directly to the expression samples. The `dataset` column contains `tcga`, `metaprism` or `depmap`.
81
+
82
+ | File | One row represents | Columns | Rows |
83
+ |---|---|---|---:|
84
+ | [mutated_genes.parquet](mutations/mutated_genes.parquet) | A sample–gene pair with a qualifying mutation | `dataset`, `sample_id`, `gene_id_ensembl`, `gene_symbol` | 345,620 |
85
+ | [assayed_samples.parquet](mutations/assayed_samples.parquet) | An expression sample represented in the mutation matrices | `dataset`, `sample_id` | 10,696 |
86
+ | [assayed_genes.parquet](mutations/assayed_genes.parquet) | A gene represented in a dataset's mutation matrix | `dataset`, `gene_id_ensembl` | 37,298 |
87
+
88
+ | Dataset | Samples with mutation data | Mutated sample–gene pairs | Genes in the mutation matrix |
89
+ |---|---:|---:|---:|
90
+ | TCGA | 8,877 | 244,203 | 18,566 |
91
+ | META-PRISM | 354 | 567 | 124 |
92
+ | DepMap | 1,465 | 100,850 | 18,608 |
93
+
94
+ **Mutation definition.** Variants with `vep_impact` equal to `HIGH` or `MODERATE` were retained. Multiple qualifying variants in a gene were collapsed to binary presence. These tables describe mutation presence, rather than individual variants or allele frequencies.
95
+
96
+ **Sample matching.** Join by `dataset` and `sample_id`; `sample_id` matches the observation identifier in the corresponding H5AD. TCGA patient-level calls and META-PRISM subject-level calls were assigned to their expression samples. DepMap calls were matched to model identifiers. DepMap mutation data use **25Q3**, while expression data use **24Q4**.
97
+
98
+ **Missing data.** A sample present in `assayed_samples` but absent from `mutated_genes` has no qualifying mutation in the represented gene set. A sample absent from `assayed_samples` has no mutation data in this export.
99
+
100
+ **Comparison panel.** The intersection of the three mutation gene sets contains **124 genes**. The `assayed_genes` table records columns present in the input mutation matrices.
101
+
102
+ ## MONDO disease hierarchy
103
+
104
+ [mondo_ontology/train-00000-of-00001.parquet](mondo_ontology/train-00000-of-00001.parquet) contains **15,481 terms**, **25,555 parent relations** and ten columns.
105
+
106
+ | Columns | Description |
107
+ |---|---|
108
+ | `mondo_id`, `name` | Disease identifier and name |
109
+ | `mondo_level` | Minimum distance from the root |
110
+ | `parent_mondo_id` | One selected direct parent, provided for convenience |
111
+ | `direct_ancestors_ids`, `direct_ancestors_names`, `len_direct_ancestors` | All direct parents and their count |
112
+ | `all_ancestors_ids`, `all_ancestors_names`, `len_all_ancestors` | Ancestors and their count |
113
+
114
+ Use `direct_ancestors_ids` when reconstructing the graph, because terms may have more than one parent.
115
+
116
+ The non-human animal disease branch (`MONDO:0005583` and 62 exclusive descendants) was removed. The resulting graph is acyclic and has one root, `MONDO:0000001`.
117
+
118
+ ## Sources and attribution
119
+
120
+ | Component | Original source |
121
+ |---|---|
122
+ | PDXE expression | NIBR; Gao et al., *Nature Medicine* (2015), [doi:10.1038/nm.3954](https://doi.org/10.1038/nm.3954); [PDXE data deposit](https://figshare.com/articles/dataset/pdxe_sample_annotations_txt/13331072) |
123
+ | META-PRISM expression | Gustave Roussy; [META-PRISM processed data](https://github.com/gustaveroussy/MetaPRISM_Public/tree/master/data) |
124
+ | TCGA expression | NCI/NHGRI; [Genomic Data Commons](https://portal.gdc.cancer.gov/) |
125
+ | DepMap expression | Broad Institute; [DepMap 24Q4 Public](https://doi.org/10.25452/figshare.plus.27993248) |
126
+ | GSE317901 expression | Queen's University Belfast and collaborators; [GEO GSE317901](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE317901) |
127
+ | TCGA mutations | [cBioPortal Datahub](https://github.com/cBioPortal/datahub/tree/master/public), `*tcga_pan_can_atlas_2018*/data_mutations.txt` |
128
+ | META-PRISM mutations | [Publication supplementary material](https://pmc.ncbi.nlm.nih.gov/articles/PMC10157368/#sec63), Table S6 |
129
+ | DepMap mutations | Broad Institute; [DepMap Public 25Q3](https://depmap.org/portal/download/all/), `OmicsSomaticMutations.csv` |
130
+ | MONDO | Monarch Initiative; [Mondo Disease Ontology](https://mondo.monarchinitiative.org/); [official OBO reference](https://purl.obolibrary.org/obo/mondo.obo) |
131
+
132
+ ### Licence and reuse
133
+
134
+ Source-specific licences and attribution requirements apply.
135
+ The collection does not assign a single licence to all components.
136
+
137
+ The PDXE deposit, DepMap 24Q4 expression release and MONDO ontology identify **CC BY 4.0**. META-PRISM processed expression tables were made publicly available by the authors. TCGA expression was obtained through GDC open-access resources. GEO data are subject to [NCBI's data-use notice](https://www.ncbi.nlm.nih.gov/geo/info/disclaimer.html).
138
+
139
+
depmap_tpm.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc83255c2bd1b574e9eb4635c171d2e19c90fd37986ae9b466daad43f4526da4
3
+ size 96076521
gse317901_tpm.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2866c2204f3b2268e97ceda3c5efb62e8082bf94dc7e6ccc651db01500b58b0d
3
+ size 12543134
metaprism_tpm.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f4c04b7ff2d1ec665f707b7aba6dd977eba2597e6ca7614fa19caa63a9a5e11
3
+ size 84184097
mondo_ontology/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c7e16e276c036721a0e5571191d33d1f52dad608ec9c0313d06bb8be6b2cd01
3
+ size 2530517
mutations/assayed_genes.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d33fa36a3d14dad9e6e752e29dfe1a7d3e2765014b14a406410ff60b675e0b6
3
+ size 178238
mutations/assayed_samples.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ffe9d8a4a1d7b01e0778261d6d4958ef702c7d90d06344af01effa8871076da
3
+ size 100485
mutations/mutated_genes.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:582224d0f3702a6e20edbb9a035690450f9ddd11e3fbf43e8fc4655f616f8f42
3
+ size 1666686
pdxe_tpm.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efff0956fa2c3f2240a01351bf2fa7459f4fd91f1dc63240ba35b6ee69391556
3
+ size 32220463
tcga_tpm.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2393d99f599ddf9afbc1c8332c9df3cefcf9e11b6084f9ccc5d07c9263d80d5b
3
+ size 969878103