genome: Genome name (e.g., hg38), provided by user
temp_dir: ${proj_dir}/temp
bam_uses_chr: True if BAM uses 'chr' prefix (chr1), False if not (1).
Step 3: Peform quality control for the ATAC-seq data
Call:
mcp__qc-tools__run_ataqv_qc
bam_file: Path to filtered BAM file
peak_file: Path to peak file (narrowPeak) corresponding to the BAM file
tss_file: ${proj_dir}/temp/${genome}.tss
species: Species used, choose from (fly, human, mouse, rat, worm, yeast)
bam_uses_chr: True if BAM uses 'chr' prefix (chr1), False if not (1).
output_dir: ${proj_dir}/${sample}_qc_results
autosomal_ref_path: Provided if bam_uses_chr is False, ${proj_dir}/temp/${genome}.autosomal.ref
1---2name: atacseq-qc-23description: ATAC-seq Quality Control4---56# ATAC-seq Quality Control78## Overview910This skill performs complete ATAC-seq data quality control from BAM and peak files.1112Main steps include:13- Refer to the **Inputs & Outputs** section to check inputs and build the output architecture. All the output file should located in `${proj_dir}` in Step 0.14- **Always prompt user** for genome assembly used. Never decide by yourself. 15- Generate TSS files according to genome assembly.16- Compute TSS enrichment, fragment distribution and FRiP. 1718---1920## Inputs & Outputs2122### Inputs2324```bash25${sample}.bam # filtered bam files26${sample}.narrowPeak27```2829### Outputs3031```bash32all_atac_qc/33 ${sample}_qc_results/34 ataqv_metrics.json35 ataqv_report.html/36 temp/37```3839---4041## Decision Tree4243### Step 0: Initialize Project4445Call:4647- `mcp__project-init-tools__project_init`4849with:5051- `sample`: all52- `task`: atac_qc53- `genome`: provided by user5455The tool will:5657- Create`all_atac_qc` directory.58- Return the full path of the `all_atac_qc` directory, which will be used as `${proj_dir}`.5960### Step 1: Detect the name logic of the chromosomes in BAM file (have "chr" as prefix or not)6162`samtools view <sample>.bam | head -n 10 | cut -f 3`6364### Step 2: Generate reference files6566Call:67- mcp__qc-tools__generate_reference6869with:70- `genome`: Genome name (e.g., hg38), provided by user71- `temp_dir`: ${proj_dir}/temp72- `bam_uses_chr`: True if BAM uses 'chr' prefix (chr1), False if not (1).7374### Step 3: Peform quality control for the ATAC-seq data7576Call:77- mcp__qc-tools__run_ataqv_qc7879- `bam_file`: Path to filtered BAM file80- `peak_file`: Path to peak file (narrowPeak) corresponding to the BAM file81- `tss_file`: ${proj_dir}/temp/${genome}.tss82- `species`: Species used, choose from (fly, human, mouse, rat, worm, yeast)83- `bam_uses_chr`: True if BAM uses 'chr' prefix (chr1), False if not (1).84- `output_dir`: ${proj_dir}/${sample}_qc_results85- `autosomal_ref_path`: Provided if `bam_uses_chr` is False, ${proj_dir}/temp/${genome}.autosomal.ref
Run npx skillmds@latest add diegosouzapw/atacseq-qc-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
ATAC-seq Quality Control It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
diegosouzapw (@diegosouzapw) published this skill. Their other Agent Skills are listed on their SkillMD profile.