Hello, I've tried to install and import viennaRNA python package on a windows computer in many different ways, but none of them succeeded. (eventually I always get to 'no module named 'RNA'' message). Do anyone know what will be the right way to do so? I could not find any detailed guide. Alternatively, are there any other good python packages that calculates RNA MFE? Thank you!
If anyone else encounters this problem I found a workaround: after downloading and installing the software from https://www.tbi.univie.ac.at/RNA/index.html#pack_windows you will get many EXEs files with the different viennaRNA features. Instead of installing to package you can run these EXEs from your python using: from subprocess import Popen, PIPE p = subprocess.Popen('RNAfold.exe', stdin=PIPE, stdout=PIPE) ans = p.communicate('ATGTTGGGTTCCCCGTGTTGAAAATGTGAAGTAT'.encode())