Pysam Genomic Toolkit
Reads, manipulates, and writes genomic datasets including BAM, VCF, and FASTA files using a Pythonic interface to htslib.
Pysam is a specialized skill for bioinformaticians and developers working with Next-Generation Sequencing (NGS) data. It provides high-performance access to genomic file formats like SAM/BAM/CRAM for alignments, VCF/BCF for variants, and FASTA/FASTQ for sequences. By wrapping the htslib C-library, it allows Claude to perform complex tasks such as region-based fetching, pileup analysis for depth calculation, and the execution of samtools or bcftools commands directly within Python scripts, making it ideal for building robust genomic analysis pipelines and quality control workflows.
주요 기능
01Advanced variant manipulation for VCF and BCF files including genotype access.
02Random access to indexed FASTA reference sequences and FASTQ processing.
03Comprehensive read/write support for SAM, BAM, and CRAM alignment files.
04Direct integration with samtools and bcftools command-line utilities.
05Per-base coverage analysis using htslib-powered pileup engines.
063,719 GitHub stars
사용 사례
01Performing quality control and coverage statistics on large-scale sequencing datasets.
02Extracting specific genomic regions or gene sequences for downstream biological analysis.
03Developing automated NGS pipelines for alignment processing and variant calling.