File size: 1,733 Bytes
f9cdce6
028b069
 
 
 
f9cdce6
028b069
4d8fbda
f9cdce6
 
 
 
028b069
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
52
53
54
55
56
---
title: DNA Diffusion Slot Machine
emoji: 🧬
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: false
license: apache-2.0
---

# DNA-Diffusion Slot Machine 🎰🧬

An interactive web application for generating cell type-specific DNA regulatory sequences using the DNA-Diffusion model from [Pinello Lab](https://pinellolab.org).

## Features

- 🎰 **Interactive Slot Machine Interface**: Watch 200 slots spin as DNA sequences are generated
- 🧬 **Cell Type-Specific**: Generate sequences for K562, GM12878, and HepG2 cell lines
-**Real-time Animation**: Visual feedback during sequence generation
- 🎨 **Beautiful UI**: Retro-futuristic design with smooth animations

## Note

This is a demo version running in mock mode. For real DNA sequence generation:
1. Deploy with GPU enabled
2. Install DNA-Diffusion model dependencies
3. Use the full `app.py` instead of `app_spaces.py`

## Usage

1. Select a cell type (K562, GM12878, or HepG2)
2. Click GENERATE or pull the lever
3. Watch the slots spin!
4. View your generated 200bp regulatory sequence

## Citation

If you use this application in your research, please cite:

```bibtex
@article{dnadiffusion2024,
  title={DNA-Diffusion: Leveraging Generative Models for Controlling Chromatin Accessibility and Gene Expression via Synthetic Regulatory Elements},
  author={DaSilva, Lucas Ferreira and Senan, Simon and Patel, Zain Munir and others},
  journal={bioRxiv},
  year={2024},
  doi={10.1101/2024.02.01.578352}
}
```

## Links

- [GitHub Repository](https://github.com/pinellolab/gradio-dna-diffusion)
- [DNA-Diffusion Paper](https://www.biorxiv.org/content/10.1101/2024.02.01.578352v1)
- [Pinello Lab](https://pinellolab.org)