Peaksat: An R package for ChIP-seq peak saturation analysis

DOI: https://doi.org/10.21203/rs.3.rs-2073762/v1

Abstract

Background: Epigenomic profiling assays such as ChIP-seq have been widely used to map the genome-wide enrichment profiles of chromatin-associated proteins and posttranslational histone modifications. Sequencing depth is a key parameter in experimental design and quality control. However, due to variable sequencing depth requirements across experimental conditions, it can be challenging to determine optimal sequencing depth, particularly for projects involving multiple targets or cell types.

Results: We developed the Peaksat R package to provide target read depth estimates for epigenomic experiments based on the analysis of peak saturation curves. We applied Peaksat to establish the distinctive read depth requirements for ChIP-seq studies of histone modifications in different cell lines. Using Peaksat, we were able to estimate the target read depth required per library to obtain high-quality peak calls for downstream analysis. In addition, Peaksat was applied to other sequence-enrichment methods including Cut&Run and ATAC-seq.

Conclusion: Peaksat addresses a need for researchers to make informed decisions about whether their sequencing data has been generated to an adequate depth and subsequently sufficient meaningful peaks, and failing that, how many more reads would be required per library. Peaksat is applicable to other sequence-based methods that include calling peaks in their analysis.

Introduction

Recent advances in epigenetic profiling technologies have revolutionized our understanding of the regulatory architecture of the genome. Global enrichment profiling techniques such as chromatin immunoprecipitation combined with high-throughput sequencing (ChIP-seq) and its derivates are widely used technique for mapping the genome-wide binding sites of chromatin-associated proteins, including transcription factors (TFs), and histone posttranslational modifications (PTMs) [13]. Together with other comprehensive functional data such as transcriptomic (RNA-seq), chromatin accessibility (ATAC-seq) and higher-order chromatin interaction data (i.e. Hi-C or ChIA-PET), provide the information necessary for constructing cell type-specific reference epigenomes, and provide valuable information that supports emerging analyses of genome structure and function (refs reviewed in [4], [58]).

A critical quality control consideration, both in the design and data quality assessment for ChIP-seq experiments, is to understand the sequencing depth required to obtain a high-quality dataset. Adequate sequencing depth depends on the target factors, size of the genome, as well as the number and size of the binding sites of the protein [9]. Useful guidelines have been provided by the modENCODE and ENCODE consortia about the required read depth to obtain adequate high-quality data for downstream analysis [1012]. Despite the recommendations, sequencing libraries can be of low-quality due to technical problems, displaying weak or no enrichment compared to input or negative control. In that case, increased sequencing will not add to the quality of the dataset and it will be necessary to repeat the experiment. Therefore, the development of effective, easy-to-use tools for informing decisions on whether further sequencing with increased read depth would improve data quality would be broadly beneficial to the field.

Here, we introduce Peaksat, a new tool developed to evaluate read requirements and peak saturation in ChIP-seq experiments. Peaksat can be applied more generally for estimating target read depths for other sequence-enrichment studies, including Cut&Run and ATAC-seq. Peaksat is an open-source R package with minimal dependencies. Here, the usability of Peaksat is demonstrated with a case study that investigates the distinctive read depth requirements for ChIP-seq analysis of two closely related histone H4 acetylation PTMs across different human breast cancer cell lines.

Materials & Methods

Cell Culture & ChIP-seq

Cell lines were cultured as described previously in [13]. The human breast cancer cell line MCF10A [14] was purchased from the ATCC, and the cell lines MCF10AT1 [15], MCF10CA1a [16] and MCF10DCIS [17] are a gift from Jeff Nickerson's lab. ChIP-seq assays for histone H4 H4K5ac and H4K8ac were performed as described by O'Green et al. [18]. Biological replicates for ChIP-seq experiments were generated for each cell line from different cell passages. The correspondent cells without the addition of antibodies (input libraries) were used as the ChIP controls. Each library was sequenced across two separate lanes of 75bp single end Illumina sequencing. Since histone H4 acetylation modifications aren't well characterized, we performed the initial sequencing with an arbitrary depth of 10-15M reads. We then further sequenced these samples with re-pooled libraries to reach the read depth estimated by peaksat required to reach peak saturation. Data quality was assessed using the seqsetvis [19] and ssvQC R package (version 1.0.6) [20] using 1,000 peaks randomly selected from the merger of all peak calls per histone modification in terms of replicate overlap and FRIP (fraction of reads in peaks, [10]).

