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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
co-0.1.0.tar.gz
(16.3 kB
view hashes)