Skip to main content

Python implementation of codon adaptation index

Project description

cai2 - Codon Adaptation Index

DOI docs PyPI version

An implementation of Sharp and Li's 1987 formulation

of the codon adaption index.

This is an update of cai providing the same functionality, but now works with all python 3 versions. This version also has more tests, some derived from the Sharp and Li 1987 paper above.

This module can be installed with the following command:

$ pip install cai2

Use:

Finding the CAI of a sequence is easy:

from cai2 import CAI
CAI("ATG...", reference=["ATGTTT...", "ATGCGC...",...])
0.24948128951724224

Determining which sequences to use as the reference set is left to the user, though the HEG-DB is a great resource of highly expressed genes.

Citation


Lee, B. D. (2018). Python Implementation of Codon Adaptation Index.

Journal of Open Source Software, 3 (30), 905.

https://doi.org/10.21105/joss.00905

:

@article{Lee2018,

doi = {10.21105/joss.00905},

url = {https://doi.org/10.21105/joss.00905},

year = {2018},

month = {oct},

publisher = {The Open Journal},

volume = {3},

number = {30},

pages = {905},

author = {Benjamin D. Lee},

title = {Python Implementation of Codon Adaptation Index},

journal = {Journal of Open Source Software}


The original creator was benjamin_lee@college.harvard.edu. This version was created by Björn Johansson as it is needed for optional functionality for pydna.

Reference


Sharp, P. M., & Li, W. H. (1987). The codon adaptation index--a measure of directional synonymous codon usage bias, and its potential applications. Nucleic Acids Research, 15(3), 1281–1295.

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

cai2-1.0.5.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cai2-1.0.5-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file cai2-1.0.5.tar.gz.

File metadata

  • Download URL: cai2-1.0.5.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.0 Linux/5.15.0-58-generic

File hashes

Hashes for cai2-1.0.5.tar.gz
Algorithm Hash digest
SHA256 44cd23f4939f29b48b72f7c9d882f0c4b41f500a528f82a585c1425011398bbd
MD5 8a43a7dae1cd3c70b5745513180bb57a
BLAKE2b-256 4c88056c038793728a639911180001311a3674ba2d0e559557a751d51f56ae26

See more details on using hashes here.

File details

Details for the file cai2-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: cai2-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.0 Linux/5.15.0-58-generic

File hashes

Hashes for cai2-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1a9b30b7006defa868e9aabbc1b0ab2e53bc466c3f5b15c41228ba7853babf5f
MD5 e4e9cb56cc159ee0a18e37c9837b4550
BLAKE2b-256 7116afb439b0fa65d55754dc7d737f2d2122509ca3ee724652777e7dc01bdde1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page