Claude-skill-registry ATACseq-QC
Performs ATAC-specific biological validation. It calculates metrics unique to chromatin accessibility assays, such as TSS enrichment scores and fragment size distributions (nucleosome banding patterns). Use this skill when you have filtered BAM file and have called peak for the file. Do NOT use this skill for ChIP-seq data or general alignment statistics.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/4-atacseq-qc" ~/.claude/skills/majiayu000-claude-skill-registry-atacseq-qc && rm -rf "$T"
manifest:
skills/data/4-atacseq-qc/SKILL.mdsource content
ATAC-seq Quality Control
Overview
This skill performs complete ATAC-seq data quality control from BAM and peak files.
Main steps include:
- Refer to the Inputs & Outputs section to check inputs and build the output architecture. All the output file should located in
in Step 0.${proj_dir} - Always prompt user for genome assembly used. Never decide by yourself.
- Generate TSS files according to genome assembly.
- Compute TSS enrichment, fragment distribution and FRiP.
Inputs & Outputs
Inputs
${sample}.bam # filtered bam files ${sample}.narrowPeak
Outputs
all_atac_qc/ ${sample}_qc_results/ ataqv_metrics.json ataqv_report.html/ temp/
Decision Tree
Step 0: Initialize Project
Call:
mcp__project-init-tools__project_init
with:
: allsample
: atac_qctask
: provided by usergenome
The tool will:
- Create
directory.all_atac_qc - Return the full path of the
directory, which will be used asall_atac_qc
.${proj_dir}
Step 1: Detect the name logic of the chromosomes in BAM file (have "chr" as prefix or not)
samtools view <sample>.bam | head -n 10 | cut -f 3
Step 2: Generate reference files
Call:
- mcp__qc-tools__generate_reference
with:
: Genome name (e.g., hg38), provided by usergenome
: ${proj_dir}/temptemp_dir
: True if BAM uses 'chr' prefix (chr1), False if not (1).bam_uses_chr
Step 3: Peform quality control for the ATAC-seq data
Call:
-
mcp__qc-tools__run_ataqv_qc
-
: Path to filtered BAM filebam_file -
: Path to peak file (narrowPeak) corresponding to the BAM filepeak_file -
: ${proj_dir}/temp/${genome}.tsstss_file -
: Species used, choose from (fly, human, mouse, rat, worm, yeast)species -
: True if BAM uses 'chr' prefix (chr1), False if not (1).bam_uses_chr -
: ${proj_dir}/${sample}_qc_resultsoutput_dir -
: Provided ifautosomal_ref_path
is False, ${proj_dir}/temp/${genome}.autosomal.refbam_uses_chr