Pysam

🌐Community
by davila7 · vlatest · Repository

Pysam allows you to efficiently manipulate and analyze large genomic datasets by providing Python bindings for the popular pysam library.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add pysam npx -- -y @trustedskills/pysam
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "pysam": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/pysam"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides access to the pysam library, a Python package for working with SAM/BAM files. It allows you to parse and manipulate sequence alignment data, extract genomic coordinates from alignments, and perform various analyses on aligned reads. This is particularly useful for bioinformatics tasks involving next-generation sequencing data.

When to use it

  • Analyzing RNA-Seq data: Extract read counts for genes or regions of interest.
  • Variant calling: Identify potential genetic variants based on alignment discrepancies.
  • Genome annotation: Process and analyze genomic annotations from BAM files.
  • Quality control: Assess the quality of sequencing reads by examining alignment statistics.

Key capabilities

  • SAM/BAM file parsing
  • Sequence alignment data manipulation
  • Genomic coordinate extraction
  • Alignment statistics analysis

Example prompts

  • "Extract the number of reads aligned to gene 'BRCA1' from this BAM file."
  • "Give me a list of all variants with a mapping quality below 20 in this BAM file."
  • "Calculate the average insert size for paired-end reads in this BAM file."

Tips & gotchas

Requires familiarity with bioinformatics concepts and SAM/BAM file formats. The skill's output will be based on the data within the provided input files, so ensure those files are accessible and correctly formatted.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
davila7
Installs
0

🌐 Community

Passed automated security scans.