Ensnano
ENSnano, a 3D graphical application for DNA nanostructures.
Install / Use
/learn @thenlevy/EnsnanoREADME
<img src="img/made_with_iced_white.svg" width="300">
This is an archived repository. ENSnano's new repository can be found at https://github.com/ensnano/ensnano
About
ENSnano is a software for designing DNA nanostructures.
ENSnano takes up the concepts of existing DNA nanostructures design softwares such as cadnano and extends them with additional features. Notable features of ENSnano include
- A 3D editable view synchronized with a 2D cadnano-like interface
- 3D and 2D cross-over recommendations based on the structure's geometry
- An interactive and geometry aware copy and paste functionality
Currently, ENSnano can only produces sequences for DNA origamis.
For more details about ENSnano you can checkout the paper introducing it in the proceedings of the DNA27 conference:
<ins> ENSnano: a 3D modeling software for DNA nanostructures </ins> Nicolas Levy and Nicolas Schabanel. DNA 2021 Proceedings of the 27th International Conference on DNA Computing and Molecular Programming [ pdf ]
You can also see here the talk presented at the conference.
Installation
We try to frequently release binaries for Windows and MacOS.
Alternatively you can clone this repository and build the software from source, following instructions below:
Dependencies
All platforms
You need to have the latest Rust compiler installed. See this page.
Note: If you already have Cargo installed but face compilation issues, make sure that you have the latest version by running
rustup update
Linux
You need the GTK3 development packages and a C++ compiler to build the RFD dependency.
-
Debian/Ubuntu:
apt-get install build-essential libgtk-3-dev -
Fedora:
dnf install gtk3-devel -
Archlinux:
pacman -S gtk3
You also need to have the Vulkan driver for your graphic card installed. The installation method depends on your distribution and graphic card, but there should be a tutorial on the internet for any combination of those.
Compiling from source
Clone the repository:
git clone https://github.com/thenlevy/ensnano.git
Then run ENSnano with:
cd ensnano
cargo run --features=log_after_renderer_setup --release
Importing Cadnano/Scadnano files
ENSnano does not currently handles deletions/loops/insertions in its designs. Here is how these features are handled when importing a cadnano/scadnano file
- The nucleotides that are "deleted" are removed from the design
- Insertions are replaced by a single strand on an attributed helix
Example
In this cadnano design, deleted nucleotides are removed and loops are replaced by single strands

In this scadnano design, insertions and loopouts are replaced by single strands

Troubleshooting
Compilations errors
Compilation errors may be happen when using an outdated version of the rust compiler. To solve this run
rustup update
It might also happen that you need to update ENSnano's dependencies before compiling. To do so, run
cargo update
Crash at startup on Windows
By default, ENSnano uses a Vulkan renderer on windows platforms that offers one. However this renderer does not work properly on some machines. For this reason it is also possible to use a DirectX12 renderer instead.
If your program crashes on startup, try using the binary
ensnano-windows-dx12
or, if you are compiling from source, use a DirectX12 renderer with
cargo run --release --features="dx12_only log_after_renderer_setup"
Third-party licenses
The licenses of the dependencies are listed in thirdparties/license.html
This software uses the following fonts which are distributed under the SIL OpenFont License
- Inconsolata-Regular
- Inter (Glyphs from this font are used in the file
font/ensnano2.ttf)
The font font/DejaVuSansMono.ttf is in public domain.
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
