bio-batch-processing
Process multiple sequence files in batch using Biopython. Use when working with many files, merging/splitting sequences, or automating file operations across directories.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-batch-processing --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## 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. # Batch Processing **"Process all my sequence files in a directory"** → Iterate, merge, split, convert, and generate summary statistics across multiple sequence files. - Python: `SeqIO.parse()`, `Path.glob()` (BioPython, pathlib) Process multiple sequence files efficiently using Biopython. ## Required Imports ```python from pathlib import Path from Bio import SeqIO ``` ## Process Multiple Files ### Iterate Over Files in Directory ```python from pathlib import Path for fasta_file in Path('data/').glob('*.fasta'): records = list(SeqIO.parse(fasta_file, 'fasta')) print(f'{fasta_file.name}: {len(records)} sequences') ``` ### Process All FASTQ Files ```python for fq_file in Path('.').glob('*.fastq'): count = sum(1 for _ in SeqIO.parse(fq_file, 'fastq')) print(f'{fq_file.name}: {count} reads') ``` ###
- Version Compatibility
- Required Imports
- Process Multiple Files
- Iterate Over Files in Directory
- Process All FASTQ Files
- Recursive File Search
- Merge Files
- Merge All FASTA Files
- Merge with Source Tracking
- Merge Specific Files
- Split Files
- Split by Number of Records
- Split by Sequence ID Prefix
- One Sequence Per File
What does the bio-batch-processing skill do?
Process multiple sequence files in batch using Biopython. Use when working with many files, merging/splitting sequences, or automating file operations across directories.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-batch-processing --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.
