Agent skill · Content & Marketing

bio-sequence-statistics

Calculate sequence statistics (N50, length distribution, GC content, summary reports) using Biopython. Use when analyzing sequence datasets, generating QC reports, or comparing assemblies.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-sequence-statistics --agent claude-code

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

Facts
Files in the skill folder: 3
SKILL.md size: 9 KB
Bundled scripts: yes
Path: skills/bio-sequence-statistics/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

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+, samtools 1.19+ 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. # Sequence Statistics **"Calculate N50 and other assembly statistics"** → Compute sequence count, length distribution, N50/L50, GC content, and nucleotide composition for FASTA datasets. - Python: `SeqIO.parse()`, `gc_fraction()` (BioPython) Calculate comprehensive statistics for sequence datasets using Biopython. ## Required Imports ```python from Bio import SeqIO from Bio.SeqUtils import gc_fraction import statistics ``` ## Basic Statistics ### Sequence Count and Total Length ```python records = list(SeqIO.parse('sequences.fasta', 'fasta')) total_seqs = len(records) total_bp = sum(len(r.seq) for r in records) print(f'Sequences: {total_seqs}') print(f'Total bp: {total_bp:,}') ``` ### Length Statistics ```python lengths = [len(r.seq) for r in SeqIO.parse('sequences.fasta', 'fasta'

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Imports
  3. Basic Statistics
  4. Sequence Count and Total Length
  5. Length Statistics
  6. N50 and Nx Statistics
  7. Calculate N50
  8. Calculate Any Nx Value
  9. L50 (Number of Sequences in N50)
  10. GC Content Statistics
  11. Overall GC Content
  12. Per-Sequence GC Distribution
  13. GC Content Histogram Data
  14. Length Distribution
Ships with 2 files
  • examples/seq_stats.py
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-sequence-statistics skill do?

Calculate sequence statistics (N50, length distribution, GC content, summary reports) using Biopython. Use when analyzing sequence datasets, generating QC reports, or comparing assemblies.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-sequence-statistics --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 FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 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