About
Pysam is a specialized toolkit that provides a Pythonic interface to htslib, allowing for the efficient manipulation of genomic data formats such as SAM, BAM, CRAM, VCF, and FASTA. It is an essential skill for bioinformatics developers building NGS pipelines, performing depth-of-coverage analysis, or filtering large-scale variant sets. By handling complex coordinate systems and providing direct access to samtools and bcftools commands, it simplifies the development of sophisticated scientific computing workflows within Claude Code.