원클릭으로
chromatin-regulation
Chromatin regulation analysis — ATAC-seq, ChIP-seq, CUT&Tag/CUT&Run, differential binding, motif analysis, and scATAC-seq
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Chromatin regulation analysis — ATAC-seq, ChIP-seq, CUT&Tag/CUT&Run, differential binding, motif analysis, and scATAC-seq
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Molecular structure analysis, SAR triage, compound library characterization, QSAR modeling, ADMET prediction, chemical space visualization, target engagement assessment, drug perturbation connectivity scoring, and selectivity profiling
Systematic drug repurposing via signature matching, target-based analysis, network proximity, genetic evidence scoring, and clinical evidence mining
Functional enrichment and pathway analysis including GSEA, ORA, ssGSEA, GSVA, and decoupler-based activity inference
Genomic variant analysis — germline/somatic SNV, structural variants, CNV, GWAS, annotation, and filtering
Metabolomics and lipidomics analysis — untargeted/targeted workflows, normalization, annotation, and pathway mapping
Multi-omics integration methods including factor analysis, supervised classification, network fusion, and causal modeling across modalities
| name | chromatin-regulation |
| description | Chromatin regulation analysis — ATAC-seq, ChIP-seq, CUT&Tag/CUT&Run, differential binding, motif analysis, and scATAC-seq |
| version | 1.0.0 |
| tags | ["atac-seq","chip-seq","cut-and-tag","cut-and-run","peaks","diffbind","chromatin"] |
Comprehensive guidelines for chromatin accessibility (ATAC-seq), histone/TF binding (ChIP-seq, CUT&Tag/CUT&Run), differential analysis, motif discovery, footprinting, and single-cell chromatin profiling.
This pack starts from aligned BAMs, called peaks, or a count matrix. The trees below describe the canonical method end to end for context, but read processing, peak calling and motif analysis are upstream of it. If you were handed raw FASTQ, say so and stop rather than planning a step you would have to go looking for a tool to run.
Paired-end FASTQ
→ Alignment: Bowtie2 (--very-sensitive, --maxins 2000, --no-mixed --no-discordant)
→ Filter: remove mitochondrial reads, duplicates (Picard), MAPQ >= 30
→ Tn5 offset correction: shift +4/-5 bp (accounts for 9bp duplication by Tn5)
→ Peak calling: MACS2 --nomodel --shift -100 --extsize 200 --keep-dup all
→ QC metrics:
→ TSS enrichment score (>= 6 is good, >= 10 is excellent)
→ Fragment size distribution (nucleosome periodicity ~200bp)
→ FRiP (fraction of reads in peaks, >= 0.2)
→ Count matrix: featureCounts on consensus peak set
→ Differential accessibility: DiffBind (DESeq2 or edgeR backend)
--shift -100 --extsize 200 MACS2 parameters are ATAC-specific. Do NOT use default ChIP-seq MACS2 parameters.Single-end or paired-end FASTQ
→ Alignment: Bowtie2 or BWA-MEM
→ Filter: duplicates (Picard), MAPQ >= 30
→ Peak calling (MACS2):
→ Narrow peaks (TFs, H3K4me3, H3K27ac): macs2 callpeak -f BAM -g hs -q 0.01
→ Broad peaks (H3K36me3, H3K27me3, H3K9me3): macs2 callpeak --broad --broad-cutoff 0.1
→ QC metrics:
→ FRiP (>= 0.01 for broad marks, >= 0.1 for TFs)
→ Strand cross-correlation (RSC >= 1, NSC >= 1.05)
→ IDR for replicate concordance
→ Differential binding: DiffBind
--broad for histone marks that form broad domains (H3K27me3, H3K36me3, H3K9me3). Narrow peak calling misses these.Paired-end FASTQ
→ Alignment: Bowtie2 (--end-to-end --very-sensitive --no-mixed)
→ Filter: MAPQ >= 30, remove duplicates ONLY for CUT&Run (keep for CUT&Tag)
→ Spike-in normalization: align to E. coli genome, compute scale factor
→ Peak calling:
→ SEACR (preferred for low-background CUT&Tag/CUT&Run)
→ seacr stringent (for high-confidence peaks)
→ seacr relaxed (for broader discovery)
→ MACS2 (alternative, with adjusted parameters)
→ macs2 callpeak --nomodel --qvalue 0.01 --keep-dup all
→ Differential: DiffBind
Peak calls from replicated conditions
→ DiffBind (R via rpy2, works for all assay types):
→ dba() → dba.count() → dba.normalize() → dba.contrast() → dba.analyze()
→ Backend: DESeq2 (default, better for small sample sizes) or edgeR
→ dba.report() for differential peaks
→ Filter: padj < 0.05 AND abs(log2FC) > 1
Differential or condition-specific peak sets
→ HOMER (comprehensive motif enrichment):
→ findMotifsGenome.pl peaks.bed genome_build output_dir -size 200
→ Reports known motif enrichment + de novo motifs
ATAC-seq BAM (Tn5-corrected) + peak regions
→ TOBIAS:
→ ATACorrect (correct Tn5 insertion bias)
→ FootprintScores (compute per-base footprint scores)
→ BINDetect (differential TF binding between conditions)
BAM files
→ Binned, depth-normalized coverage → bigWig
→ Per-region signal extraction at an anchor (peak centers, or a TSS set if
an annotation was provided)
→ Heatmap + average profile
pysam or bedtools genomecov for binned counts, pyBigWig to write the track and to read per-region signal (values(), stats(nBins=...)), numpy to stack the region-by-bin matrix, and matplotlib for the heatmap and column-mean profile. See references/signal-tracks-api.md.Fragment files (10x CellRanger-ATAC or custom)
→ SnapATAC2 (Python)
→ QC: filter by unique fragments (>1000) and TSS enrichment (>4)
→ Feature matrix: tile-based (500bp bins) or peak-based
→ Dimensionality reduction: TF-IDF + LSI (latent semantic indexing)
→ Clustering: Leiden on LSI space
→ Per-cluster peak calling: MACS2 on aggregated fragments
→ Gene activity scores: SnapATAC2 gene scoring
import snapatac2 fails and that is expected, not a broken install. Import it inside a try/except ImportError and, when it is unavailable, run the same workflow on the peak/tile count matrix with scanpy: TF-IDF + TruncatedSVD for LSI, sc.pp.neighbors on the LSI embedding, sc.tl.leiden for clustering.--nomodel --shift -100 --extsize 200 to account for Tn5 transposition. Default parameters model ChIP fragment sizes and produce incorrect peak calls.var, samples/cells as obs.chr, start, end, log2FC, pvalue, padj, nearest_gene, distance_to_TSS.cooler.Cooler() for single resolution, cooler.open() for multi-resolution.cooltools.eigs_cis), TAD insulation (cooltools.insulation), loop calling (cooltools.dots), saddle plots, expected contact frequency.import() / export() for format conversion and signal extraction.Present on every architecture: samtools, bedtools, bcftools, tabix. These cover BAM filtering/indexing/stats, interval arithmetic, and coverage.
These cover the pack's entry point: aligned BAMs and called peaks in, differential binding and signal out. Read processing, peak calling and motif analysis sit upstream and are not part of it.
view -q 30), mitochondrial-read removal, duplicate flagging (markdup), indexing, flagstat/idxstats QC, and paired-end insert-size distributions for the fragment-size check.intersect, merge, multiinter), coverage (genomecov, multicov) for count matrices, and interval arithmetic in place of a dedicated tool.references/diffbind-rpy2-api.md — Differential binding analysis via rpy2references/signal-tracks-api.md — Coverage tracks, normalization, heatmaps, and profile plotsreferences/pybedtools-api.md — Genomic interval operations in Pythonreferences/pybigwig-api.md — BigWig file reading and signal extraction