Blazing-Fast Bioinformatic Operations on Python DataFrames
Pysam is a Python package for reading, manipulating, and writing genomics data such as SAM/BAM/CRAM and VCF/BCF files. It's a lightweight wrapper of the HTSlib API, the same one that powers samtools, bcftools, and tabix.
The main features of pysam-developers/pysam are: Python Bioinformatics Modules.
Open-source alternatives to pysam-developers/pysam include: arq5x/cyvcf — A fast Python library for VCF files leveraging Cython for speed. biodatageeks/polars-bio — Blazing-Fast Bioinformatic Operations on Python DataFrames. brentp/cruzdb — python access to UCSC genomes database. brentp/cyvcf2 — cython + htslib == fast VCF and BCF processing. cokelaer/bioservices — Access to Biological Web Services from Python. daler/pybedtools — Python wrapper -- and more -- for BEDTools (bioinformatics tools for "genome arithmetic").