pysam

Community

Genomic I/O toolkit for BAM/VCF/FASTA, with tabix and pileup.

Authorovachiever
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pysam provides Python bindings to htslib for efficient reading, writing, and querying of SAM/BAM/CRAM, VCF/BCF, FASTA/FASTQ, plus indexing and pileup analyses, enabling robust NGS pipelines.

Core Features & Use Cases

  • Read/write BAM/CRAM/SAM: Access alignments, fetch regions, and compute coverage.
  • Variant handling: Query and process VCF/BCF data; count and annotate variants.
  • Sequence access: Random access to indexed reference sequences via FastaFile.
  • Workflows: End-to-end pipelines combining alignment, variant, and sequence data.

Quick Start

Open a BAM file, fetch reads in a region, and fetch a FASTA sequence from the reference.

Dependency Matrix

Required Modules

pysam

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pysam
Download link: https://github.com/ovachiever/droid-tings/archive/main.zip#pysam

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.