Chipseq Qc

by BIsnake2001

data

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.

Skill Details

Repository Files

2 files in this skill directory


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: all
  • task: atac_qc

The tool will:

  • Createall_chip_qc directory.
  • Return the full path of the all_chip_qc directory, 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 file
  • output_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

Related Skills

Xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas

data

Clickhouse Io

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

datacli

Clickhouse Io

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

datacli

Analyzing Financial Statements

This skill calculates key financial ratios and metrics from financial statement data for investment analysis

data

Data Storytelling

Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.

data

Kpi Dashboard Design

Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.

designdata

Dbt Transformation Patterns

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

testingdocumenttool

Sql Optimization Patterns

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

designdata

Anndata

This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling large-scale biological datasets. Use when tasks involve AnnData objects, h5ad files, single-cell RNA-seq data, or integration with scanpy/scverse tools.

arttooldata

Xlsx

Spreadsheet toolkit (.xlsx/.csv). Create/edit with formulas/formatting, analyze data, visualization, recalculate formulas, for spreadsheet processing and analysis.

tooldata

Skill Information

Category:Data
Last Updated:11/28/2025