Skip to main content

Python library for copying DNA components with mutations

Project description

Co is a Python library for altering annotated DNA sequences. It keeps track of components and lifts over feature annotations when a component is “mutated” by applying a series of mutations. With co you can build new consensus sequences for cloned organisms and follow changes to feature annotations within a lineage.

>>> from co import Component
>>> from co.mutations import *
>>> hi_x = Component('Hello X!')
>>> hi_x.seq
Seq('Hello X!', Alphabet())
>>> hi_world = hi_x.mutate([Mutation(6, 1, 'world')])
>>> hi_world.seq
Seq('Hello world!', Alphabet())

Project details


Release history Release notifications

History Node

0.2.0

History Node

0.1.2

History Node

0.1.1

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
co-0.1.0.tar.gz (16.3 kB) Copy SHA256 hash SHA256 Source None May 27, 2014

Supported by

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