Upload folder using huggingface_hub

#1
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +120 -3
  3. metadata.h5ad +3 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* 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
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ metadata.h5ad filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,120 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # 1. Metadata Block
3
+ license: mit
4
+ task_categories:
5
+ - tabular-regression
6
+ tags:
7
+ - biology
8
+ - genomics
9
+ pretty_name: "Decima Dataset"
10
+ size_categories:
11
+ - 10K<n<100K
12
+ ---
13
+
14
+ # decima-data
15
+
16
+ ## Dataset Summary
17
+ This dataset contains associated metadata for use with the **Decima** model as well as model predictions for 8856 pseudobulks and 18457 genes. It includes observations across various tissues, organs, and disease states. The dataset is provided as an `AnnData` object including predictions, metadata and model performance metrics (Pearson correlation).
18
+
19
+ ## Dataset Structure
20
+ The dataset consists of **8856 observations** (pseudobulks) and **18457 variables** (genes).
21
+
22
+ ### Data Fields
23
+
24
+ Here is the complete README.md file for your dataset, ready to be uploaded to the Genentech/decima-data repository on Hugging Face.
25
+
26
+ Markdown
27
+ ---
28
+ license: mit
29
+ task_categories:
30
+ - tabular-regression
31
+ tags:
32
+ - biology
33
+ - genomics
34
+ - single-cell
35
+ pretty_name: "Decima Dataset"
36
+ size_categories:
37
+ - 1M<n<10M
38
+ ---
39
+
40
+ # decima-data
41
+
42
+ ## Dataset Summary
43
+ This dataset contains gene expression data and associated genomic features formatted as an `AnnData` object. It is designed for use with the **gReLU** and **Decima** frameworks to support tasks such as gene expression prediction and genomic sequence modeling. The data provides a comprehensive view of expression across various tissues, organs, and disease states, primarily centered on human brain atlas data.
44
+
45
+ ## Dataset Structure
46
+ The dataset is an `AnnData` object with dimensions: **8856 observations × 18457 variables**.
47
+
48
+ ### Data Fields
49
+
50
+ **In `.obs` (Observation metadata):**
51
+
52
+ | Column | Description |
53
+ | :--- | :--- |
54
+ | `cell_type` | Specific cell type label |
55
+ | `tissue` | Tissue of origin |
56
+ | `organ` | Organ of origin |
57
+ | `disease` | Clinical status or condition (e.g., healthy) |
58
+ | `study` | Source study identifier |
59
+ | `dataset` | Source dataset identifier |
60
+ | `region` | Anatomical region |
61
+ | `subregion` | Specific anatomical subregion |
62
+ | `celltype_coarse` | Broad cell type classification |
63
+ | `n_cells` | Number of cells aggregated into the pseudobulk |
64
+ | `total_counts` | Total read count |
65
+ | `n_genes` | Number of genes detected |
66
+ | `size_factor` | Sum after normalization |
67
+ | `train_pearson` | Pearson correlation on training set |
68
+ | `val_pearson` | Pearson correlation on validation set |
69
+ | `test_pearson` | Pearson correlation on test set |
70
+
71
+ **In `.var` (Metadata for variables/genes):**
72
+
73
+ | Column | Description |
74
+ | :--- | :--- |
75
+ | `chrom` | Chromosome |
76
+ | `start` | Genomic start coordinate (hg38) |
77
+ | `end` | Genomic end coordinate (hg38) |
78
+ | `strand` | Genomic strand (+/-) |
79
+ | `gene_type` | Gene biotype (e.g., protein coding) |
80
+ | `frac_nan` | Fraction of missing values |
81
+ | `mean_counts` | Average expression counts |
82
+ | `n_tracks` | Number of pseudobulks expressing the gene |
83
+ | `gene_start` | Gene start position |
84
+ | `gene_end` | Gene end position |
85
+ | `gene_length` | Total length of the gene |
86
+ | `gene_mask_start` | Start of the gene mask in the input sequence |
87
+ | `gene_mask_end` | End of the gene mask in the input sequence |
88
+ | `frac_N` | Fraction of ambiguous bases (N) in the input |
89
+ | `fold` | Borzoi fold assignment |
90
+ | `dataset` | Split assignment (e.g., train, test) |
91
+ | `gene_id` | Ensembl gene identifier |
92
+ | `pearson` | Overall Pearson correlation |
93
+ | `size_factor_pearson` | Pearson correlation using size factor |
94
+ | `ensembl_canonical_tss` | Canonical Transcription Start Site |
95
+
96
+ ### Data Layers
97
+ * **`.layers['preds']`**: Predicted values from the Decima model.
98
+ * **`.layers['v1_rep0']` through `.layers['v1_rep3']`**: Data/predictions across four model replicates.
99
+
100
+ ## Usage
101
+
102
+ To use this dataset, ensure you have `anndata` and `huggingface_hub` installed:
103
+
104
+ ```python
105
+ import anndata
106
+ from huggingface_hub import hf_hub_download
107
+
108
+ # Download from Genentech/decima-data
109
+ file_path = hf_hub_download(
110
+ repo_id="Genentech/decima-data",
111
+ repo_type="dataset",
112
+ filename="data.h5ad"
113
+ )
114
+
115
+ # Load into memory
116
+ ad = anndata.read_h5ad(file_path)
117
+
118
+ # Access expression data
119
+ print(ad.X.shape)
120
+ ```
metadata.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d1d7430a2e60955fcc457dcdd8efc1f522a9b9fef1dd2df6a76f146bcf233a
3
+ size 3273994413