Agent skill · Content & Marketing

bio-filter-sequences

Filter and select sequences by criteria (length, ID, GC content, patterns) using Biopython. Use when subsetting sequences, removing unwanted records, or selecting by specific criteria.

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

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

Facts
Files in the skill folder: 3
SKILL.md size: 7 KB
Bundled scripts: yes
Path: skills/bio-filter-sequences/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. # Filter Sequences **"Filter sequences by length, quality, or content"** → Apply boolean criteria to a stream of sequence records and write survivors to output. - Python: generator expression with `SeqIO.parse()` + `SeqIO.write()` (BioPython) - CLI: `seqkit seq -m 200` (SeqKit) or `awk` on FASTA Filter and select sequences based on various criteria using Biopython. ## Required Imports ```python from Bio import SeqIO from Bio.SeqUtils import gc_fraction ``` ## Core Pattern Use generator expressions for memory-efficient filtering: ```python records = SeqIO.parse('input.fasta', 'fasta') filtered = (rec for rec in records if len(rec.seq) >= 100) SeqIO.write(filtered, 'output.fasta', 'fasta') ``` ## Filter by Length ### Minimum Length ```python records = SeqIO.parse('input.fasta', 'fas

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Imports
  3. Core Pattern
  4. Filter by Length
  5. Minimum Length
  6. Length Range
  7. Remove Short Sequences
  8. Filter by ID
  9. Select Specific IDs
  10. Select from ID File
  11. Exclude Specific IDs
  12. Filter by ID Pattern
  13. Filter by GC Content
  14. High GC Sequences
Ships with 2 files
  • examples/filter_seqs.py
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-filter-sequences skill do?

Filter and select sequences by criteria (length, ID, GC content, patterns) using Biopython. Use when subsetting sequences, removing unwanted records, or selecting by specific criteria.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-filter-sequences --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