RNAbridge is a professional platform for the analysis of RNA structural motifs. It automates the extraction, categorization, and visualization of complex super-helices and junctions from CIF data, providing a searchable database with interactive 2D and 3D perspectives.
| Integrated Structural Preview | Statistical Insights |
|---|---|
![]() |
![]() |
| Synchronized 2D & 3D Viewer | Automated Geometry Statistics |
- Automated Pipeline: Single-pass analysis from raw CIF files to a structured database.
- Advanced Geometry: Detailed calculation of bend angles, stacking interactions, and coaxial pairings.
- Rich Visuals: Automatic generation of SVG diagrams (via VARNA) and PyMOL scripts.
- Modern Interface: React-based dashboard with Mol* integration for seamless 3D viewing.
- Flexible Storage: Native support for PostgreSQL (production) and SQLite (portable).
The easiest way to run the full stack (Backend, Frontend, and Database) with all system dependencies pre-configured.
Due to licensing, you must provide your own X3DNA distribution:
- Download X3DNA v2.4 from x3dna.org.
- Extract it into the
x3dna-v2.4/directory in the project root.
docker-compose up --build- Web Interface: http://localhost:8000
- API Documentation: http://localhost:8000/docs
If you prefer to run RNAbridge locally (e.g., for development), ensure the following prerequisites are met:
| Tool | Purpose | Note |
|---|---|---|
| Python 3.12+ | Main Logic | Required |
| Docker | Visualizations | Required for cli2rest-bio (VARNA) |
| X3DNA (v2.4) | Helix Analysis | Must be in x3dna-v2.4/ |
| Node.js | Frontend | Only for npm run dev |
| PyMOL | 3D Processing | Recommended |
conda env create -f environment.yml
conda activate rnabridge
# Build frontend once
cd frontend && npm install && npm run build && cd ..
# Start server
python api.pypip install -r requirements.txt
python api.pyPlace your .cif files in the cif/ directory, then trigger the processing:
Using Docker:
docker-compose exec app bash pipeline.shUsing Local Python:
./pipeline.sh-
Web Interface: http://localhost:8000
-
API Documentation:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
-
Development Mode (Local):
- Backend:
python api.py(serves API at:8000) - Frontend (Live Reload):
cd frontend && npm run dev(available at:5173)
- Backend:
RNAbridge uses a centralized config.py. Key environment variables:
DATABASE_URL: Connection string. Defaults to SQLite (sqlite:///rnabridge.db).- PostgreSQL Example:
export DATABASE_URL="postgresql://user:password@localhost:5432/rnabridge"
- PostgreSQL Example:
X3DNA: Path to X3DNA installation (default:./x3dna-v2.4).
- Project License: This project is licensed under the MIT License.
- X3DNA: Users must obtain their own license from x3dna.org.
- RCSB PDB: Structural data is fetched from the Protein Data Bank.
- Damian Zakrzewski
- Tomasz Zok
- Maciej Antczak

