
# regLM
regLM is a toolkit for training hyenaDNA-based autoregressive language models on DNA sequences and generating novel regulatory elements.

![regLM schematic](fig1.png)

## Documentation

[Documentation](https://genentech.github.io/regLM)

## Tutorials

[Tutorials](tutorials)

## Installation

### 1. Install HyenaDNA
To use regLM, first install HyenaDNA from GitHub following the instructions: https://github.com/HazyResearch/hyena-dna

### 2. Install regLM
```
git clone https://github.com/Genentech/regLM.git
cd regLM
pip install .
```

## Citation

Lal A, et al. 2024. Designing realistic regulatory DNA with autoregressive language models. Genome Research. doi: 10.1101/gr.279142.124

Code used to perform the experiments in the regLM paper, along with trained model weights and synthetic sequences, are available at [Zenodo](https://zenodo.org/records/12668907).
