Skip to main content

Python implementation of codon adaptation index

Project description

DOI Documentation Status Travis CodeFactor PyPI

An implementation of Sharp and Li’s 1987 formulation of the codon adaption index.

Installation

This module is available from PyPi and can be downloaded with the following command:

$ pip install CAI

To install the latest development version:

$ pip install git+https://github.com/Benjamin-Lee/CodonAdaptationIndex.git

Quickstart

Finding the CAI of a sequence is easy:

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

Similarly, from the command line:

$ CAI -s sequence.fasta -r reference_sequences.fasta
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.

Contributing and Getting Support

If you encounter any issues using CAI, feel free to create an issue.

To contribute to the project, please create a pull request. For more information on how to do so, please look at GitHub’s documentation on pull requests.

Citation

Benjamin Lee. (2017). Python Implementation of Codon Adaptation Index. Zenodo. http://doi.org/10.5281/zenodo.843854

JOSS citation coming soon.

Contact

I’m available for contact at benjamin_lee@college.harvard.edu.

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

CAI-1.0.2.tar.gz (5.8 kB view hashes)

Uploaded Source

Supported by

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