$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Quality and adapter trimming retains reads with high sequencing quality
High-throughput sequencing techniques are prone to generating sequencing errors such as sequence 'mutations' in reads. Furthermore, sequencing adapter dimers can be enriched in sequencing datasets due to poor adapter removal during library preparation. Excessive sequencing errors, such as read mutations, generation of reads shorter than required for proper mapping, and enrichment of adapter dimers, can increase read mapping time and can produce false-positive mapped reads that distort downstream bioinformatic analysis results. Therefore, quality filtering and adapter trimming are required to retain high quality reads for downstream analysis and interpretation.
To retain high quality reads for analysis, this CUT&RUN analysis pipeline (Figure 2) employs FastQC26 and Trim Galore27. The "Script_03_fastQC.sh" shell script runs FastQC for all fastq files within the working directory. Results (Figure 3) of this step using the publicly available CTCF CUT&RUN dataset from GSE126612 (SRR8581589) identify some reads with low-quality score bases (Figure 3A,C) and some degrees of per sequence GC contents distribution mismatch between theoretical estimation and actual reads (Figure 3E).
Execution of the "Script_04_trimming.sh" script to run Trim Galore successfully removes those reads with low-quality score bases (below 20 in Figure 3A) and low mean sequence qualities evident pre-trimming (Figure 3B-D). In addition, "Script_04_trimming.sh" also successfully removes 55~60% mean GC content enrichment displayed in the 'pre-trimming' GC distribution over sequence plot (Figure 3E,F). These results demonstrate that this CUT&RUN analysis pipeline filters for high quality reads to facilitate fast and accurate read mapping to the reference genome.
Insert size distribution can gives estimate for peak calling results
Due to use of MNase in CUT&RUN (Figure 1), mapped CUT&RUN reads are expected to exhibit mono- (~200 bp) and di-nucleosomal (~350 bp) DNA fragment size peaks within insert size distribution plots (Figure 4). Issues with detection for some targets may result in short inserts (< 100 bp) (Figure 4C). High level of short reads reduces the number of reads which can be used for high-confidence peak calling, thus reducing peak numbers and impacting downstream analysis. In this CUT&RUN analysis pipeline, "Script_10_insert-size-analysis.sh" operates "picard.jar CollectInsertSizeMetrics" function to perform the insert size distribution analysis and export histograms as a visualization output (Figure 2). In the output plots (Figure 4A-C), x-axis shows the insert size range, left side of y-axis and filled histogram represents the number of inserts with the value on the x-axis, and right side of y-axis shows and the dashed line the cumulative fraction of inserts with an insert size equal to or greater than the value on the x-axis. Therefore, both the location on the X-axis with the most dramatic change in slope of the dashed line that intersects with the highes level in histogram identifies the major insert size in the sample. Among the reads mapped on reference genome of interest (human, hg19), H3K27Ac (active histone mark) sample fragments exhibit the expected CUT&RUN insert size distribution with highest mono-nucleosomal size and detectable di-nucleosomal size peaks (Figure 4B). CTCF sample fragments showed additional groups at 100~200bp fragment length regions (Figure 4A). Altogether, the CUT&RUN analysis pipeline provides easy-to-use shell scripts to perform insert size distribution analysis after mapping reads on reference genomes. These analyses become important when estimating the efficiency of peak calling before downstream analysis.
Easy Shells CUTnRUN analysis pipeline provides filtrations and normalization options to create trustful readcounts
One of the critical points of CUT&RUN analysis is to obtain proper mapped read pairs by filtering problematic read pairs from the initial mapping outputs and normalizing the filtered mapped readcounts with specific normalization calculation method which can meet the objectives/needs of user's analysis. The CUT&RUN analysis pipeline discussed in this study includes "Script_07_filter-sort-bam.sh" script to remove read pairs which are mapped on either non-canonical chromosomes, publicly annotated blacklist regions23, and TA repeats regions18,22 from read pairs which were mapped by bowtie2 using "Script_06_bowtie2-mapping.sh". These filtrations are required to remove read pairs which can produce false-positive, outlier spike signals and called peaks in downstream analysis (Figure 5; yellow box regions).
In addition to the filtrations, applying the correct normalization method is an important factor to visualize the signal difference between samples accurately. Therefore, the CUT&RUN analysis pipeline includes "Script_09_normalization_SFRC.sh" and "Script_09_normalization_SRPMC.sh" scripts to provide two publicly verified normalization methods - the scaled fractional readcout (SFRC)22 and Spike-in normalized Reads Per Million mapped reads in the negative Control (SRPMC)24,25 (Figure 5A-D). Since SFRC does not include control (for example, IgG) nor spike-in sample in formula, SFRC normalization can be used for samples which do not include any control sample or are expected to show signal differences at local regions only without genome-wide scale difference. The SFRC normalized samples processed by the CUT&RUN analysis pipeline (Figure 5A-D; red tracks) produces the same signal distribution patterns as publicly available mapped reads from GEO (Figure 5A-D; black tracks), suggesting that this pipeline can reproduce the publication results.
The SRPMC method is useful to normalize samples which include both control and Spike-in samples and are expected to show global signal difference between samples (Figure 5A-D; green tracks). Since one H3K27Ac sample (SRR8581599) exhibits much higher "(actual CUT&RUN reads)/(spike-in reads)" ratio (sample RPS; 997) than other replicates (237, 175, and 161), relative H3K27Ac signals appear different between replicates in SFRC and SRPMC normalized samples (Figure 5A-D; H3K27Ac compared across all tracks). RNAPII-S5P samples exhibit relatively lower sample RPS (1.7, 0.8, 2.1) than IgG control (259), thus RNAPII-S5P samples exhibit lower signal than IgG control after SRPMC normalization (Figure 5A-D; RNAPII-S5P compared across all tracks). Therefore, the CUT&RUN analysis pipeline discussed here recommends to use SRPMC method only for the samples which have enough reads in experimental samples relative to both IgG control and spike-in control reads.
Venn diagram comparison can give ideas to choose better peak calling method and options
Multiple peak calling programs enable identification of significantly enriched protein occupancy across genome. Such programs employed for CUT&RUN analysis include MACS family programs2 and SEACR4 as major methods so far. However, it can be challenging, especially for bioinformatics beginners, to identify the most appropriate peak calling method and options for a given CUT&RUN project. Therefore, the CUT&RUN analysis pipeline includes Venn diagram analysis steps to give a chance for users to compare similarity and difference of the peak calling results between various peak calling options (Script_17_intervene-options), and peak calling programs (Script_19_intervene_methods.sh) (Figure 6A-H).
According to comparison the merged CTCF, H3K27ac, and RNAPII-S5P peaks which are called with and without IgG control option during peak calling step, MACS2 and MACS3 called more peaks with IgG control option (Figure 6A), but SEACR called more peaks without IgG control option in both stringent and relaxed options (Figure 6B-D). Therefore, the CUT&RUN analysis pipeline suggests (1) applying the IgG control option for MACS2 and MACS3, (2) calling peaks for experimental CUT&RUN samples and IgG control samples separately, then filtering out IgG peaks later for the SEACR peak caller. Between MACS2 and MACS3, MACS3 called slightly more peaks (Figure 6A).
Furthermore, comparison of peaks called by MACS2 and MACS3 with IgG control option and SEACR without IgG control option shows that SEACR peaks called with the stringent option overlap with MACS 2 and MACS3 peaks more so than SEACR peaks called with the relaxed option (Figure 6E,F). Thus, the CUT&RUN analysis pipeline outputs suggest that the stringent option maximizes SEACR consistency with MACS peak calling. Finally, the Venn diagram to compare the overlap of peaks called by SEACR with normalization for raw readcounts CUT&RUN bedGraph files and without normalization for normalized readcounts CUT&RUN bedGraph files reveals no difference between SFRC and SRPMC methods for SEACR with the stringent option. SFRC peaks exhibit much higher peak numbers and better overlap with normalized option peaks ('norm' in Figure 6) than SRPMC peaks for SEACR with relaxed options (Figure 6G,H).
Statistical comparisons between replicates and samples
Drawing accurate conclusions across multiple replicates requires an assessment of replicate similarity. The CUT&RUN analysis pipeline used here employs Deeptools215 based statistical correlation coefficient calculation, heatmap clustering and principal component analysis (PCA) to facilitate identification of samples and replicates appropriate for valid downstream analysis. The Pearson correlation coefficient based heatmap clustering showed statistically significant correlation between replicates for CTCF, H3K27Ac and RNAPII-S5P at their called peak regions (Figure 7A-C). However, PCA showed that one sample of CTCF (SRR8581590) and H3K27Ac (SRR8581608) are located relatively far from other replicates (Figure 7D) at the all the CTCF, H3K27Ac and RNAPII-S5P called peak regions.
According to the Venn diagram to compare between peaks between replicates, the CTCF (SRR8581590) peaks showed least overlap with other replicates in all three peak caller results (Figure 7E-G), and H3K27Ac (SRR8581608) peaks showed least overlap with other replicates in SEACR peak calling results (Figure 7F). the H3K27Ac (SRR8581608) peaks did not exhibit minimum overlap with other replicates in MACS2 and MACS3 peak calling results (Figure 7F), which may suggest that the distance between replicates in PCA is not sufficient to define outlier sample. Therefore, the CUT&RUN analysis pipeline proposes to define outlier replicate as 'the sample which shows low Pearson correlation coefficient in heatmap clustering group, long distance in PCA plot with other replicates, and lowest peak overlap across replicates'.
Peak calling facilitates visualization and interpretation of CUT&RUN data
The CUT&RUN analysis pipeline detailed in this study employs two types of publicly available peak callers: MACS family and SEACR. To optimize the visualization of called peaks, this pipeline selects the highest signal bin as the peak center for heatmap and metaplot analyses. All the CTCF, H3K27Ac and RNAPII-S5P peaks called by MACS3 and SEACR peak callers showed more sharp peak distribution pattern at the center of highest signal bins (Figure 8A-F, 'focused' plots) than the center of whole peak regions (Figure 8A-F, 'whole' plots). CUT&RUN samples processed by Easy Shells CUTnRUN analysis pipeline with SFRC normalization (Figure 8 A-F, 'SFRC' plots) exhibit similar signal distribution patterns with that of the SFRC normalized samples of which raw mapped read pairs are publicly available in GEO (Figure 8A-F, 'public' plots) at the peaks called by the analysis pipeline. Thus, the CUT&RUN analysis pipeline can reproduce publication results successfully.

