conda create -n pt36 python=3.6
conda activate pt36
pip install torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio==0.10.1 -f https://download.pytorch.org/whl/cu111/torch_stable.html
cd PLANNER
python -m pip install --editable .
python -m pip install -r requirements.txt
Here are DNABERT models:
If you want to use DNABERT models, please cite the following publication:
Yanrong Ji, Zhihan Zhou, Han Liu, Ramana V Davuluri, DNABERT: pre-trained Bidirectional Encoder Representations from Transformers model for DNA-language in genome, Bioinformatics, 2021;, btab083, https://doi.org/10.1093/bioinformatics/btab083
If you are going to fine-tune DNABERT with your own data, please process your data into kmer format. The example is shown in below.
sequence label
TGG GGA GAG AGG GGT 1
CAG AGC GCC CCC CCA 0
ATT TTG TGG GGA GAG 0
We use DNABERT-3 model as example.
python fine-tune.py
Python pipeline.py --cell_type A
All model we trained are provided at web server http://planner.unimelb-biotools.cloud.edu.au/
If you want to use PLANNER, please cite the following publication: C. Wang et al., "PLANNER: A Multi-Scale Deep Language Model for the Origins of Replication Site Prediction," in IEEE Journal of Biomedical and Health Informatics, vol. 28, no. 4, pp. 2445-2454, April 2024, doi: 10.1109/JBHI.2024.3349584