BAM-filtration

Community

Clean BAMs by removing artifacts for peak calls.

AuthorBIsnake2001
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cleans raw BAM files by removing artifacts such as mitochondrial reads, blacklist regions, PCR duplicates, and unmapped reads to produce a clean BAM ready for peak calling.

Core Features & Use Cases

  • Detects BAM inputs that are coordinate-sorted and contain read groups and filters artifacts to produce cleaned outputs per sample.
  • Optionally prompts for blacklist usage if blacklist file is missing, and applies blacklist filtering when provided.
  • Initializes a project directory structure and organizes outputs under a per-sample filtered_bam folder, including temporary data as needed.
  • Outputs cleaned BAMs (sample.filtered.bam) and indices (sample.filtered.bam.bai), suitable for QC and downstream peak calling workflows.

Quick Start

Place your raw BAMs in the working directory and run the skill to generate cleaned BAMs in the project output folder.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: BAM-filtration
Download link: https://github.com/BIsnake2001/ChromSkills/archive/main.zip#bam-filtration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.