MACS2_REFINEPEAK(1)
π NAME π
macs2_refinepeak β the whole thing is called Model-based Analysis for ChIP-Sequencing (yes bestie, that's the MACS in MACS2, we love a glow-up acronym) and this particular lil command is the refinepeak one. It's the macs2 refinepeak subcommand, and this page lives in section 1 of the manual. π§
β¨ DESCRIPTION β¨
okay so here's the whole vibe, the literal usage line, no notes:
usage: macs2 refinepeak [-h] -b BEDFILE -i IFILE [IFILE ...]
[-f {AUTO,BAM,SAM,BED,ELAND,ELANDMULTI,ELANDEXPORT,BOWTIE}]
[-c CUTOFF] [-w WINDOWSIZE] [--buffer-size BUFFER_SIZE]
[--verbose VERBOSE] [--outdir OUTDIR] (-o OFILE | --o-prefix
OPREFIX)
that's it, that's the shape of your command. now let's break down every single flag because I would never gatekeep. π«Ά
π OPTIONS π
-h,--helpβ shows this help message and dips. classic. π-b BEDFILEβ your candidate peak file, in BED format. REQUIRED. like, you cannot skip this one bestie.-i IFILE [IFILE ...],--ifile IFILE [IFILE ...]β your ChIP-seq alignment file. if you hand it multiple files like-t A B C, it reads them ALL and combines them into one. quick heads up tho: pair-end data is not supposed to work with this command, so don't come for me. REQUIRED. obviously.-f {AUTO,BAM,SAM,BED,ELAND,ELANDMULTI,ELANDEXPORT,BOWTIE},--format {AUTO,BAM,SAM,BED,ELAND,ELANDMULTI,ELANDEXPORT,BOWTIE}β the format of your tag file, and your options are literally"AUTO","BED","ELAND","ELANDMULTI","ELANDEXPORT","SAM","BAM", or"BOWTIE". the defaultAUTOletsmacs2 refinepeakfigure out the format all by itself (main character behavior fr fr). if you pickELAND/ELANDMULTI/ELANDEXPORT/SAM/BAM/BOWTIE, please check the definition in the README file. DEFAULT:"AUTO"β¨-c CUTOFF,--cutoff CUTOFFβ the cutoff. DEFAULT:5-w WINDOWSIZE,--window-size WINDOWSIZEβ scan window size on both sides of the summit (default:100bp). symmetrical, as it should be. πΈ--buffer-size BUFFER_SIZEβ buffer size for incrementally increasing the internal array size that stores read alignment info. ngl in most cases you do NOT need to touch this parameter. BUT if you have a large number of chromosomes/contigs/scaffolds in your alignment, it's recommended to specify a smaller buffer size to decrease memory usage β the tradeoff being it'll take longer to read alignment files (π worth it sometimes). the minimum memory requested for reading an alignment file is about# of CHROMOSOME * BUFFER_SIZE * 8 Bytes. DEFAULT:100000--verbose VERBOSEβ set the verbose level:0: only show critical message1: show additional warning message2: show process information3: show debug messages
and if you want to know where the duplicate reads are at? use 3. DEFAULT: 2 π
--outdir OUTDIRβ if specified, all output files get written to that directory. Default: the current working directory-o OFILE,--ofile OFILEβ output file name. mutually exclusive with--o-prefixβ pick one, you can't have both. π--o-prefix OPREFIXβ output file prefix. mutually exclusive with-o/--ofile. same deal, one or the other. β¨
fr fr bestie, remember:-o/--ofileand--o-prefixare mutually exclusive,-band-iare both REQUIRED, and pair-end data is not supposed to work here. periodt. π
okay that's the whole page!! this was macs2 refinepeak version 2.2.7.1, dated April 2022, living in manual page MACS2_REFINEPEAK(1). ty for coming to my ted talk, go refine some peaks, ily, 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