Sign inSign up

getwilds/viennarna

Sponsored OSS

By Fred Hutch Data Science Lab

•Updated 6 months ago

Docker image for ViennaRNA in Fred Hutch OCDO's WILDS

Image
0

842

getwilds/viennarna repository overview

⁠ViennaRNA

This directory contains Docker images for ViennaRNA⁠, a widely used package for RNA secondary structure prediction, comparison, and analysis.

⁠Available Versions

⁠Image Details

These Docker images are built from ubuntu:24.04 and include:

  • ViennaRNA v2.7.2: A comprehensive suite of tools for RNA secondary structure prediction, partition function calculations, suboptimal structure enumeration, RNA-RNA interaction prediction, and sequence design

ViennaRNA is compiled from upstream source with the Python, Perl, and SWIG bindings disabled to keep the image focused on the command-line tools (RNAfold, RNAalifold, RNAeval, RNAsubopt, RNAinverse, etc.) and minimize image size. If you need the language bindings, please file an issue.

⁠Citation

If you use ViennaRNA in your research, please cite the original authors:

Lorenz, R., Bernhart, S.H., Höner zu Siederdissen, C., Tafer, H., Flamm, C.,
Stadler, P.F. and Hofacker, I.L. (2011). ViennaRNA Package 2.0.
Algorithms for Molecular Biology, 6:26.
https://doi.org/10.1186/1748-7188-6-26

Tool homepage: https://www.tbi.univie.ac.at/RNA/⁠

GitHub: https://github.com/ViennaRNA/ViennaRNA⁠

⁠Usage

⁠Docker
# Pull the latest version
docker pull getwilds/viennarna:latest

# Or pull a specific version
docker pull getwilds/viennarna:2.7.2

# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/viennarna:latest
⁠Singularity/Apptainer
# Pull the latest version
apptainer pull docker://getwilds/viennarna:latest

# Or pull a specific version
apptainer pull docker://getwilds/viennarna:2.7.2

# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/viennarna:latest
⁠Example Commands
# Predict minimum free energy (MFE) structure of an RNA sequence
echo "GAGUAGUGGAACCAGGCUAUGUUUGUGACUCGCAGACUAACA" | docker run --rm -i getwilds/viennarna:latest RNAfold

# Predict MFE structure from a FASTA file
docker run --rm -v /path/to/data:/data getwilds/viennarna:latest \
  RNAfold --infile=/data/sequences.fa --outfile=/data/structures.txt

# Compute suboptimal structures within 5 kcal/mol of MFE
echo "GAGUAGUGGAACCAGGCUAUGUUUGUGACUCGCAGACUAACA" | docker run --rm -i getwilds/viennarna:latest \
  RNAsubopt -e 5

# Predict consensus structure from a multiple sequence alignment
docker run --rm -v /path/to/data:/data getwilds/viennarna:latest \
  RNAalifold /data/alignment.aln

# Design a sequence that folds into a target structure (inverse folding)
echo "(((...)))" | docker run --rm -i getwilds/viennarna:latest RNAinverse

# Alternatively using Apptainer
echo "GAGUAGUGGAACCAGGCUAUGUUUGUGACUCGCAGACUAACA" | apptainer run docker://getwilds/viennarna:latest RNAfold

⁠Dockerfile Structure

The Dockerfile follows these main steps:

  1. Uses ubuntu:24.04 as the base image
  2. Adds metadata labels for documentation and attribution
  3. Installs pinned build and runtime dependencies (build-essential, libgsl-dev, libmpfr-dev, liblapack-dev, liblapacke-dev, and their runtime counterparts) via apt-get
  4. Downloads the ViennaRNA v2.7.2 source tarball from the official TBI Vienna download site
  5. Configures the build with --disable-lto and --without-{swig,perl,python,doc,forester,kinfold,rnalocmin}, then compiles and installs via make && make install
  6. Runs smoke tests to verify RNAfold, RNAalifold, and RNAeval are functional
  7. Purges the build-only packages and removes source artifacts and apt lists to minimize image size

⁠Security Scanning and CVEs

These images are regularly scanned for vulnerabilities using Docker Scout. However, due to the nature of bioinformatics software and their dependencies, some Docker images may contain components with known vulnerabilities (CVEs).

Use at your own risk: While we strive to minimize security issues, these images are primarily designed for research and analytical workflows in controlled environments.

For the latest security information about this image, please check the CVEs_*.md files in this directory⁠, which are automatically updated through our GitHub Actions workflow. If a particular vulnerability is of concern, please file an issue⁠ in the GitHub repo citing which CVE you would like to be addressed.

⁠Source Repository

These Dockerfiles are maintained in the WILDS Docker Library⁠ repository.


Tag summary

Content type

Image

Digest

sha256:21aa7b7cb…

Size

435 MB

Last updated

6 months ago

docker pull getwilds/viennarna