pepkio-codon-code-lens
A Python client for programmatic 6-frame sequence translation, NCBI genetic code table mapping, open reading frame (ORF) discovery, and relative synonymous codon usage (RSCU) analytics.
What It Does
pepkio-codon-code-lens provides Python bindings and a command-line interface to evaluate DNA and RNA sequences. It translates nucleotide data across all 6 reading frames using canonical and non-canonical NCBI genetic code tables, calculates position-specific GC content ($GC_1, GC_2, GC_3$) and codon bias metrics, detects candidate open reading frames, and estimates protein physicochemical parameters.
Features
- NCBI Genetic Code Tables: Supports standard (Table 1) and non-standard genetic codes (e.g., mitochondrial, ciliate, and bacterial/archaeal tables).
- 6-Frame Translation: Computes forward (+1, +2, +3) and reverse-complement (-1, -2, -3) reading frames.
- ORF Discovery: Identifies coding regions with customizable minimum length and start/stop codon criteria.
- Codon Bias Analytics: Calculates absolute codon counts, relative frequencies, Relative Synonymous Codon Usage (RSCU), and position-specific GC content.
- Protein Property Prediction: Predicts molecular weight, isoelectric point ($pI$), molar extinction coefficient, net charge at pH 7.4, and GRAVY hydropathicity scores.
- Automation Interfaces: Synchronous and asynchronous Python client API alongside a CLI for pipeline integration.
Installation
Install the package via pip:
pip install pepkio-codon-code-lens
Quick Example
from pepkio_codon_code_lens import PepkioClient
with PepkioClient() as client:
# 6-frame translation with NCBI Table 1 (Standard Code)
result = client.run({
"tab": "translate",
"genetic_code": 1,
"sequence": "ATGGTGAGCAAGGGCGAGGAGCTGTTCACCGGGGTGGTGCCCATCCTGGTCGAGCTGGACGGCGACGTAAACGGCCACAAGTTC",
"frame": "all",
"display_format": "compact"
})
print("Status:", result.status)
print("Forward Frame 1:", result.result.get("translate", {}).get("frame_plus_1"))
Typical Use Cases
- Recombinant Gene Design: Evaluate host-specific codon bias and rare codon frequency before gene synthesis for heterologous expression in E. coli or yeast.
- Organellar Genome Translation: Translate mitochondrial or plastid genomic sequences using non-canonical NCBI translation tables.
- Transcriptome Annotation: Identify functional open reading frames across unannotated de novo transcriptomic contigs.
- Synonymous Mutation Analysis: Screen synonymous codon swaps to modify restriction sites while preserving primary amino acid sequences.
Scientific Background
Translating nucleotide sequences into amino acid sequences requires mapping 64 triplet codons to 20 standard amino acids and stop signals. While most nuclear genomes use the standard genetic code (NCBI Table 1), organellar genomes and certain microorganisms utilize alternative codes where canonical stop codons encode amino acids (e.g., UGA encoding Tryptophan in vertebrate mitochondria). Codon usage bias describes the non-uniform frequency of synonymous codons in a genome, measured quantitatively by Relative Synonymous Codon Usage (RSCU).
Web Application
For researchers who prefer a graphical interface, an interactive web version is available.
Web Application: https://www.pepkio.com/tools/codon-code-lens
The web application includes interactive visual codon maps, side-by-side frame comparisons, downloadable worksheets, and shareable analysis links.
Documentation and Resources
GitHub Repository: https://github.com/pepkio/pepkio-codon-code-lens
Web Application: https://www.pepkio.com/tools/codon-code-lens
About Pepkio
Pepkio (https://www.pepkio.com/) develops software tools and bioinformatics solutions for life science researchers, including laboratory calculators and analysis services (https://www.pepkio.com/cro).
Keywords
- codon code lens
- genetic code table
- 6 frame translation
- open reading frame
- ORF finder
- codon usage bias
- RSCU calculator
- NCBI genetic codes
- reverse complement translation
- protein physicochemical properties
- isoelectric point calculator
- molecular weight prediction
- sequence translation python
- codon optimization
- heterologous gene expression
- mitochondrial genetic code
- GC content calculator
- GC1 GC2 GC3
- amino acid translation
- synonymous codon usage
- bioinformatics python package
- peptide property calculator
- GRAVY score calculator
- recombinant protein expression
- reading frame analysis
- 6 frame dna translation python
- ncbi genetic code table translator
- relative synonymous codon usage rscu
- open reading frame orf finder python
- reverse complement sequence translator
- protein molecular weight and pi calculator
- codon usage bias analysis tool
- organellar genome sequence translation
- position specific gc content calculator
- host codon adaptation checker
Metadata
Release files for pepkio-codon-code-lens 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pepkio_codon_code_lens-0.1.0.tar.gz | 6.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pepkio_codon_code_lens-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / pepkio_codon_code_lens-0.1.0.tar.gz
| Download URL | pepkio_codon_code_lens-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1abf757e452c0f519639dbb1e24cf99ac02e7d05f3b0a10dd904c71d1074acfc
|
|
BLAKE2b-256 checksum How to use checksums |
c4e0e68e7cca10d8cb202552df2c1b3c2ced3dbdab103a3b311181c72f966801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pepkio_codon_code_lens-0.1.0-py3-none-any.whl
| Download URL | pepkio_codon_code_lens-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bf745ab4cd9bebe5a3a970cef85f359915e321c576880b0687392f74a7e25bf
|
|
BLAKE2b-256 checksum How to use checksums |
8383c3da5699dde8ea320fd57630e34c6b69c91e1c2245b56e689372cafcdcc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pepkio-codon-code-lens 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.