Data & ReproBioinformatics & GenomicsFreedomIntelligence/OpenClaw-Medical-SkillsData & Reproduction
BI

bio-compressed-files

Maintainer FreedomIntelligence · Last updated April 1, 2026

Read and write compressed sequence files (gzip, bzip2, BGZF) using Biopython. Use when working with.gz or.bz2 sequence files. Use BGZF for indexable compressed files.

OpenClawNanoClawAnalysisReproductionbio-compressed-files🧬 bioinformatics (gptomics bio-* suite)bioinformatics — sequencing & read qcread

Original source

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-compressed-files

Maintainer
FreedomIntelligence
License
MIT
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • gzip: gzip.open(path, 'rt') (Python stdlib).
  • bzip2: bz2.open(path, 'rt') (Python stdlib).
  • BGZF: bgzf.open(path, 'rt') (BioPython) or direct SeqIO.parse(path, fmt).
  • Handle gzip, bzip2, and BGZF compressed sequence files with Biopython.
  • Read a compressed sequence file" → Open a compressed file handle in text mode, then parse with the standard SeqIO interface. gzip: gzip.open(path, 'rt') (Python stdlib) bzip2: bz2.open(path, 'rt') (Python stdlib) BGZF: bgzf.open(path, 'rt') (BioPython) or direct SeqIO.parse(path, fmt).

Source Doc

Excerpt From SKILL.md

Reading Compressed Files

Goal: Parse sequence records from compressed files without decompressing to disk.

Approach: Open a decompression handle in text mode ('rt'), then pass the handle to SeqIO.parse(). The parser works identically to uncompressed input.

Gzip (.gz) (BioPython 1.83+)

Important: Use 'rt' (read text) mode, not 'rb' (read binary).

BGZF (Block Gzip) (BioPython 1.83+)

BGZF files can be read like regular gzip, but also support indexing:

Use cases

  • Use when working with.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Upstream Related Skills

  • read-sequences - Core parsing functions used with compressed handles
  • write-sequences - Write to compressed output files
  • batch-processing - Process multiple compressed files
  • alignment-files - BAM files use BGZF natively; samtools handles compression

Related skills

Related skills

Back to directory
AG
Data & ReproBioinformatics & Genomics

agent-browser

Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test w…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
AL
Data & ReproBioinformatics & Genomics

alpha-vantage

Access 20+ years of global financial data: equities, options, forex, crypto, commodities, economic indicators, and 50+ technical indicators.

Claude CodeAnalysis
K-Dense-AI/claude-scientific-skillsView
BI
Data & ReproBioinformatics & Genomics

bio-alignment-filtering

Filter alignments by flag, quality, region, or paired status.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproBioinformatics & Genomics

bio-alignment-indexing

Index BAM/CRAM files with samtools index for random access.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView