Pysam sam bam summary starter

From ma-compbio-lab/SkillFoundry · View interactive version

Pysam sam bam summary starter is an AI agent skill from the GitHub repository ma-compbio-lab/SkillFoundry. Use this skill to read a small SAM, BAM, or CRAM file with `pysam`, summarize core alignment statistics, and optionally emit an indexed BAM artifact for downstream debugging or demos.

How to use this skill

Skill file

pysam SAM BAM Summary Starter

Use this skill to read a small SAM, BAM, or CRAM file with pysam, summarize core alignment statistics, and optionally emit an indexed BAM artifact for downstream debugging or demos.

What it does

When to use it

Example

slurm/envs/genomics/bin/python skills/genomics/pysam-sam-bam-summary-starter/scripts/run_pysam_sam_bam_summary.py \
  --input skills/genomics/pysam-sam-bam-summary-starter/examples/toy_reads.sam \
  --out scratch/genomics/pysam_summary.json \
  --bam-out scratch/genomics/toy_reads.bam

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.