MACS2(1)
π MACS2
macs2 β Model-based Analysis for ChIP-Sequencing π
okay bestie, buckle up, because this is the whole macs2 command and it's literally the main character of ChIP-seq analysis. the manual page is MACS2(1), filed under User Commands, and yes we're going through every single subcommand. no skipping. periodt. β¨
πΈ DESCRIPTION
here's how you even call this thing:
usage: macs2 [-h] [--version]
{callpeak,bdgpeakcall,bdgbroadcall,bdgcmp,bdgopt,cmbreps,bdgdiff,filterdup,predictd,pileup,randsample,refinepeak}
...
macs2 β Model-based Analysis for ChIP-Sequencing. that's the whole vibe. π¦
π positional arguments
so these are your subcommands, the little besties that actually do the work:
{callpeak,bdgpeakcall,bdgbroadcall,bdgcmp,bdgopt,cmbreps,bdgdiff,filterdup,predictd,pileup,randsample,refinepeak}β pick one of these, they're all listed right here π
and here's what each one does, no gatekeeping:
callpeakβ the Main MACS2 Function: call peaks from alignment results. this is THE one, the icon, the moment. πbdgpeakcallβ call peaks from bedGraph output. β οΈ note: all regions on the same chromosome in the bedGraph file should be continuous, so only bedGraph files from MACS2 are acceptable. fr fr, don't bring random bedGraphs to this party.bdgbroadcallβ call broad peaks from bedGraph output. β οΈ same deal: all regions on the same chromosome in the bedGraph file should be continuous, so only bedGraph files from MACS2 are acceptable. π―bdgcmpβ deduct noise by comparing two signal tracks in bedGraph. π§ β οΈ and again: all regions on the same chromosome in the bedGraph file should be continuous, so only bedGraph files from MACS2 are acceptable.bdgoptβ operations on the score column of a bedGraph file. β¨ β οΈ you already know: all regions on the same chromosome in the bedGraph file should be continuous, so only bedGraph files from MACS2 are acceptable.cmbrepsβ combine BEDGraphs of scores from replicates. π β οΈ yep, again: all regions on the same chromosome in the bedGraph file should be continuous, so only bedGraph files from MACS2 are acceptable.bdgdiffβ differential peak detection based on paired four bedgraph files. π₯ β οΈ and (say it with me) all regions on the same chromosome in the bedGraph file should be continuous, so only bedGraph files from MACS2 are acceptable.filterdupβ remove duplicate reads at the same position, then save the rest of the alignments to a BED or BEDPE file. π«Ά and lowkey a hack: if you use the' --keep-dup all option', this script can be utilized to convert any acceptable format into BED or BEDPE format. it's giving multitool.predictdβ predict d or fragment size from alignment results. π¦ Will NOT filter duplicates β read that again, bestie, it does not filter duplicates. no cap.pileupβ pileup aligned reads with a given extension size (fragment size, or d in MACS language). π heads up though: there will be no step for duplicate reads filtering or sequencing depth scaling, so you may need to do certain pre/postprocessing. it's a do-it-yourself situation.randsampleβ randomly sample a number/percentage of total reads. π²refinepeakβ (Experimental) take raw reads alignment, refine peak summits and give scores measuring balance of waston/crick tags. Inspired by SPP. π§ͺ experimental means experimental, so vibe check it before you trust it with your whole thesis.
π options
-h,--helpβ show this help message and exit. the classic escape hatch. πͺ--versionβ show program's version number and exit. π
for command line options of each command, type: macs2 COMMAND -h
like, genuinely do that. each subcommand has its own whole world of flags and this page is just the group chat intro. π
anyway, that's the whole page, mwah π β this is macs2 version 2.2.7.1, dated April 2022, and it lives in section MACS2(1). slay, go call some peaks. ππβ¨
π¦ 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