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](https://web.cs.ucdavis.edu/~doty/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](https://www.python.org/downloads/) or later.

There are two ways you can install the scadnano Python package:

  1. pip

    Use [pip](https://pypi.org/project/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](https://bootstrap.pypa.io/get-pip.py) should work; see also https://docs.python.org/3/installing/index.html or https://www.liquidweb.com/kb/install-pip-windows/.

  2. download

    As a simple alternative, you can download and place the following file(s) (located in the [scadnano/](https://github.com/UC-Davis-molecular-computing/scadnano-python-package/tree/master/scadnano) subfolder) in your PYTHONPATH (e.g., in the same directory as the scripts you are running):

## Documentation

Online documentation of the package API is located here: https://web.cs.ucdavis.edu/~doty/scadnano/docs/

## Tutorial

A [tutorial](tutorial.md) is available.

## Examples

Several example scripts are located in the [examples/](https://github.com/UC-Davis-molecular-computing/scadnano-python-package/tree/master/examples) subfolder. Their output is contained in the [examples/output_designs/](https://github.com/UC-Davis-molecular-computing/scadnano-python-package/tree/master/examples/output_designs) subfolder.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

scadnano-0.1.1.tar.gz (45.0 kB view details)

Uploaded Source

File details

Details for the file scadnano-0.1.1.tar.gz.

File metadata

  • Download URL: scadnano-0.1.1.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for scadnano-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a1d829b9fc5d338462edec5f428909c1e5db541e2f8ad4d80c58d0111fc0a3fc
MD5 15f8a9e356d0a3d38c6d370ed9a66021
BLAKE2b-256 7187e1f6abb5753f7849a1150f58ad7203125e6fa0b756fc9b84222548a92e95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page