skip to navigation
skip to content

Not Logged In

co 0.1.0

Python library for copying DNA components with mutations

Latest Version: 0.2.0

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())
 
File Type Py Version Uploaded on Size
co-0.1.0.tar.gz (md5) Source 2014-05-27 15KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 51 downloads in the last week
  • 442 downloads in the last month