MACS2_BDGDIFF(1)
π MACS2_BDGDIFF π
okay bestie, sit down, hydrate, and let me tell you about macs2_bdgdiff β it's the macs2 bdgdiff command, and no cap it is the tool for spotting which regions of your genome are living different lives in two different conditions. This page is the manual for it, so let's get into it. π¦
πΈ NAME πΈ
macs2_bdgdiff β Model-based Analysis for ChIP-Sequencing
like, the whole point. model-based. analysis. for. ChIP-Seq. periodt. π
β¨ DESCRIPTION β¨
here's the whole vibe of how you call it, fr fr:
usage: macs2 bdgdiff [-h] --t1 T1BDG --t2 T2BDG --c1 C1BDG --c2 C2BDG
[-C CUTOFF] [-l MINLEN] [-g MAXGAP] [--d1 DEPTH1]
[--d2 DEPTH2] [--outdir OUTDIR] (--o-prefix OPREFIX | -o OFILE
OFILE OFILE)
so basically: you hand it two pileup bedGraphs, you hand it two control lambda bedGraphs, and it goes off comparing them. the four --t1/--t2/--c1/--c2 ones are the moment, they are REQUIRED, there is no skipping them. π«Ά
π options: π
the way that every single flag is about to be explained to you. don't skip, iykyk.
-h,--helpβ shows this help message and dips. that's it, that's the whole job. π--t1 T1BDGβ MACS pileup bedGraph for condition 1. > β οΈ Incompatible withcallpeak --SPMRoutput. REQUIRED β no--t1, no diffing, sorry bestie. π--t2 T2BDGβ MACS pileup bedGraph for condition 2. > β οΈ Also incompatible withcallpeak --SPMRoutput. REQUIRED. πΈ--c1 C1BDGβ MACS control lambda bedGraph for condition 1. > β οΈ Incompatible withcallpeak --SPMRoutput. REQUIRED. this is the control-side energy for sample one. β¨--c2 C2BDGβ MACS control lambda bedGraph for condition 2. > β οΈ Incompatible withcallpeak --SPMRoutput. REQUIRED. and this is sample two's control energy. π¦-C CUTOFF,--cutoff CUTOFFβ the logLR cutoff. DEFAULT: 3 (which is a likelihood ratio of 1000, for the math girlies π₯).-l MINLEN,--min-len MINLENβ minimum length of a differential region. wanna yeet the tiny little regions? try a bigger value. DEFAULT: 200.-g MAXGAP,--max-gap MAXGAPβ maximum gap for merging nearby differential regions together. if you're working with broad marks, consider a wider gap (they get lonely otherwise π₯Ί). > β οΈ maximum gap should be smaller than minimum length (-g). DEFAULT: 100.--d1 DEPTH1,--depth1 DEPTH1β sequencing depth (that's # of non-redundant reads in million) for condition 1. it gets used together with--d2, and the description for--d2below explains how to assign them. Default: 1.--d2 DEPTH2,--depth2 DEPTH2β sequencing depth (again: # of non-redundant reads in million) for condition 2. it gets used together with--d1.DEPTH1andDEPTH2are used to calculate a scaling factor for each sample, so the bigger sample gets down-scaled to the level of the smaller one. for example, while comparing 10 million condition 1 and 20 million condition 2, use--d1 10 --d2 20, and then the pileup value in the bedGraph for condition 2 will be divided by 2. Default: 1. math ate, honestly. ββ¨--outdir OUTDIRβ if you specify it, all output files get written into that directory instead. Default: the current working directory.--o-prefix OPREFIXβ output file prefix. the actual files will be named asPREFIX_cond1.bed,PREFIX_cond2.bedandPREFIX_common.bed. > β οΈ mutually exclusive with-o/--ofileβ you pick ONE, bestie, you can't have both. π-o OFILE OFILE OFILE,--ofile OFILE OFILE OFILEβ output filenames. you MUST give three arguments, in order:- file for unique regions in condition 1
- file for unique regions in condition 2
- file for common regions in both conditions
β οΈ Note: mutually exclusive with --o-prefix. also, three. not one, not two. three. π
and that's the whole page, bestie. no notes, iconic behavior, go find your differential regions. π
this was macs2 bdgdiff version 2.2.7.1, from April 2022 β slay, happy diffing, mwah! πβ¨ππβπ
π¦ 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