chipseq-qc
执行 ChIP 特定的生物学验证。它计算蛋白质结合测定特有的指标,如交叉相关性(NSC/RSC)和 FRiP。当您已过滤 BAM 文件并为 ChIP-seq 数据调用峰时使用此技能。请勿对 ATAC-seq 数据或一般对齐统计使用此技能。
📖 中文导读:执行 ChIP 特定的生物学验证。它计算蛋白质结合测定特有的指标,如交叉相关性(NSC/RSC)和 FRiP。当您已过滤 BAM 文件并为 ChIP-seq 数据调用峰时使用此技能。请勿对 ATAC-seq 数据或一般对齐统计使用此技能。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: ChIPseq-QC description: Performs ChIP-specific biological validation. It calculates metrics unique to protein-binding assays, such as Cross-correlation (NSC/RSC) and FRiP. Use this when you have filtered the BAM file and called peaks for ChIP-seq data. Do NOT use this skill for ATAC-seq data or general alignment statistics.
Comprehensive ChIP-seq QC Pipeline
Overview
This skill performs a full ChIP-seq quality control analysis from aligned BAM files 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
${proj_dir}in Step 0. - Perform cross-correlation analysis to calculate NSC and RSC.
- Compute FRiP (Fraction of Reads in Peaks) using peak files and aligned BAMs.
Inputs & Outputs
Inputs
${sample}.bam # filtered bam files
${sample}.narrowPeak # or broadPeak
Outputs
all_chip_qc/
${sample}_spp.txt
${sample}_crosscorr.pdf
${sample}_frip.txt
Step 0: Initialize Project
Call:
mcp__project-init-tools__project_init
with:
sample: alltask: atac_qc
The tool will:
- Create
all_chip_qcdirectory. - Return the full path of the
all_chip_qcdirectory, which will be used as${proj_dir}.
Step 1: Calculate Cross-Correlation Metrics (NSC, RSC)
Call:
- mcp__qc-tools__run_phantompeakqualtools with:
bam_file: Path to BAM fileoutput_dir: ${proj_dir}/
Output: ${sample}_spp.txt, ${sample}_crosscorr.pdf
Step 2: Calculate the fraction of reads falling within peak regions.
Call:
- mcp__qc-tools__calculate_frip with: bam_file: Path to BAM file. peak_file: Path to Peak file (BED/narrowPeak/broadPeak). output_dir: ${proj_dir}/
Output: ${sample}_frip.txt