PyQt5 port of cadnano2
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
controllers Check for win before calling win.close Sep 21, 2018
data Add cadnano2 files Jun 21, 2018
dummyqt Add cadnano2 files Jun 21, 2018
include Add cadnano2 files Jun 21, 2018
model
osx Add cadnano2 files Jun 21, 2018
plugins Add cadnano2 files Jun 21, 2018
tests
ui
views
.gitignore Fix file saving in windows Sep 21, 2018
CHANGELOG.md Add cadnano2 files Jun 21, 2018
LICENSE Add cadnano2 files Jun 21, 2018
README.md Add version info to readme Jun 21, 2018
cadnano.bat Add cadnano2 files Jun 21, 2018
cadnano.py Add cadnano2 files Jun 21, 2018
cadnanoqt.py
main.py Add cadnano2 files Jun 21, 2018
spCadNano.py Add cadnano2 files Jun 21, 2018
util.py Add cadnano2 files Jun 21, 2018

README.md

Cadnano2 DNA Origami Software (PyQt5 port)

Overview

Cadnano is computer-aided design software for DNA origami nanostructures. The original citation is here.

This version of Cadnano2 is being maintained by the Douglas Lab to preserve the lattice-based design interface for research purposes. This is not a direct fork of cadnano/cadnano2 because that would result in a 200+ MB download when cloning. We have removed the installer directory and git history, which makes this version less than 3 MB to download, or 11 MB uncompressed.

If you wish to use the newest version of Cadnano that supports Python scripting and non-lattice designs, see cadnano2.5.

Installation

OS X

  • Install homebrew
  • Install python3: brew install python3
  • Optional: Set up a virtualenv (recommended)
  • Install dependencies: pip3 install PyQt5 networkx
  • Clone git repo: git clone https://github.com/douglaslab/cadnano2

Windows

  • Download and install latest python3
  • Optional: Set up a virtualenv (recommended)
  • pip3 install PyQt5 networkx

Linux

  • Optional: Set up a virtualenv (recommended)
  • Install dependencies: pip3 install PyQt5 networkx
  • Clone git repo: git clone https://github.com/douglaslab/cadnano2

Running

  • Open the terminal and navigate to the path of the cadnano2 git repo.
  • python3 main.py

Environment vars

Some environment variables for debugging or customization:

  • CADNANO_DISCARD_UNSAVED: Don't prompt the user to save unsaved changes; just exit.
  • CADNANO_DEFAULT_DOCUMENT On creation of the default document, open the named file (put a path to the file in the value of the environment variable) instead of a blank document.
  • CADNANO_IGNORE_ENV_VARS_EXCEPT_FOR_ME: Turn off other cadnano environment variables.

License

This version of Cadnano2 is available under the MIT License. GUI code that uses PyQt5 or PyQt3D is GPLv3 as required by Riverbank Computing.