29.regulatory-community-ChIA-PET/SKILL.md
This skill performs protein-mediated regulatory community analysis from ChIA-PET datasets and provide a way for visualizing the communities. Use this skill when you have a annotated peak file (in BED format) from ChIA-PET experiment and you want to identify the protein-mediated regulatory community according to the BED and BEDPE file from ChIA-PET.
npx skillsauth add bisnake2001/chromskills regulatory-community-analysis-ChIA-PETInstall 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.
Main steps include:
Tools called in this skill:
mcp__igraph-tools__build_chromatin_networkmcp__igraph-tools__analyze_chromatin_networkmcp__igraph-tools__plot_chromatin_communitiesUse this skill when you have ChIA-PET data in BEDPE and BED format and you want to:
Typical biological questions:
<sample>.bedpe # ChIA-PET loops: chr1 start1 end1 chr2 start2 end2 PET_count [optional extra fields...]
<sample>.bed # Tab-delimited file with at least 3 columns: chr, start, end
ChIA_PET_community/
communities/
${sample}_communities_membership.tsv # Network membership table
${sample}.graphml
plots/
${sample}_communities.pdf # Community network plots
temp/
... # other temp files
Call:
mcp__igraph-tools__build_chromatin_networkwith:
loops_file: path to BEDPE-like loops file.peaks_file: path to annotated peaks BED file.proj_dir: project directory (e.g. ChIA_PET_community).graph_name (optional): output GraphML filename.min_pet (optional): filter on PET counts (default 1).This tool will:
${sample}.graphml (GraphML)Call:
mcp__igraph-tools__analyze_chromatin_networkwith:
graph_path: GraphML file from Step 1 (e.g. ${sample}.graphml).proj_dir: same project directory.membership_name (optional): output TSV name, (e.g. ${sample}_communities_membership.tsv).weight_attr (optional): edge weight attribute, default "weight".seed (optional): random seed for community detection, default 1.This tool will:
Load the GraphML network.
Run Louvain (multilevel) community detection
Compute centralities
Export a membership table:
${sample}_communities_membership.tsv with columns
Update the GraphML file with the new vertex attributes (community & centralities).
Call:
mcp__igraph-tools__plot_chromatin_communitieswith:
graph_path: GraphML file with community attributes (from Step 2).proj_dir: project directory.pdf_name (optional): output PDF filename (e.g. ${sample}_communities.pdf).top_n (optional): number of largest communities to plot, default 12.size_attr (optional): vertex attribute for node size, default "degree".community_attr (optional): vertex attribute containing community IDs, default "community".This tool will:
community_attr is present.top_n.${sample}_communities.pdfdevelopment
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.