All Projects → douglaslab → cadnano2

douglaslab / cadnano2

Licence: other
Cadnano2

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to cadnano2

SimpleCad
A basic CAD-like control surface for winforms.
Stars: ✭ 81 (+252.17%)
Mutual labels:  cad
snaily-cadv3
> https://github.com/SnailyCAD/snaily-cadv4
Stars: ✭ 37 (+60.87%)
Mutual labels:  cad
spydrnet
A flexible framework for analyzing and transforming FPGA netlists. Official repository.
Stars: ✭ 49 (+113.04%)
Mutual labels:  cad
Semblage
Semblage is an open source CAD GUI backed by a programmatic CAD API named CadQuery.
Stars: ✭ 35 (+52.17%)
Mutual labels:  cad
creopyson
Python library for Creoson (http://www.creoson.com)
Stars: ✭ 37 (+60.87%)
Mutual labels:  cad
paramak
Create parametric 3D fusion reactor CAD and neutronics models
Stars: ✭ 40 (+73.91%)
Mutual labels:  cad
paramak
Create parametric 3D fusion reactor CAD models
Stars: ✭ 36 (+56.52%)
Mutual labels:  cad
foxtrot
A fast, experimental STEP file viewer
Stars: ✭ 151 (+556.52%)
Mutual labels:  cad
ACadSharp
C# library to read/write cad files like dxf/dwg.
Stars: ✭ 120 (+421.74%)
Mutual labels:  cad
TairString
A redis module, similar to redis string, but you can set expire and version for the value. It also provides many very useful commands, such as cas/cad, etc.
Stars: ✭ 99 (+330.43%)
Mutual labels:  cad
elmyra
An experimental blender-based rapid iterative visualization system
Stars: ✭ 31 (+34.78%)
Mutual labels:  cad
AWESOME-LDraw
LDraw — awesome software, file format, parts library and model repository (3D models of LEGO® and LEGO-compatible bricks)
Stars: ✭ 30 (+30.43%)
Mutual labels:  cad
range3
Range Software - Finite Element Analysis
Stars: ✭ 31 (+34.78%)
Mutual labels:  cad
MonkeyCAM
CAD/CAM software for ski and snowboard design and G-code program generation.
Stars: ✭ 34 (+47.83%)
Mutual labels:  cad
ruststep
A STEP toolkit for Rust
Stars: ✭ 77 (+234.78%)
Mutual labels:  cad
xcsg
XML based Constructive Solid Geometry based on carve
Stars: ✭ 24 (+4.35%)
Mutual labels:  cad
Fusion360-Scripts
A collection of Fusion360 scripts, mostly for generating animations
Stars: ✭ 60 (+160.87%)
Mutual labels:  cad
gdstk
Gdstk (GDSII Tool Kit) is a C++/Python library for creation and manipulation of GDSII and OASIS files.
Stars: ✭ 171 (+643.48%)
Mutual labels:  cad
Limbo
Library for VLSI CAD Design Useful parsers and solvers' api are implemented.
Stars: ✭ 84 (+265.22%)
Mutual labels:  cad
3d-printing-high-security-key
Get Your 3D Printed High Security Key
Stars: ✭ 125 (+443.48%)
Mutual labels:  cad

Cadnano2 DNA Origami Design Software

Overview

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

Installation

macOS

  • Install homebrew
  • Install python3: brew install python3
  • Create a virtualenv: python3 -m venv ~/virtualenvs/cn24x
  • Activate virtualenv: source ~/virtualenvs/cn24x/bin/activate
  • Install via pip: pip3 install cadnano2

Linux

  • Create a virtual env: python3 -m venv ~/virtualenvs/cn24x
  • Activate the venv: source ~/virtualenvs/cn24x/bin/activate
  • Install from PyPI: pip3 install cadnano2

Windows (tested for Python 3.10.4)

  • Download and install latest python3
  • Use "Manage app execution aliases" to disable launching "App Installer" via any python executables.
  • Add python app folder to your system path, e.g. C:\Users\shawn\AppData\Local\Programs\Python\Python310\
  • Add scripts folder to your system path, e.g. C:\Users\shawn\AppData\Local\Programs\Python\Python310\Scripts\
  • Open command prompt (cmd.exe) and confirm you can run "python" and "pip".
  • Install Cadnano via pip: pip install cadnano2

Running

macOS or Linux

  • Open the Terminal
  • (macOS or Linux) Activate virtual env:
    • source ~/virtualenvs/cn24x/bin/activate
  • Run the app: cadnano2

Windows

  • Open the Command Prompt
  • Run the app: cadnano2

macOS alias

  • Add to ~/.zprofile: alias cn2="source ~/virtualenvs/cn24x/bin/activate && cadnano2"
  • Open new Terminal and run: cn2

Upgrading

  • Open the Terminal
  • Activate virtual env: source ~/virtualenvs/cn24x/bin/activate
  • Upgrade via pip: pip install --upgrade cadnano2

Development

Setup a dev environment (Mac or Linux)

  • Create a virtualenv: python3 -m venv ~/virtualenvs/cn24dev
  • Activate virtualenv: source ~/virtualenvs/cn24dev/bin/activate
  • Install PyQt6: pip install pyqt6
  • Clone repo: git clone [email protected]:douglaslab/cadnano2.git
  • Change directory: cd cadnano2
  • Make desired code edits
  • Build and install: python setup.py install
  • Test: cadnano2
  • Repeat previous 3 steps as needed

Setup a dev environment (Windows)

  • Install venv: pip install virtualenv
  • Create a virtualenv: python -m venv virtualenvs\cn24dev (e.g. in %homepath%)
  • Activate virtualenv: virtualenvs\cn24dev\Scripts\activate
  • Install PyQt6: pip install pyqt6
  • Clone repo: git clone [email protected]:douglaslab/cadnano2.git
  • Change directory: cd cadnano2
  • Make desired code edits
  • Build and install: python setup.py install
  • Test: cadnano2
  • Repeat previous 3 steps as needed

Build new dist and upload to PyPi

  • pip install build twine <- install build and twine
  • cd /path/to/cadnano2/
  • python3 -m build creates dist/cadnano2-x.y.z.tar.gz and cadnano2-x.y.z-py3-none-any.whl
  • python3 -m twine upload dist/cadnano2-x.y.z*

Version notes

This version of Cadnano2 is maintained by the Douglas Lab. It is derived from cadnano/cadnano2.

If you wish to use the Cadnano Python API for scripting, see cadnano2.5.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].