Figure 1: Schematic of CUT&RUN experimental procedure. CUT&RUN is an enzyme-based approach to detect protein-DNA interactions across the genome. The CUT&RUN procedure begins with binding of cells (or isolated nuclei) to Concanavalin A conjugated to magnetic beads to enable isolation and manipulation of low cell numbers throughout the procedure. Isolated cells are permeabilized using a mild detergent to facilitate introduction of an antibody that targets the protein of interest. Micrococcal nuclease (MNase) tethered to Protein A or Protein A/G tag is then introduced into the permeabilized cell. pA-MNase (or pAG-MNase) is recruited to the bound antibody using a Protein A or Protein A/G tag. Once MNase is localized to the target sites, the nuclease is briefly activated through introduction of calcium to digest the DNA around the target protein. MNase digestion results in mono-nucleosomal DNA-protein complexes. Calcium is subsequently chelated to end the digestion reaction, and short DNA fragments from the MNase digestion are released from nuclei by a short incubation at 37°C, then subjected to DNA purification, library preparation, and high-throughput sequencing1. Please click here to view a larger version of this figure.

Figure 2: Schematic summary of Easy-Shell CUT&RUN analysis pipeline. The Easy-Shell CUT&RUN analysis pipeline is designed in three major sections - (1) quality control and mapping of raw read files (left; purple), (2) normalization of mapped reads and readcounts and peak calling (center; green), and (3) validation of mapped reads and called peaks (right; pink). In each step, the corresponding shell script number, a brief description, and the program tool used in that step (in brackets) are provided. Plaine arrows show direct flows between steps. This CUT&RUN analysis pipeline provides two read normalization methods which can meet the needs of users with and without control reads, multi-layer validation processes to identify proper replicates for downstream analysis, and focused peak identification for well-focused heatmap and metaplot output creation. This analysis pipeline is written in easy-to-use shells scripts in a step-by-step manner to provide bioinformatics beginners the opportunity to learn and practice basic CUT&RUN data analysis by reading and editing the scripts themselves. Please click here to view a larger version of this figure.

