Bio Compressed Files

Read, write, and index compressed sequence files (gzip, bzip2, xz, BGZF) with Biopython and bgzip/samtools. Use when working with .gz, .bz2, or .bgz sequence files, when random access into a compressed FASTA/FASTQ is needed, or when SeqIO.index/faidx/tabix rejects a plain .gz. Covers the BGZF-vs-gzip seekability asymmetry, the 'rt'-not-'rb' handle trap, virtual offsets, and gzip-to-BGZF conversion.

pku-yuangroup Updated

File contents

pku-yuangroup/openai4s/tree/main/skills/bioskills/bio-sequence-io-compressed-files commit 82208e7bb6

Frequently asked questions

npx skillmds@latest add pku-yuangroup/bio-compressed-files