16_toolBased.hic-normalization/SKILL.md
Automatically detect and normalize Hi-C data. Only .cool or .mcool file is supported. All .mcool files are then checked for existing normalization (supports bins/weight only) and balanced if none of the normalizations exist.
npx skillsauth add bisnake2001/chromskills hic-normalizationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill performs Hi-C data normalization on .mcool files.
Main steps include:
Use the hic-normalization pipeline when:
This tool assumes the file already has correct genome assembly and chromosome names.
${sample}_hic_norm/
${sample}_norm.mcool
normalization_report.txt # A brief log/report indicating which resolutions were detected, normalized, or skipped.
Before calling any tool, ask the user:
sample): used as prefix and for the output directory ${sample}_hic_norm.genome): e.g. hg38, mm10, danRer11.
mcool_path): e.g. .mcool file path or .hic file path.
path/to/sample.mcool (.mcool file without resolution specified).hic file pathCall:
mcp__project-init-tools__project_initwith:
sample: the user-provided sample nametask: hic_normThe tool will:
${sample}_hic_norm directory.${sample}_hic_norm directory, which will be used as ${proj_dir}..hic file, convert it to .mcool file first using mcp__HiCExplorer-tools__hic_to_mcool tool:Call:
mcp__HiCExplorer-tools__hic_to_mcoolwith:
input_hic: the user-provided path (e.g. input.hic)sample: the user-provided sample nameproj_dir: directory to save the view file. In this skill, it is the full path of the ${sample}_hic_norm directory returned by mcp__project-init-tools__project_init.resolutions: the user-provided resolutions (e.g. [50000])The tool will:
.hic file to .mcool file..mcool file.If the conversion is successful, update ${mcool_uri} to the path of the .mcool file. The ${mcool_path} should be updated to the path of the .mcool file without resolution specified.
.mcool file to list available resolutions and confirm the analysis resolution with the user.Call:
mcp__cooler-tools__list_mcool_resolutionswith:
mcool_path: the user-provided path (e.g. input.mcool) or the path of the .mcool file returned by mcp__HiCExplorer-tools__hic_to_mcoolThe tool will:
Call:
mcp__cooler-tools__check_and_balance_mcoolwith:
sample: the user-provided sample nameproj_dir: the full path to the project directorymcool_path: the path to the .mcool file (e.g. input.mcool) without resolution specified.balance_missing: if true, run cooler.balance_cooler on resolutions missing /bins/weightstore_name: the name of the weight column to write into bins (default: 'weight')ignore_diags: the number of diagonals to ignore (ignore_diags in cooler.balance_cooler)mad_max: the mad_max parameter for cooler.balance_cooler (default: cooler's own)converge: the convergence tolerance, maps to tol in cooler.balance_coolermax_iters: the max_iters parameter for cooler.balance_coolercis_only: if true, balance cis contacts only (cis_only=True)The tool will:
${proj_dir}/ directory.development
Align ChIP-seq or ATAC-seq FASTQ files to a reference genome using Bowtie2, with strict input validation, library layout detection, output organization and logging. Use it when raw sequencing reads must be converted into sorted/indexed BAM files before downstream QC, peak calling, or footprinting.
development
Align bisulfite sequencing DNA methylation reads using Bismark only, with explicit validation of reference preparation, library layout detection, output organization, logging, and alignment QC. Use it for WGBS, RRBS, or other bisulfite-converted DNA methylation sequencing data when raw FASTQ files must be aligned before methylation extraction and downstream analysis.
data-ai
Perform peak calling for ChIP-seq or ATAC-seq data using MACS3, with intelligent parameter detection from user feedback. Use it when you want to call peaks for ChIP-seq data or ATAC-seq data.
devops
The TF-differential-binding pipeline performs differential transcription factor (TF) binding analysis from ChIP-seq datasets (TF peaks) using the DiffBind package in R. It identifies genomic regions where TF binding intensity significantly differs between experimental conditions (e.g., treatment vs. control, mutant vs. wild-type). Use the TF-differential-binding pipeline when you need to analyze the different function of the same TF across two or more biological conditions, cell types, or treatments using ChIP-seq data or TF binding peaks. This pipeline is ideal for studying regulatory mechanisms that underlie transcriptional differences or epigenetic responses to perturbations.