Semi-automated Sanger sequence analysis for plasmid verification.
This package is the result of an internal hackathon at the Novo Nordisk Foundation Center for Biosustainability and represents our approach to improving the workflow of geneticists who need to verify plasmid constructs by Sanger sequencing.
From a Python environment that has Python 3.7 or later installed you can easily
$ pip install sanger-sequencing[analysis]
or use pip3
depending on your environment.
When you import the package, two main components are made available to you: a configuration class that you can instantiate to set some global configuration values and a high level analysis interface.
import sanger_sequencing
config = sanger_sequencing.Configuration()
print(config.threshold)
print(config.output)
You can read more about the meaning of those attributes in the configuration
documentation. The main entry point for doing any kind of analysis is the
sanger_report
function. This function requires three arguments: a
template table of what to analyze, a mapping from plasmid identifiers to their
sequence records (typically coming from Genbank files), and a mapping from
sample identifiers to sequence records (.ab1
files).
from sanger_sequencing.api import sanger_report
You can find the complete documentation at: https://sanger-sequencing.readthedocs.io.
- Copyright © 2018-2020, Novo Nordisk Foundation Center for Biosustainability, Technical University of Denmark.
- Free software distributed under the Apache Software License 2.0.