Lal Claude Opus 4.6 commited on
Commit ·
daf5b75
1
Parent(s): 1e6bbe9
Fix loading instructions and add dataset metadata
Browse files- Fix repo_type="dataset" missing from hf_hub_download (was causing 404)
- Fix variable name collision (ad overwrote import)
- Fix import consistency (import anndata, not as ad)
- Add matrix format info (Sparse CSC, float32)
- Add data splits table (train/valid/test counts)
- Document missing .var columns (width, cre_idx)
- Add cre_class possible values
- Fix title typo (human-catlas-atac -> human-atac-catlas)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
README.md
CHANGED
|
@@ -10,7 +10,7 @@ size_categories:
|
|
| 10 |
- 1M<n<10M
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# human-
|
| 14 |
|
| 15 |
## Dataset Summary
|
| 16 |
This dataset provides a binary accessibility matrix of candidate Cis-Regulatory Elements (cCREs) across human cell types. It is derived from the CATlas project (https://decoder-genetics.wustl.edu/catlasv1/catlas_humanenhancer/#!/). The matrix identifies which genomic regions are accessible (1) or inaccessible (0) across 204 distinct cell types. The data is derived from https://decoder-genetics.wustl.edu/catlasv1/humanenhancer/data/cCRE_by_cell_type/. The hg38 genome build was used.
|
|
@@ -24,6 +24,14 @@ This dataset provides a binary accessibility matrix of candidate Cis-Regulatory
|
|
| 24 |
### AnnData Object Dimensions
|
| 25 |
- **n_obs (Cell Types):** 204
|
| 26 |
- **n_vars (cCREs):** 1,121,319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
### Data Fields
|
| 29 |
- **`.X`**: A sparse binary matrix where rows are cell types and columns are genomic regions (cCREs).
|
|
@@ -31,22 +39,25 @@ This dataset provides a binary accessibility matrix of candidate Cis-Regulatory
|
|
| 31 |
- `cell type`: The descriptive name of the human cell type/cluster.
|
| 32 |
- **`.var` (Genomic Feature Metadata):**
|
| 33 |
- `chrom`, `start`, `end`: Genomic coordinates (hg38).
|
| 34 |
-
- `cre_class`: Classification of the regulatory element.
|
| 35 |
-
- `in_fetal` / `in_adult`:
|
| 36 |
- `cre_module`: Associated regulatory module.
|
|
|
|
|
|
|
| 37 |
- `enformer_split`: Overlap with the data splits used for training the Enformer model.
|
| 38 |
-
- `split`: Splits used for downstream modeling (
|
| 39 |
|
| 40 |
## Usage
|
| 41 |
|
| 42 |
```python
|
| 43 |
-
import anndata
|
| 44 |
from huggingface_hub import hf_hub_download
|
| 45 |
|
| 46 |
file_path = hf_hub_download(
|
| 47 |
-
repo_id="Genentech/human-atac-catlas-data",
|
| 48 |
-
filename="data.h5ad"
|
|
|
|
| 49 |
)
|
| 50 |
|
| 51 |
-
|
| 52 |
-
```
|
|
|
|
| 10 |
- 1M<n<10M
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# human-atac-catlas-data
|
| 14 |
|
| 15 |
## Dataset Summary
|
| 16 |
This dataset provides a binary accessibility matrix of candidate Cis-Regulatory Elements (cCREs) across human cell types. It is derived from the CATlas project (https://decoder-genetics.wustl.edu/catlasv1/catlas_humanenhancer/#!/). The matrix identifies which genomic regions are accessible (1) or inaccessible (0) across 204 distinct cell types. The data is derived from https://decoder-genetics.wustl.edu/catlasv1/humanenhancer/data/cCRE_by_cell_type/. The hg38 genome build was used.
|
|
|
|
| 24 |
### AnnData Object Dimensions
|
| 25 |
- **n_obs (Cell Types):** 204
|
| 26 |
- **n_vars (cCREs):** 1,121,319
|
| 27 |
+
- **Matrix format:** Sparse CSC (scipy.sparse.csc_matrix), float32
|
| 28 |
+
|
| 29 |
+
### Data Splits
|
| 30 |
+
| Split | Count |
|
| 31 |
+
|-------|-------|
|
| 32 |
+
| train | 977,014 |
|
| 33 |
+
| valid | 71,798 |
|
| 34 |
+
| test | 72,507 |
|
| 35 |
|
| 36 |
### Data Fields
|
| 37 |
- **`.X`**: A sparse binary matrix where rows are cell types and columns are genomic regions (cCREs).
|
|
|
|
| 39 |
- `cell type`: The descriptive name of the human cell type/cluster.
|
| 40 |
- **`.var` (Genomic Feature Metadata):**
|
| 41 |
- `chrom`, `start`, `end`: Genomic coordinates (hg38).
|
| 42 |
+
- `cre_class`: Classification of the regulatory element (Promoter, Promoter Proximal, or Distal).
|
| 43 |
+
- `in_fetal` / `in_adult`: Indicators of activity in developmental stages.
|
| 44 |
- `cre_module`: Associated regulatory module.
|
| 45 |
+
- `width`: Width of the cCRE region in base pairs.
|
| 46 |
+
- `cre_idx`: Index of the cCRE.
|
| 47 |
- `enformer_split`: Overlap with the data splits used for training the Enformer model.
|
| 48 |
+
- `split`: Splits used for downstream modeling (train/valid/test).
|
| 49 |
|
| 50 |
## Usage
|
| 51 |
|
| 52 |
```python
|
| 53 |
+
import anndata
|
| 54 |
from huggingface_hub import hf_hub_download
|
| 55 |
|
| 56 |
file_path = hf_hub_download(
|
| 57 |
+
repo_id="Genentech/human-atac-catlas-data",
|
| 58 |
+
filename="data.h5ad",
|
| 59 |
+
repo_type="dataset"
|
| 60 |
)
|
| 61 |
|
| 62 |
+
adata = anndata.read_h5ad(file_path)
|
| 63 |
+
```
|