bioRxivBioinformaticsPreprint
RapidMACS: MACS3-identical peak calling, 50x faster
Abstract
Motivation: MACS3 is a comprehensive peak-calling toolkit whose subcommands span single- and paired-end data, narrow and broad peaks, and a range of signal-track utilities. However, many ATAC-seq and multiomic pipelines, including our own, use just one of those capabilities: narrow peak calling. A single analysis may call peaks under different conditions, so a per-call saving is multiplied and the time recovered can be substantial. Furthermore, we wanted an efficient and embeddable narrow peak caller that could be integrated directly with our Chromap Suite aligner, so we wrote RapidMACS. Results: RapidMACS is a narrow peak caller optimized for this purpose, building its signal tracks in a single lazy sweep that avoids a global sort, processing chromosomes in parallel, and keeping intermediates in memory rather than creating temporary files. In benchmarks involving single-cell ATAC-seq, bulk ATAC-seq, ChIP-seq, and CUT&RUN, it is 3.5 to 51 times faster than MACS3 v3.0.3 depending on the applications and number of threads used. More importantly, the output is byte-identical. This means that any downstream analysis using RapidMACS will produce identical results to those using MACS3. The speed gains are largely due to these algorithmic changes rather than the choice of language, because MACS3's peak-calling code is itself compiled (Cython). RapidMACS depends only on htslib and zlib and links as a small static archive without a Python or Cython runtime. Availability and implementation: RapidMACS is open source under the MIT license at https://github.com/morphic-bio/rapidmacs, with both a standalone CLI executable (rapidmacs) and a linkable C++ library. Prebuilt containers for x86-64 and arm64 are published as biodepot/rapidmacs on Docker Hub.
- assay: ATAC-seq
- assay: ChIP-seq
- assay: CUT&Tag
- research focus: variant calling
- research focus: benchmarking
- research focus: software / tool
- approach: statistical model
- approach: experimental assay
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Improved peak-calling with MACS2
John M. Gaspar·bioRxiv·Dec 17, 2018
- Chromap Suite: an open-source single-binary platform for agentic multiomic RNA + ATAC profiling
Ling‐Hong Hung, Ka Yee Yeung·bioRxiv·Jun 6, 2026
- ChIPSeqFPro, a pipeline for sequential processing of ChIP-Seq fastq to bigwig files
Milos Pjanic·bioRxiv·Mar 18, 2017
- LanceOtron: a deep learning peak caller for ATAC-seq, ChIP-seq, and DNase-seq
Lance D. Hentges, Martin J. Sergeant, … Stephen Taylor·bioRxiv·Jan 25, 2021
- pyBedGraph: a Python package for fast operations on 1-dimensional genomic signal tracks
Henry B. Zhang, Minji Kim, … Yijun Ruan·BioinformaticsPeer-reviewed·Jan 31, 2020
- Model-based Analysis of ChIP-Seq (MACS)
Yong Zhang, Tao Liu, … X. Shirley Liu·Genome biologyPeer-reviewed·Sep 17, 2008