DOKK / manpages / debian 12 / macs / macs2_bdgopt.1.en
MACS2_BDGOPT(1) User Commands MACS2_BDGOPT(1)

macs2_bdgopt - Model-based Analysis for ChIP-Sequencing

usage: macs2 bdgopt [-h] -i IFILE [-m {multiply,add,p2q,max,min}]

[-p [EXTRAPARAM ...]] [--outdir OUTDIR] -o OFILE

show this help message and exit
MACS score in bedGraph. Note: this must be a bedGraph file covering the ENTIRE genome. REQUIRED
Method to modify the score column of bedGraph file. Available choices are: multiply, add, max, min, or p2q. 1) multiply, the EXTRAPARAM is required and will be multiplied to the score column. If you intend to divide the score column by X, use value of 1/X as EXTRAPARAM. 2) add, the EXTRAPARAM is required and will be added to the score column. If you intend to subtract the score column by X, use value of -X as EXTRAPARAM. 3) max, the EXTRAPARAM is required and will take the maximum value between score and the EXTRAPARAM. 4) min, the EXTRAPARAM is required and will take the minimum value between score and the EXTRAPARAM. 5) p2q, this will convert p-value scores to q-value scores using Benjamini-Hochberg process. The EXTRAPARAM is not required. This method assumes the scores are -log10 p-value from MACS2. Any other types of score will cause unexpected errors.
The extra parameter for METHOD. Check the detail of -m option.
If specified all output files will be written to that directory. Default: the current working directory
Output BEDGraph filename.
January 2023 macs2 bdgopt 2.2.7.1