Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Connecting ViennaRNA to the Wolfram Language for RNA folding
Contributed by: Christopher Wolfram
ViennaRNALink uses the foreign function interface (FFI) to connect Wolfram Language to ViennaRNA, a package used for RNA structure prediction.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["ChristopherWolfram/ViennaRNALink"]
To load the code after installation, evaluate this code:
Needs["ChristopherWolfram`ViennaRNALink`"]
Fold an RNA sequence:
In[1]:= | ![]() |
Out[1]= | ![]() |
Plot it:
In[2]:= | ![]() |
Out[2]= | ![]() |
Get the minimum free energy:
In[3]:= | ![]() |
Out[3]= | ![]() |
Fold random RNA sequences:
In[4]:= | ![]() |
Out[4]= | ![]() |
Fold a long sequence:
In[5]:= | ![]() |
In[6]:= | ![]() |
Out[6]= | ![]() |
Wolfram Language Version 14