Agent skill

bio-write-sequences

Write biological sequences to files (FASTA, FASTQ, GenBank, EMBL) using Biopython Bio.SeqIO. Use when saving sequences, creating new sequence files, or outputting modified records.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-write-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: 6 KB
Bundled scripts: yes
Path: skills/bio-write-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+, pysam 0.22+, 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. # Write Sequences **"Write sequences to a file"** → Serialize SeqRecord objects into a formatted sequence file. - Python: `SeqIO.write()` (BioPython) - R: `writeXStringSet()` (Biostrings) Write SeqRecord objects to sequence files using Biopython's Bio.SeqIO module. ## Required Import ```python from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord ``` ## Core Functions ### SeqIO.write() - Write Records to File Write one or more SeqRecord objects to a file. ```python SeqIO.write(records, 'output.fasta', 'fasta') ``` **Parameters:** - `records` - Single SeqRecord, list, or iterator of SeqRecords - `handle` - Filename (string) or file handle - `format` - Output format string **Returns:** Number of records written (integer) ### record.format() -

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Import
  3. Core Functions
  4. SeqIO.write() - Write Records to File
  5. record.format() - Get Formatted String
  6. Creating SeqRecord Objects
  7. Minimal SeqRecord
  8. Full SeqRecord
  9. With Annotations (for GenBank output)
  10. Common Formats
  11. Code Patterns
  12. Write Single Record
  13. Write Multiple Records
  14. Write to File Handle
Ships with 2 files
  • examples/basic_writing.py
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-write-sequences skill do?

Write biological sequences to files (FASTA, FASTQ, GenBank, EMBL) using Biopython Bio.SeqIO. Use when saving sequences, creating new sequence files, or outputting modified records.

How do I install it?

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