Skip to content
ai101.tools
navigateopenescclose
Claude+372Whisper+228LangChain+168Codex+223NotebookLM+276DALL-E 3+192DeepL+249n8n+208Topaz Video AI+153LlamaIndex+161
pysam logo
Skill

pysam

Reads and writes BAM, CRAM and VCF files from Python through HTSlib.

0
SaveVisit website ↗

Install

Ships scripts
gh skill install K-Dense-AI/scientific-agent-skills pysam
Triggers on

Reading, querying, filtering or writing SAM/BAM/CRAM, VCF/BCF, FASTA/FASTQ or tabix-indexed files; pileup and coverage work.

Needs tools
ReadWriteEditBash
Author
K-Dense Inc.
License
MIT

Covers the streaming, index-aware side of genomic file handling: region queries, pileups, coverage, flag and quality filtering, and writing new files without losing the header. Format, sort order, index and coordinate convention have to be settled before any code is written, because mixing zero-based Python coordinates with one-based region strings is the usual source of silently wrong results. Four bundled scripts inspect an unfamiliar file, summarize alignment QC, filter reads and summarize variants. Guidance is pinned to pysam 0.24.0 over HTSlib 1.23.1 and carries a separate migration note.

Comments(0)

Sign in to comment

No comments yet — be the first.

Similar skills

Report this comment

Why are you reporting this?