tywei08/bioskills-plugin/atac-peak-calling
Claude Code and agent skill by tywei08/bioskills-plugin
- community
Checking that the SKILL.md file is still in the repository.
Call accessible chromatin regions from ATAC-seq data using MACS3 with ATAC-specific parameters. Use when identifying open chromatin regions from aligned ATAC-seq BAM files, different from ChIP-seq peak calling.
Install
npx vskill@latest install tywei08/bioskills-plugin/atac-peak-callingSKILL.md
The same SKILL.md was published earlier as tywei08/bioskills-plugin/atac-peak-calling.
Version Compatibility
Reference examples tested with: Bowtie2 2.5.3+, MACS3 3.0+, samtools 1.19+
Before using code patterns, verify installed versions match. If versions differ:
- CLI:
<tool> --versionthen<tool> --helpto confirm flags
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
ATAC-seq Peak Calling
"Call peaks from my ATAC-seq data" → Identify open chromatin regions using ATAC-specific parameters (no input control, shifted Tn5 cut sites, paired-end mode).
- CLI:
macs3 callpeak -t atac.bam -f BAMPE -g hs --nomodel --shift -75 --extsize 150
Basic MACS3 for ATAC-seq
Goal: Identify open chromatin regions from ATAC-seq data using ATAC-specific peak calling parameters.
Approach: Run MACS3 in paired-end mode with Tn5 shift correction, no model building, and duplicate retention since ATAC-seq generates natural duplicates at accessible sites.
Key ATAC-seq Parameters
Why These Parameters?
| Parameter | Reason | |
|---|---|---|
| --nomodel | ATAC doesn't have control, can't build model | |
| --shift -75 | Centers on Tn5 insertion site | |
| --extsize 150 | Smooths signal around cut sites | |
| --keep-dup all | Tn5 creates duplicate cuts at accessible sites | |
| -f BAMPE | Uses actual fragment size from paired-end |
Paired-End vs Single-End
Call Peaks on NFR Only
Goal: Call peaks using only nucleosome-free fragments for sharper regulatory element detection.
Approach: Filter BAM to fragments <100 bp (NFR), then call peaks with adjusted shift/extsize parameters matching the shorter fragment size.
Broad Peaks (Optional)
Batch Processing
Goal: Call peaks on multiple ATAC-seq samples in one pass.
Approach: Loop over BAM files and run MACS3 with consistent ATAC-specific parameters for each sample.
Output Files
| File | Description | |
|---|---|---|
| _peaks.narrowPeak | Peak locations (BED-like) | |
| _summits.bed | Peak summit positions | |
| _peaks.xls | Peak statistics (Excel format) | |
| _treat_pileup.bdg | Signal track (bedGraph) | |
| _control_lambda.bdg | Background (if control provided) |
narrowPeak Format
Columns: chrom, start, end, name, score, strand, signalValue, pValue, qValue, summit_offset
Convert to BigWig
Merge Replicates
IDR for Replicate Consistency
Goal: Identify reproducible peaks across biological replicates using the Irreproducible Discovery Rate framework.
Approach: Call peaks on each replicate independently, then run IDR to score peak reproducibility and filter to a high-confidence set.
Related Skills
- read-alignment/bowtie2-alignment - Align ATAC-seq reads
- atac-seq/atac-qc - Quality control
- chip-seq/peak-calling - ChIP-seq comparison
- genome-intervals/bed-file-basics - Work with peak files
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingatac-seq/atac-peak-calling/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tywei08/bioskills-plugin/atac-peak-calling)