Figure 3: Comparison of quality check results pre- versus post quality trimming. Select quality check report outputs from FastQC display the effect of quality trimming using reads from SRR8581589 (GSM3609748, CTCF). Outputs shown include: (A) Quality score across bases pre-trimming. (B) Same readout as A) post-trimming. (C) Quality score distribution over all sequences pre-trimming. (D) Same readout as C) post-trimming. (E) GC distribution over all sequences pre-trimming. (F) Same readout as E) post-trimming. The minimum quality score at each position within sequencing reads (A, B) and minimum mean sequence quality (C, D) are increased after quality trimming. Furthermore, this step can reduce the difference between theoretical GC counts distribution and actual GC count per base in the reads (E, F) by removing reads pairs which have high base mismatch ratio. Please click here to view a larger version of this figure.

Figure 4: Insert size distribution analysis. Insert size histogram for (A) CTCF, (B) H3K27Ac, and (C) serine 5 phosphorylated RNA polymerase II (RNAPII-S5P). Histograms display relative differences in insert size distribution between samples. The dashed line in the histogram represents the cumulative fraction of reads with an insert size greater than or equal to the value on the x-axis. n: number of concordantly mapped unique reads per sample after filtration. FR: fragments. Please click here to view a larger version of this figure.

Figure 5: Landscape overview of the CUT&RUN samples. Publicly available CUT&RUN mapped reads normalized by the scaled fractional count (SFRC) without additional filtration (black tracks), the CUT&RUN samples processed by Easy Shells CUTnRUN analysis pipeline with SFRC normalization (red tracks) and 'Spike-in normalized Reads Per Million mapped reads in the negative Control (SRPMC; green tracks)' are shown at (A) histone genes cluster region, and (B-D) other three regions with CTCF, H3K27Ac and RNAPII-S5P peaks called by all of MACS2, MACS3 and SEACR peak callers. Yellow boxes highlight the location of spike signals filtered out during the filtration step in Easy Shells CUTnRUN analysis pipeline. Please click here to view a larger version of this figure.

