This repository contains the official implementation of the paper: "Genome-wide mining and de novo designing of plant enhancers".
First, clone the repository:
git clone https://github.com/shiyegao/BaseSearch.git
cd BaseSearchThen, install the uv package manager.
Once uv is installed, install the project dependencies:
uv syncTo train enhancer activity regressors, run the following commands:
uv run adaboost_reg.py
uv run rf_reg.py
uv run convnet_reg.pyYou can modify the model hyperparameters in the corresponding configuration files located at: conf/regression.
To accelerate the design process, you can reduce the num_iterations parameter in the config file: conf/design.
If you’d like to log experiments with wandb, set the use_wandb to True in the config file.
Also, specify your wandb_proj_name and entity.
Run the BaseSearch algorithm with:
uv run design.py conf/design/basesearch.pyYou can also run several baseline enhancer design strategies:
uv run design.py conf/design/random.py
uv run design.py conf/design/random_single.py
uv run design.py conf/design/beam.py
uv run design.py conf/design/anneal.py
uv run design.py conf/design/mcts.py
uv run design.py conf/design/ga.py