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 details)
File details
Details for the file co-0.1.0.tar.gz.
File metadata
- Download URL: co-0.1.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82e861beffefa260c69ed4fedd60effd37c343551379f37c9540bde9a8098afb
|
|
| MD5 |
eefe11fc33c3c5ee9b591c6d73b58e67
|
|
| BLAKE2b-256 |
55e3e286117d1b7d4da1f06ae367614af7110a8ce11d7734bf04279552ca3e54
|