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:
$ git clone https://github.com/Benjamin-Lee/CodonAdaptationIndex.git $ cd CodonAdaptationIndex/ $ pip install -e .
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
Feel free to contribute, open issues, or let me know about bugs. Anything is welcome!
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.0.tar.gz
.
File metadata
- Download URL: CAI-1.0.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc19a36caed4331926eaa401cc0bddd9de5688f4147eb060a3b06d6d8234137 |
|
MD5 | 61cb45e95905479ff7d8e8aee781c87b |
|
BLAKE2b-256 | ba3045d2293d937b49475aa8ac7ab1e970ae08f74aef29f562d777e15deffe6d |