Figure 6: Venn diagram to compare between peaks called by different peak callers and peak calling options. (A) Comparison between peaks called by MACS2 and MACS3 with and without IgG input option during peak calling. (B-D) Comparison between peaks called by SEACR with and without IgG input option, 'stringent' and 'relaxed' options, and with normalization option using raw read pairs files (B), without normalization option using SFRC normalized readcounts files (C) or SRPMC normalized readcounts files (D). (E,F) Comparison between peaks called by MACS2, MACS3 with IgG input option and SEACR with stringent (E) or relaxed (F) option. (G,H) Comparison between peaks called by SEACR without IgG input option and with stringent (G) or relaxed (H) options. w/ IgG: peaks called with IgG input option. w/o IgG: peaks called without IgG input option. norm: peaks called with normalization option. non: peaks called without normalization option. SFRC: peaks called by readcounts files normalized by the 'scaled fractional count (SFRC)' method. SRPMC: peaks called by readcounts files normalized by the 'Spike-in normalized Reads Per Million mapped reads in the negative Control (SRPMC) method'. Please click here to view a larger version of this figure.

Figure 7: Pearson correlation, Principal component analysis and Venn diagram to validate the similarity between replicates. (A-C) Heatmap clustering with Pearson correlation coefficient values display the degree of similarity between replicates at the peaks called by MACS2 (A), MACS3 (B) and SEACR (C). Pearson correlation coefficient is in a value between -1 and 1. A larger absolute Pearson correlation coefficient value indicates a stronger correlation between two variables, and a positive Pearson correlation coefficient value indicates a positive correlation, where the two variables move in the same direction. Therefore, samples with higher similarity exhibit closer pedigree in Heatmap clustering and higher Pearson coefficient value. (D) Principal component analysis (PCA) displays degree of similarity between replicates and samples at all the CTCF, H3K27Ac and RNAPII-S5P peak regions which are called by MACS2 (left), MACS3 (center) and SEACR (right). Samples with higher similarity are positioned closer together in the PCA plot. (E-G) Venn diagram analysis to compare the peaks found in each replicate by MACS2 (E), MACS3 (F), and SEACR (G). Easy-Shell CUT&RUN analysis pipeline proposed to apply all of three methods to identify replicates with high similarity that may be suitable to merge the called peaks for downstream analysis. Please click here to view a larger version of this figure.

Figure 8: Heatmap and metaplot visualization of signal distribution at peaks. Heatmap and metaplots display distribution of enrichment around peak centers called using different peak callers. (A,B) CTCF CUT&RUN peaks called from one replicate (SRR8581589) by MACS3 (A) and SEACR (B). (C,D) H3K27Ac CUT&RUN peaks called from one replicate (SRR8581607) using MACS3 (C) and SEACR (D). (E,F) RNAPII CUT&RUN peaks called from one replicate (SRR8581589) by MACS3 (E) and SEACR (F). Publicly available mapped read pairs ('Public' in Figure 8) and the fragments mapped by Easy Shells CUTnRUN analysis pipeline ('SFRC' in Figure 8) are compared after 'scaled fractional count (SFRC)' normalization. Peaks are called by MACS3 with IgG input option ('MACS3 w/ IgG' in Figure 8) and SEACR without IgG input and without normalization option using SFRC normalized readcounts files in stringent mode ('SEACR w/o IgG non SFRC stringent' in Figure 8). Two versions of coordinate files of the called peaks are prepared: from the start to the end of the called peaks ('whole' in Figure 8) and the location of bin with highest signal within the called peaks (summits in MACS3 called peaks; 'focused' in Figure 8). Please click here to view a larger version of this figure.
Table 1: Information for CUT&RUN fastq files in GSE126612. All the raw reads CUT&RUN fastq files which are included in GSE126612 and are selected as example dataset for Easy Shells CUTnRUN analysis pipeline are listed as a table. The 'File Name' column shows file names of raw CUT&RUN reads fastq files which will be shown in '~/Desktop/GSE126612/fastq' after running 'Script_02_download-fastq.sh'. 'md5sum' shares MD5 (Message-Digest Algorithm 5) for the example dataset which can be used to verify the integrity of files after downloading the dataset via running 'Script_02_download-fastq.sh'. The last column describes target of CUT&RUN per each sample. Please click here to download this Table.