Skip to content

dzhang32/codino

Repository files navigation

codino

test-deploy-package Codecov PyPI version

Calculating amino acid frequencies from codon design, and vice versa

Installation

pip install codino

Usage

Below gives a simple example of how to use codino. If you are interested to see how codino performs on more complicated examples, please see the example page of the documentation.

from codino.process import Converter

c = Converter()

# converting from codon design to AA frequencies
c.cd_to_aa(first = {"A": 1}, second = {"T": 1}, third = {"G": 1})
# Out: {'M': 1}

# converting from AA frequency to codon design
c.aa_to_cd(aa={'M': 1})
# Out: ({'A': 1.0}, {'T': 1.0}, {'G': 1.0})

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

codino was created by David Zhang. It is licensed under the terms of the MIT license.

Credits

codino was created with cookiecutter and the py-pkgs-cookiecutter template.

About

Calculating AA frequencies from codon design, and vice versa

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages