MACS2_BDGCMP(1)
π NAME π
macs2_bdgcmp β Model-based Analysis for ChIP-Sequencing β¨ (yes bestie, that's the whole name, it's giving very "the acronym ate and left no crumbs")
π DESCRIPTION π
okay so here's the whole vibe of how you call it, verbatim, no notes:
usage: macs2 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,slogLR,max} ...]]
[--outdir OUTDIR] (--o-prefix OPREFIX | -o OFILE [OFILE ...])
β¨ options β¨
-h,--helpβ shows this help message and then dips. that's it, that's the whole job π-t TFILE,--tfile TFILEβ the Treatment bedGraph file, like*_treat_pileup.bdgfrom MACSv2. REQUIRED β you literally cannot skip this one, it's the main character π«Ά-c CFILE,--cfile CFILEβ the Control bedGraph file, like*_control_lambda.bdgfrom MACSv2. REQUIRED β also non-negotiable, no skipping β-S SFACTOR,--scaling-factor SFACTORβ scaling factor for the treatment and control tracks. fr fr, keep it at1.0or just leave it default in most cases. Only set it if you have SPMR output from MACS2callpeakand you're planning to calculate scores the same way the MACS2callpeakmodule does. If you wanna simulate'callpeak'without'--to-large', calculate the effective smaller sample size after filtering redundant reads in millions (so like, if effective reads are 31,415,926 you'd put31.415926) and feed that into'-S'. For'callpeak --to-large', calculate the effective reads using the larger sample instead. DEFAULT: 1.0 πΈ-p PSEUDOCOUNT,--pseudocount PSEUDOCOUNTβ the pseudocount used for calculatinglogLR,logFEorFE. It gets applied after the normalization of sequencing depth, so don't come for me about order. DEFAULT: 0.0, no pseudocount is applied. π-m {ppois,qpois,subtract,logFE,FE,logLR,slogLR,max} [{ppois,qpois,subtract,logFE,FE,logLR,slogLR,max} ...],--method {ppois,qpois,subtract,logFE,FE,logLR,slogLR,max} [{ppois,qpois,subtract,logFE,FE,logLR,slogLR,max} ...]β the method you use while calculating a score in any bin by comparing the treatment value and the control value. Available choices are:ppois,qpois,subtract,logFE,logLR, andslogLR. Here's what they actually mean, bestie: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= linear scale fold enrichmentFE= log10 fold enrichment (you need to set pseudocount for this one)logLR= 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 is ppois. π
--outdir OUTDIRβ if you specify it, all output files get written to that directory instead. Default: the current working directory π--o-prefix OPREFIXβ the PREFIX of the output bedGraph file where the scores get written. If you give it asAand the method is'ppois', the output file will beA_ppois.bdg. Mutually exclusive with-o/--ofileβ pick a lane, you can't have both π«-o OFILE [OFILE ...],--ofile OFILE [OFILE ...]β output filename. Mutually exclusive with--o-prefix. And listen: the number and the order of arguments for--ofilemust be exactly the same as for-m. Match them up, don't freestyle π
quick vibe check:--o-prefixand-o/--ofileare mutually exclusive, so don't try to run both at once, it's not that kind of party.
and that's the whole page, bestie!! π¦ this was macs2 bdgcmp 2.2.7.1, dated April 2022, from the MACS2_BDGCMP(1) manual β go calculate some scores, you're gonna slay πβ¨π
π¦ where this page comes from
- ubuntu jammy: macs 2.2.7.1-5ubuntu1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms