MAC3_BDGCMP(1)
π MAC3_BDGCMP(1) π
okay bestie, gather round, because today we're talking about mac3_bdgcmp β Model-based Analysis for ChIP-Sequencing π§¬β¨ (yes, it's the bdgcmp command you run as macs3 bdgcmp, she's iconic, she compares your two bedGraphs and gives you a score, no cap)
β¨ NAME β¨
mac3_bdgcmp β Model-based Analysis for ChIP-Sequencing π
πΈ DESCRIPTION πΈ
so like, here's the whole vibe, this is literally the usage line, fr fr:
usage: macs3 bdgcmp [-h] -t TFILE -c CFILE [-S SFACTOR] [-p PSEUDOCOUNT]
[-m {ppois,qpois,subtract,logFE,FE,logLR,slogLR,max}
[{ppois,qpois,subtract,logFE,FE,logLR,max} ...]]
[--verbose VERBOSE] [--outdir OUTDIR] (--o-prefix OPREFIX | -o
OFILE [OFILE ...])
like, that's the shape of it π
π¦ options π¦
-h,--helpβ shows this help message and then peaces out π-t,--tfileTFILE β the Treatment bedGraph file, like*_treat_pileup.bdgfrom MACSv2. REQUIRED, bestie, you literally cannot skip this one π₯-c,--cfileCFILE β the Control bedGraph file, like*_control_lambda.bdgfrom MACSv2. Also REQUIRED, no escaping it π-S,--scaling-factorSFACTOR β scaling factor for the treatment and control track. keep it at1.0or just leave the default in most cases, okay? only set it while you have SPMR output fromMACS3 callpeak, and you're planning to calculate scores the way theMACS3 callpeakmodule does. if you wanna simulate'callpeak'w/o'--to-large', calculate the effective smaller sample size after filtering redundant reads, in millions (like, put31.415926if the effective reads are31,415,926) and feed that to'-S'; for'callpeak --to-large', calculate the effective reads in the larger sample instead. DEFAULT:1.0β-p,--pseudocountPSEUDOCOUNT β the pseudocount used for calculatinglogLR,logFEorFE. the count gets applied after the normalization of sequencing depth, just so you know. DEFAULT:0.0, no pseudocount is applied π-m,--method{ppois,qpois,subtract,logFE,FE,logLR,slogLR,max} [{ppois,qpois,subtract,logFE,FE,logLR,max} ...] β the method to use while calculating a score in any bin by comparing the treatment value and the control value. the available choices are:ppois,qpois,subtract,logFE,FE,logLR,slogLR, andmax. and what do they mean, you ask? let me spell it out πppois= Poisson Pvalue (in-log10(pvalue)form), using control as lambda and treatment as observationqpois= q-value through a BH process for poisson pvaluessubtract= subtraction from treatmentlogFE= log10 fold enrichment (you need to set pseudocount for this one!)FE= linear scale fold enrichmentlogLR= log10 likelihood between ChIP-enriched model and open chromatin model (also needs pseudocount set!)slogLR= symmetric log10 likelihood between two ChIP-enrichment modelsmax= maximum value between the two tracks Default option isppois. periodt π
--verboseVERBOSE β sets the verbose level of runtime messages.0: only show critical message,1: show additional warning message,2: show process information,3: show debug messages. DEFAULT:2π--outdirOUTDIR β if specified, all output files get written to that directory instead. default: the current working directory π--o-prefixOPREFIX β the PREFIX of the output bedGraph file to write scores into. if you give it asA, and the method is'ppois', the output file will beA_ppois.bdg. mutually exclusive with-o/--ofileβ you can't have both, sorry babe π-o,--ofileOFILE [OFILE ...] β output filename. mutually exclusive with--o-prefix. and heads up: the number and the order of arguments for--ofilemust be the same as for-m. the way that it has to match exactlyβ¦ π
lowkey reminder:--o-prefixand-o/--ofileare mutually exclusive, so pick one and commit, main character energy only π
and that's the whole thing, bestie, you're so ready π«Ά this lil manual is from macs3 bdgcmp 3.0.4, dated May 2026 β slay, go compare those tracks β¨π
π¦ where this page comes from
- ubuntu stonking: macs 3.0.4-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms