Skip to content

WillTKaufhold1/cadnano_dev

Repository files navigation

Cadnano2 DNA Origami Software (PyQt5 port)

This is the location of my (Will Kaufhold) changes to Cadnano2

Mostly we want to work with non-scaffold based origami, so exporting all sequences, including that of what Cadnano thinks is a scaffold is pretty important... have made the change to accomodate this.

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.

About

My fixes for Cadnano2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages