Python implementation of codon adaptation index
Project description
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
File details
Details for the file CAI-1.0.2.tar.gz
.
File metadata
- Download URL: CAI-1.0.2.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93dd6d603afd3c75d5cdb6fb6b9e2f49f136a5f62487e493ae2bc82ed620e3bf |
|
MD5 | b07e614c828e1f153c803c3a97c1f61b |
|
BLAKE2b-256 | 786920f57c4a2f1d27653f1628eda1c5eb935c7cbd3f0a21abd7c4738a0eda09 |