MACS2(1)

πŸ“¦
version 2.2.7.1 Β· 2 versions
, in ubuntu jammy

πŸ‘‘ 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