Peak saturation pipeline and quality control analysis

We developed the Peaksat R package to estimate target read depth required for epigenomic profiles generated by ChIP-seq and other sequence-based enrichment assays. The required input files are bam files. Raw fastq files were aligned to the human genome (hg38) using STAR aligner (version 2.7.7a) [21]. If the number of total expected peaks is not known, i.e., for an uncharacterized factor, then the creation of a meta-pool that includes all libraries available for this factor is recommended. The purpose of the meta-pool is to include enough reads in a single sample so that saturation will be reached with at least the meta-pool, if that is possible with the data provided. The Peaksat pipeline is capable of organizing data by ChIP-seq target factor and then creating pooled bam files for any biological replicates. Once the aligned bam files have been assembled, then the primary processing step of Peaksat can be applied to unpooled replicates, pooled replicates, and meta-pools.

Then Peaksat (version 1.0.0; R version 4.1.2; Bioconductor release version 3.14) is used to coordinate down sampling (samtools view -s, version 1.3.1) and subsequent peak calling. Narrow peaks were called against input using MACS2 callpeak (version 2.1.1.20160309) [22], with the default q-value threshold of 0.01 by MACS2. We used FE (fold-enrichment) cutoff of 1 in the initial sequencing to estimate the additional read depth required, and then we used FE cutoff of 5 in the combined sequencing to explore the peak saturation profile. The main analytical steps of the Peaksat workflow are summarized in Fig. 1.

For each ChIP-seq pooled or unpooled library, Peaksat performs iterative down sampling of reads and subsequent peak calling to establish a curve of peak number vs read count (Fig. 1B). If the sequencing depth has reached a saturation point, the plateau shown in Fig. 1B, it is no longer cost-effective to sequence deeper in order to gain more meaningful peaks. If this curve represents a meta-pool, we can use the number of peaks at saturation as a target number of peaks when evaluating the un-characterized histone modification target.

Between an initial lag phase and saturation, observed peak saturation curves normally show a linear relationship between peak count and read depth (Fig. 1B&1C). Therefore, in this part, Peaksat fits a linear regression model and extrapolates to the target number of peaks (either derived from the meta-pool or manually specified) to estimate the number of new reads required for the specific target to reach saturation (Fig. 1C). The libraries composing the meta-pool are expected to saturate at the same number of target peaks (saturation point of meta-pool), but some libraries exhibit a shallower slope and therefore require deeper sequencing to reach the same point. The read count where the extrapolated trends intersect with the target number of saturated peaks is the target read count to reach saturation.

Software implementation

