pysam
Genomic file toolkit. Read/write SAM/BAM/CRAM alignments, VCF/BCF variants, FASTA/FASTQ sequences, extract regions, calculate coverage, for NGS data processing pipelines.
Target: Target not categorized. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Pysam
- Overview
- When to Use This Skill
- Quick Start
- Installation
- Basic Examples
- Core Capabilities
- 1. Alignment File Operations (SAM/BAM/CRAM)
Pysam is a Python module for reading, manipulating, and writing genomic datasets. Read/write SAM/BAM/CRAM alignment files, VCF/BCF variant files, and FASTA/FASTQ sequences with a Pythonic interface to htslib. Query tabix-indexed files, perform pileup analysis for coverage, and execute samtools/bcftools commands. This skill should be used when: Working with sequencing alignment files (BAM/CRAM) Analyzing genetic variants (VCF/BCF) Extracting reference sequences or gene regions Processing raw sequencing data (FASTQ) Calculating coverage or read depth Implementing bioinformatics analysis pipelines Quality control of sequencing data Variant calling and annotation workflows Read alignment file: Read variant file: Query reference sequence: Use the AlignmentFile class to work with aligned sequencing reads. This is appropriate for analyzing mapping results, calculating coverage, extracting reads, or quality control. Common operations: Open and read BAM/SAM/CRAM files Fetch reads from specific genomic regions Filter reads by mapping quality, flags, or other criteria Write filtered or modified alignments Calculate coverage statistics Perform pileup analysis (base-by-base coverage) Access rea
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- davila7/claude-code-templates
- Source file
- cli-tool/components/skills/scientific/pysam/SKILL.md
- Fixed revision
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:40.299Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.