File size: 1,427 Bytes
5d1cdad
 
 
 
 
 
 
 
 
 
 
 
 
c76e8cd
5d1cdad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3442089
a9227e1
3442089
 
 
 
5d1cdad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
# 1. Metadata Block
license: mit
task_categories:
- tabular-classification
tags:
- biology
- genomics
pretty_name: "gReLU Tutorial 2 dataset"
size_categories:
- 1M<n<10M
---

# binary-atac-tutorial-data

## Dataset Summary
This dataset contains binary accessibility values for 1154611 CREs in 222 cell types. The original source of this data is CATlas (https://decoder-genetics.wustl.edu/catlasv1/humanenhancer/data/cCRE_by_cell_type/). For more details, see https://decoder-genetics.wustl.edu/catlasv1/catlas_humanenhancer/#!/. This version of the dataset is used in gReLU tutorial 2 (https://github.com/Genentech/gReLU/blob/main/docs/tutorials/2_finetune.ipynb).

## Dataset Structure

### Data Fields
In `.obs`:

| Column | Type | Description |
| :--- | :--- | :--- |
| `cell type` | string | Name of the cell type |

In `.var`:

| Column | Type | Description |
| :--- | :--- | :--- |
| `chrom` | string | Chromosome (e.g., `chr6`) |
| `start` | int | Genomic start position (hg38) |
| `end` | int | Genomic end position (hg38) |
| `Class` | category | CRE class |
       
`.X` is a binary accessibility matrix of shape (222 × 1154611) in Compressed Sparse Row format.

## Usage

```python
import anndata
from huggingface_hub import hf_hub_download

file_path = hf_hub_download(
    repo_id="Genentech/binary-atac-tutorial-data",
    repo_type="dataset",
    filename="data.h5ad"
)
ad = anndata.read_h5ad(file_path)
```