Peaksat is an R package (https://www.r-project.org/) for the evaluation of ChIP-seq and other sequence-enrichment assays (see code availability section for full details). The package provides functions to support two primary tasks: 1) iteratively subsampling aligned bam files and calling MACS2 callpeak, and 2) analyzing and visualizing the resulting peak count according to the down- sampled read depth. Task #1 is highly computationally intensive and so Peaksat leverages the distributed computing capabilities provided by either the SGE or SLURM job schedulers. If those are unavailable, Peaksat will utilize the parallel R package to speed up processing locally. Processing outputs are organized into a directory structure; previously completed sub-tasks will not be rerun by default so partial processing runs can be readily resumed. Task #2 provides regression functions to predict peak saturation points as more reads are added and various visualizations to aid in analysis.

Cut&Run & ATAC-seq data

Cut&Run data were downloaded for GSE172130 [20]. Reads were aligned to the mm10 reference genome using bowtie2 (version 2.2.9) following the Cut&RunTools processing pipeline [23]. Peaks were called using MACS2 as part of Peaksat using pooled IgG samples as input and with --format BAMPE [22].

Human ATAC-seq data were downloaded for GSE161501 [24]. Reads were aligned to the hg38 reference genome using bowtie2 (version 2.2.9) as part of pipeline for ATAC-seq analysis [25, 26]. Otherwise, processing steps was the same as described for ChIP-seq with the exception that no input sample was used for calling peaks.

Results And Discussion

Peaksat pipeline facilitated profiling of Histone H4 acetylation patterns in a breast cancer progression cell model.

We applied Peaksat to study the histone H4 Lys5 and Lys8 acetylation (H4K5ac and H4K8ac) ChIP-seq patterns in the MCF10A human breast cancer progression model consisting of four distinct cell lines: the normal-like epithelial MCF10A cells [14], premalignant MCF10AT1 cells [15]that express constitutively activated HRAS [15], and the subsequent xenograft derivatives, MCF10DCIS (ductal carcinoma in situ) cells [17] and MCF10CA1a metastatic cells [16]. We generated replicate ChIP-seq datasets for H4K5ac and H4K8ac in each cell lines conducted a pilot round sequencing at a relatively shallow sequencing depth and obtained an average of 11 million reads with no more than 5k peaks per individual dataset (Figure S1A&B, Figure S2A&B). The FRIP (Fraction of Reads in Peak) values indicated these libraries have low background signal (Figure S1C and S2C), and replicate analysis showed overall concordance for replicates for each target in different cells (Figure S1D-E and S2D-E). Initial quality control analysis showed this was insufficient depth for a robust peak call but indicated that the ChIP libraries had been successful for both marks (Supplemental figures S1 and S2). In addition, we found each H4Kac mark shared highly similar patterns of peak enrichment across different cell lines, despite low frequency of peak overlaps between biological replicates (S1D-G and S2D-G).

To determine how much more sequencing was required to have enough read depth to support a rigorous analysis, we combined all replicates per histone modification into meta-pools aiming to approximate the saturated peak count for each target. The results estimated 51.5 million reads for H4K5ac and 49.7 million reads for H4K8ac were sufficient to reach saturation, hitting maximum peak counts of 28,400 and 29,200, respectively (Fig. 2A). These maximum number of peaks for each meta-pool are representative of the peak saturation point beyond which additional sequencing is not necessary. Consistent with the previous observations for other targets, we found the majority of each peak saturation curve appeared to be linear where increases in peak count were directly proportional to increases in read count. Additionally, we investigated the suitability of a linear regression model to describe the linear portion of the peak saturation curve. The resulting linear models fit the saturation profiles with an adjusted R2 value around 90% (Table S1). In contrast to the meta-pools, none of the individual libraries appeared to approach peak saturation, with peak counts ranging from 420 to 13,690 (Fig. 2B&2C).

To determine how many additional reads were needed to reach peak saturation, we used the corresponding meta-pool saturation peak count and extrapolated a linear regression to obtain a read depth estimate per library (Fig. 2B&2C). Based on these estimates, we performed a second round of sequencing aimed at obtaining enough read depth for each sample. As expected, the combined datasets exhibited marked improvement in the number of total peaks and an increased concordance of peaks between replicates and across cell lines (Figure S3 and Figure S4). Interestingly, the peak saturation profiles were inconsistent across cell lines for a single mark, and this variability was more pronounced in the H4K5ac peak enrichment profiles (Fig. 2B). The MCF10A H4K5ac replicates demonstrated sufficient read depth and reached peak saturation earlier than that estimate of the meta-pool, however, they did not show high enrichment compared to the meta-pool peak enrichment profile. In contrast, the MCF10AT1 and MCF10CA1a replicates for H4K5ac were expected to reach saturation around the meta-pool peak saturation point, but neither replicate was saturated, suggesting a need for additional sequencing to improve the dataset and increase the number of meaningful peaks. The MCF10DCIS cell line also showed a sharp increase in H4K5ac peak number with additional read depth. For H4K8ac, the saturation curves showed similar cell line specific patterns as that of H4K5ac. The discrepancy in read requirements for the same targets across different cell lines suggest that peak saturation and read requirements could be due to underlying heterogeneity across these cell lines.

Additional factors influencing peak saturation.

We used Peaksat to investigate the influence of fold-enrichment and input control read depth on peak saturation. Increasing the minimum fold-enrichment values for peak analysis (see methods) showed an expected decrease in the saturation peak number (Fig. 3A). Notably, when the minimum FE threshold is set at a value greater than 5, the peak enrichment never reaches saturation. MACS2 calls peaks against input utilizing dynamic Poisson distribution to effectively capture the local enriched peaks against those in input [22]. This peak calling algorithm and the read depth of input control in ChIP-Seq (as suggested by ENCODE) are both important factors involved in peak saturation [10, 22]. Through comparison of the peak saturation patterns under different down-sampling of input reads, we investigated whether increasing the number of control input reads enable saturation. For both targets, H4K5ac and H4K8ac, peak numbers saturate at 50–60 million input reads (Fig. 3B). Given sufficient input reads, the incremental target read depth drives peak enrichment to saturate and before plateauing (Fig. 3C). Taken together, both fold-enrichment threshold and sufficient read depth of input controls will help in estimating saturated read depth for targets and achieving high quality data for downstream analysis.

Overall, H4K5ac and H4K8ac showed similar enrichment profiles across the breast cancer progression cell lines (Fig. 4A&B). To compare binding patterns for these targets, we performed pairwise differential enrichment analysis of each mark across cell lines and identified significantly differentially enriched peaks that could be grouped into two clusters based on enrichment signal. Cluster 1 were H4K5ac and H4K8ac peaks more enriched in MCF10A cells, whereas Cluster 2 were peaks more enriched in the tumorigenic derivative cell lines (MCF10A-T1, -DCIS and -CA1a) compared to MCF10A. For example, the enrichment of H4K5ac and H4K8ac near the SYBU transcription start site (TSS) show a similar pattern of enrichment profiles that are stronger in normal MCF10A cell than the tumorigenic derivative cell lines (Fig. 4C). Conversely, H4K5ac and H4K8ac was more strongly enriched near the HRAS TSS in tumorigenic cells MCF10AT1, MCF10DCIS, MCF10CA1a compared to MCF10A cells. These results indicate overall similarity between H4K5ac and H4K8ac profiles that may change with increased proliferative capacity of the cells. Thus, Peaksat provided an appropriate sequencing depth estimate required to identify differential histone H4 acetylation modifications across different cell lines.

Peaksat pipeline is generally applicable for peak enrichment analysis with other assays.

We further applied Peaksat to evaluate the peak saturation curves of both Cut&Run and ATAC-seq datasets in order to evaluate its general applicability. We evaluated a previously published data set that compared different cell preparation methods for Cut&Run analysis of H3K4me3 and Ikaros, a zinc finger transcription factor (TF) [11]. Regardless of sample preparation (frozen or fresh), the PTM H3K4me3 required only 10M reads to reach saturation, and a linear regression relationship exists between read depth and peak count before saturation (Figure S5A). In contrast, the Ikaros TF saturation profiles were variable across the different preparations (Figure S5A). ATAC-seq peaks were evaluated from different datasets generated from different leukemia subtypes [16] showing that 100M reads fit well with linear model based (Figure S5B). These results together suggest that the Peaksat linear regression model is useful to estimate the saturation and target read depth estimates for other sequence- and peak-based assays.

Discussion

Read depth has a major impact on the downstream analysis on high-throughput sequencing enrichment assays such as ChIP-seq [11]. In practice, it is important to be able to predict the number of sequencing reads required to saturate the detection of peaks. However, no R packages currently exist that flexibly evaluates peak saturation and read depth. We therefore developed Peaksat to provide a reliable estimate of sequencing depth as an important quality control measure and tool for ChIP-seq pipelines. By combining all data into a meta-pool and sampling stepwise fractions of the reads, Peaksat determines peak saturation and compares these predictions with the set of total peaks identified from the complete data. In practical terms, a lack of saturation point is important for the study design and suggests that it would be difficult to define an appropriate sequencing depth and that other criteria must be specified.

We applied Peaksat to a ChIP-seq case study and investigated the impact of sequencing depth in multiple H4K5ac and H4K8ac ChIP-seq experiments using MCF10A progression model consisting of four different cell lines. For each mark, all reads were combined from both replicates to form a meta-pool of all reads to reach saturation. We then compared datasets for individual histone marks with their read-subsampled datasets. Importantly, our results showed that the relationship between saturated peaks and the number of sequenced reads may be extrapolated to estimate the sequencing depth requirement for ChIP-seq experiments. Notably, this analysis revealed that H4K5ac and H4K8ac modifications have different read depth requirements across different cell lines. As illustrated in Fig. 2B, the linear models for both histone PTMs in MCF10DCIS seem never to saturate, approaching 60k peaks, a preposterous number considering the expected number of peaks based on the meta-pool saturation peak count. While these additional peaks could reflect genuine sites of H4K5/K8 acetylation, it is possible that these peaks instead reflect histone H4 acetylation PTMs present only in a small fraction of cells or sites which undergo particularly transient and labile acetylation states. Consequently, determining whether these peaks should be removed due to the uncertain biological meaning, and whether they will affect peak saturation profile presented a challenge. This is consistent with previous studies have demonstrated that high quality ChIP-Seq data never saturates without a fold-enrichment cutoff [22]. Overall, Peaksat enabled us to reach target read depth estimates in order to perform downstream differential enrichment analysis. This revealed an overall similar binding profiles between H4K5ac and H4K8ac marks, but also showed distinct patterns between normal and tumorigenic breast cell lines.

Conclusions

The peaksat R package is useful in conducting and evaluating ChIP-seq projects. We expect it to easily integrate into existing pipelines as it leverages well established and commonly used bioinformatics utilities: MACS2, samtools, and R. Peaksat is a useful tool to apply into ChIP-seq, Cut&Run, ATAC-seq, and other high-throughput sequencing assays to facilitate high-quality data and a deeper biological understanding.

Declarations

Acknowledgements

We would like to acknowledge Scott Tighe in the UVM Shared Resources and Genomics core for next generation sequencing, which was performed at the UVM Genomics Core. 

Funding

This work was supported by grants from the National Science Foundation OIA-1736097, National Institutes of Health R01CA230618, R01GM129338, R01AI127709, P01CA240685 and U54GM115516 for the Northern New England Clinical and Translational Research Network. The content is solely the responsibility of the authors and does not necessarily represent the official views of the NIH.

Authors contributions

J.B. developed the code, J.B., C.G., K.Q. and S.F. wrote the main manuscript text and J.B., C.G. and K.Q. prepared figures and tables. A.F. and K.Q. generated ChIP-seq datasets. J.B. and S.F. supervised and designed the project. All authors reviewed the manuscript.

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Availability of data and materials

The ChIP-seq datasets generated in the current study are available in the NCBI GEO repository, available under GEO accession GSE197960, https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE197960

Peaksat is implemented and freely available under MIT license at https://github.com/FrietzeLabUVM/peaksat

References

  1. Ren B, et al. Genome-wide location and function of DNA binding proteins. Science. 2000;290(5500):2306–9.
  2. Johnson DS, et al. Genome-wide mapping of in vivo protein-DNA interactions. Science. 2007;316(5830):1497–502.
  3. Robertson G, et al. Genome-wide profiles of STAT1 DNA association using chromatin immunoprecipitation and massively parallel sequencing. Nat Methods. 2007;4(8):651–7.
  4. Allis CD, Jenuwein T. The molecular hallmarks of epigenetic control. Nat Rev Genet. 2016;17(8):487–500.
  5. Grubert F, et al. Landscape of cohesin-mediated chromatin loops in the human genome. Nature. 2020;583(7818):737–43.
  6. Roadmap Epigenomics C, et al. Integrative analysis of 111 reference human epigenomes. Nature. 2015;518(7539):317–30.
  7. Consortium EP. An integrated encyclopedia of DNA elements in the human genome. Nature. 2012;489(7414):57–74.
  8. Luo Y, et al. New developments on the Encyclopedia of DNA Elements (ENCODE) data portal. Nucleic Acids Res. 2020;48(D1):D882–9.
  9. Jung YL, et al. Impact of sequencing depth in ChIP-seq experiments. Nucleic Acids Res. 2014;42(9):e74.
  10. Landt SG, et al. ChIP-seq guidelines and practices of the ENCODE and modENCODE consortia. Genome Res. 2012;22(9):1813–31.
  11. Hansen P, et al. Saturation analysis of ChIP-seq data for reproducible identification of binding peaks. Genome Res. 2015;25(9):1391–400.
  12. Kharchenko PV, Tolstorukov MY, Park PJ. Design and analysis of ChIP-seq experiments for DNA-binding proteins. Nat Biotechnol. 2008;26(12):1351–9.
  13. Fritz AJ, et al. Intranuclear and higher-order chromatin organization of the major histone gene cluster in breast cancer. J Cell Physiol. 2018;233(2):1278–90.
  14. Soule HD, et al. Isolation and characterization of a spontaneously immortalized human breast epithelial cell line, MCF-10. Cancer Res. 1990;50(18):6075–86.
  15. Dawson PJ, et al. MCF10AT: a model for the evolution of cancer from proliferative breast disease. Am J Pathol. 1996;148(1):313–9.
  16. Santner SJ, et al. Malignant MCF10CA1 cell lines derived from premalignant human breast epithelial MCF10AT cells. Breast Cancer Res Treat. 2001;65(2):101–10.
  17. Miller FR, et al. MCF10DCIS.com xenograft model of human comedo ductal carcinoma in situ. J Natl Cancer Inst. 2000;92(14):1185–6.
  18. O'Geen H, Frietze S, Farnham PJ. Using ChIP-seq technology to identify targets of zinc finger transcription factors. Methods Mol Biol. 2010;649:437–55.
  19. Boyd J, Seqsetvis: Set Based Visualizations for Next-Gen Sequencing Data. R package version, 2019. 1(0).
  20. Boyd J, et al. ssvQC: an integrated CUT&RUN quality control workflow for histone modifications and transcription factors. BMC Res Notes. 2021;14(1):366.
  21. Dobin A, et al. STAR: ultrafast universal RNA-seq aligner. Bioinformatics. 2013;29(1):15–21.
  22. Zhang Y, et al. Model-based analysis of ChIP-Seq (MACS). Genome Biol. 2008;9(9):R137.
  23. Zhu Q, et al. CUT&RUNTools: a flexible pipeline for CUT&RUN processing and footprint analysis. Genome Biol. 2019;20(1):192.
  24. Diedrich JD, et al. Profiling chromatin accessibility in pediatric acute lymphoblastic leukemia identifies subtype-specific chromatin landscapes and gene regulatory networks. Leukemia. 2021;35(11):3078–91.
  25. Erarslan-Uysal B, et al. Chromatin accessibility landscape of pediatric T-lymphoblastic leukemia and human T-cell precursors. EMBO Mol Med. 2020;12(9):e12104.
  26. Rausch T, et al. Alfred: interactive multi-sample BAM alignment statistics, feature counting and feature annotation for long- and short-read sequencing. Bioinformatics. 2019;35(14):2489–91.