pysam

Package — BioinformaticsPython 3.7+Expert

Read and manipulate SAM/BAM/CRAM alignment files

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
None (C extension wrapping htslib)
Install
pip install pysam

Learn by Difficulty

Quick Example

python
# Install: pip install pysam
import pysam

# Basic pysam usage
print(f"Using pysam")
# See documentation for detailed examples

pysam is a third-party package. Read and manipulate SAM/BAM/CRAM alignment files. Install with: pip install pysam

Try in Playground

Tags

packagebioinformaticsgenomicslife-science