Datasets:
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,58 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
task_categories:
|
| 9 |
-
- text-generation
|
| 10 |
size_categories:
|
| 11 |
-
-
|
| 12 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: "Latent DNA Diffusion Sequences (hg19)"
|
| 3 |
+
tags:
|
| 4 |
+
- genomics
|
| 5 |
+
- biology
|
| 6 |
+
- generative-ai
|
| 7 |
+
- diffusion-models
|
| 8 |
+
- dna
|
| 9 |
+
- huggingscience
|
| 10 |
+
- science
|
| 11 |
+
license: "other"
|
| 12 |
task_categories:
|
| 13 |
+
- text-generation # Generating DNA sequences is analogous to text generation
|
| 14 |
size_categories:
|
| 15 |
+
- 10M<n<100M
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Dataset Card for Latent DNA Diffusion
|
| 19 |
+
|
| 20 |
+
## Dataset Description
|
| 21 |
+
|
| 22 |
+
This dataset contains a collection of human DNA sequences, processed for the purpose of training generative models like the one described in the **Latent DNA Diffusion** project.
|
| 23 |
+
|
| 24 |
+
- **Source**: Human reference genome assembly **hg19 (GRCh37)**
|
| 25 |
+
- **Sequence length**: 256 base pairs
|
| 26 |
+
- **Format**: HDF5 file containing uniformly processed sequences
|
| 27 |
+
|
| 28 |
+
The primary purpose of this dataset is to serve as a training corpus for models that can learn the underlying patterns of the human genome and generate novel, realistic DNA sequences.
|
| 29 |
+
|
| 30 |
+
### Applications
|
| 31 |
+
- Data augmentation for genomics
|
| 32 |
+
- Studying gene regulation
|
| 33 |
+
- Generating synthetic genomic data to preserve patient privacy
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## How to Use
|
| 38 |
+
|
| 39 |
+
The data is stored in a single **HDF5** file.
|
| 40 |
+
|
| 41 |
+
Example usage in Python:
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
import h5py
|
| 45 |
+
from huggingface_hub import hf_hub_download
|
| 46 |
+
|
| 47 |
+
# Download the HDF5 file from Hugging Face Hub
|
| 48 |
+
file_path = hf_hub_download(
|
| 49 |
+
repo_id="Zehui127127/latent-dna-diffusion",
|
| 50 |
+
filename="human_hg19_256.hdf5",
|
| 51 |
+
repo_type="dataset"
|
| 52 |
+
)
|
| 53 |
+
|
| 54 |
+
# Open and explore the file
|
| 55 |
+
with h5py.File(file_path, 'r') as f:
|
| 56 |
+
print("Available keys:", list(f.keys()))
|
| 57 |
+
sequences = f['sequences'][:] # Example key
|
| 58 |
+
print("Shape of dataset:", sequences.shape)
|