Agent skill

bio-codon-usage

Analyze codon usage, calculate CAI (Codon Adaptation Index), and examine synonymous codon bias using Biopython. Use when analyzing coding sequences for expression optimization or evolutionary analysis.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill codon-usage --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 10 KB
Bundled scripts: yes
Path: skills/bioskills/codon-usage/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: BioPython 1.83+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Codon Usage Analyze codon usage patterns and calculate codon adaptation metrics using Biopython. **"Analyze codon usage"** → Count codons in a coding sequence, compute frequencies and bias metrics. - Python: `Counter` on 3-mers + `CodonAdaptationIndex` (BioPython) **"Optimize codons for expression"** → Replace codons with host-preferred synonymous codons using a preference table. - Python: custom mapping dict + `Seq()` (BioPython) ## Required Imports ```python from Bio.Seq import Seq from Bio.SeqUtils import GC123 from Bio.SeqUtils.CodonUsage import CodonAdaptationIndex from Bio.Data import CodonTable from collections import Counter ``` ## Basic Codon Counting **Goal:** Tabulate codon frequencies in a coding sequence. **Approach:** Split the sequence into triplets from the reading frame start,

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Imports
  3. Basic Codon Counting
  4. Count Codons in Sequence
  5. Codon Frequencies (Relative)
  6. Codon Adaptation Index (CAI)
  7. Using CodonUsage Module
  8. CAI with Custom Codon Index
  9. Synonymous Codon Usage
  10. RSCU (Relative Synonymous Codon Usage)
  11. Identify Rare Codons
  12. Codon Bias by Position (GC123)
  13. Codon Tables
  14. Access Codon Tables
Ships with 4 files
  • examples/basic_analysis.py
  • examples/codon_optimization.py
  • examples/rscu_analysis.py
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-codon-usage skill do?

Analyze codon usage, calculate CAI (Codon Adaptation Index), and examine synonymous codon bias using Biopython. Use when analyzing coding sequences for expression optimization or evolutionary analysis.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill codon-usage --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going