degenerate-dna

Python implementation of the Degen Perl package by Zwick et al.


License
BSD-3-Clause
Install
pip install degenerate-dna==0.0.9

Documentation

degenerate-dna

tests
package PyPI Package latest release PyPI Wheel Supported versions Supported implementations

Python implementation of the Degen Perl package by Zwick et al.

http://www.phylotools.com/ptdegenoverview.htm

Usage

>>> from degenerate_dna import Degenera
>>> dna = 'AGTTCT'
>>> res = Degenera(dna=dna, table=1, method='S')
>>> res.degenerate()
>>> res.degenerated
'AGYAGY'

Installation

pip install degenerate-dna

Requirements

python 2.6, 2.7, 3.3, 3.4, 3.5

Licence

BSD

Authors

Carlos Peña.