Skip to main content

Python scripting library for generating designs readable by scadnano.

Project description

# scadnano-python-package

The scadnano Python module is a library for describing synthetic DNA nanostructures (e.g., DNA origami).

This module is used to write Python scripts outputting .dna files readable by [scadnano](, a web application useful for displaying and manually editing these structures. The purpose of this module is to help automate some of the task of creating DNA designs, as well as making large-scale changes to them that are easier to describe programmatically than to do by hand in scadnano.

## Installation

The scadnano Python package requires Python version 3.7 or later. If you do not have that version (or later) of Python installed, follow [this link]( to install it.

Once Python is installed, there are two ways you can install the scadnano Python package:

  1. pip

    Use [pip]( to install the package by executing the following at the command line: `console pip install scadnano `

    If your Python installation does not already have pip installed, you may have to install it. Executing [this Python script]( should work; see also or

  2. download

    As a simple alternative, you can download and place the following file(s) (located in the [scadnano/]( subfolder) in your PYTHONPATH (e.g., in the same directory as the scripts you are running):

    Unfortunately, the scadnano package depends on the Python [xlwt](, so xlwt must be installed. To install, type pip install xlwt at the command line. If this does not work, then you can comment out the line import xlwt in, but then you will not be able to call the method [DNADesign.write_idt_plate_excel_file()]( to export an Excel file with DNA sequences.

## Documentation

Online documentation of the package API is located here:

## Tutorial

A [tutorial](tutorial/ is available.

## Examples

Several example scripts are located in the [examples/]( subfolder. Their output is contained in the [examples/output_designs/]( subfolder.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scadnano, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size scadnano-0.2.0.tar.gz (46.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page