The implementation of the paper "Accurate prediction of RNA secondary structure including pseudoknots through solving minimum-cost flow with learned potentials".
Install PyTorch 1.6+, python 3.7+
Clone the repo
git clone https://github.com/gongtiansu/KnotFold.git
Install python packages
cd KnotFold
pip install -r requirements.txt
python KnotFold.py -i <RNA_fasta> -o <output_dictionary> (--cuda)
KnotFold_mincostflow <prior_probability> <reference_probability>
g++ KnotFold_mincostflow.cc -o KnotFold_mincostflow -std=c++0x -O2
cd example
./run_example.sh
We provide training code for KnotFold.
Distributed under the MIT License. See LICENSE
for more information.