Skip to content

Visualize global properties of large RNAs using GraphViz force-directed layout.

License

Notifications You must be signed in to change notification settings

rkretsch/RiboGraphViz

 
 

Repository files navigation

RiboGraphViz

Visualize global properties of large RNAs using force-directed layout from GraphViz.

Authors:

  • Hannah Wayment-Steele
  • Credit to utils from Rhiju Das' ToyFold-1D code. Above: MS2 bacteriophage genome structure, colored by prob(unpaired), calculated in EternaFold.

Below: Visualizing the MFE structure and p(unpaired) of an mRNA for eGFP at increasing temperatures in Vienna.

Note: Not intended for detailed layouts -- loops may switch orientation in z-axis.

To set up:

sudo pip install -r requirements.txt
sudo python setup.py install

You'll need to use Python3; Python2 won't work.

Tips for Mac users: if you're stuck with Python 2, setting up a virtual environment (e.g., with conda environment) to install Python3 might be a good choice. You may also need to install pygraphviz -- which does not work with conda, but does work with brew and pip install, as noted here.

See examples.ipynb for example usage.

Below: Vienna MFE structures of 20 randomly-generated RNAs.

About

Visualize global properties of large RNAs using GraphViz force-directed layout.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 95.5%
  • Python 4.5%