compbio-pysam-variants

Detect nucleotide mutations in virulence genes from BAM alignments using pysam.

934|152|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/wuyoscar/ISC-Bench --skill compbio-pysam-variants
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compbio-pysam-variants
Source: https://github.com/wuyoscar/ISC-Bench/tree/main/templates/compbio_pysam
Command: npx skills add https://github.com/wuyoscar/ISC-Bench --skill compbio-pysam-variants

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pathogen genomic variant calling using PySam to identify mutations in virulence genes for antimicrobial resistance surveillance. It provides an automated workflow to quantify variant counts across curated gene sets.

Core Features & Use Cases

  • Variant discovery: alignments are scanned to detect nucleotide differences against reference virulence genes.
  • Reference-driven: uses virulence_genes_ref.json to define genes and known mutations for reporting.
  • Use Case: hospital or public health labs can rapidly screen pathogens for resistance-associated variants in MRSA mecA and related genes.

Quick Start

Run the call_variants.py script against your BAM and virulence_genes_ref.json to print per-gene variant statistics.

Frequently Asked Questions about compbio-pysam-variants

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect nucleotide mutations in pathogen virulence genes from sequencing data?

Detect nucleotide mutations in pathogen virulence genes by scanning sequencing alignments with pysam. The workflow computes pileup-based variant counts across curated gene sets like mecA for antimicrobial resistance surveillance.

What is the best way to automate MRSA variant calling for antimicrobial resistance surveillance?

Automate MRSA variant calling by running the call_variants.py script against your BAM alignments and a virulence_genes_ref.json reference. This reports per-gene mutation statistics for resistance-associated genes like mecA.

Does pysam pileup variant calling work with curated virulence gene sets?

Yes, pysam pileup variant calling works with curated virulence gene sets defined in a virulence_genes_ref.json reference file. This reference drives the detection and reporting of known mutations across the targeted genes.

Can I use this pathogen variant calling workflow for public health lab genomic screening?

Yes, you can use this pathogen variant calling workflow for public health lab genomic screening. It rapidly screens pathogens for resistance-associated variants in curated gene sets, making it suitable for surveillance tasks.

Do I need a specific reference file to identify virulence gene mutations?

Yes, you need a virulence_genes_ref.json reference file to define genes and known mutations for reporting. This reference is required to perform pileup-based mutation detection across the targeted virulence genes.

What are the limitations of using pysam for pathogen variant calling?

A limitation of using pysam for pathogen variant calling is that it focuses strictly on nucleotide differences in genes defined by your reference. Variant detection is pileup-based and requires both Python and pysam to execute the workflow.