Abstract
Formalin-fixed, paraffin-embedded (FFPE) tissue specimens are routinely used in pathological diagnosis, but their large number of artifactual mutations complicate the evaluation of companion diagnostics and analysis of next-generation sequencing data. Identification of variants with low allele frequencies is challenging because existing FFPE filtering tools label all low-frequency variants as artifacts. To address this problem, we aimed to develop DEEPOMICS FFPE, an AI model that can classify a true variant from an artifact. Paired whole exome sequencing data from fresh frozen and FFPE samples from 24 tumors were obtained from public sources and used as training and validation sets at a ratio of 7:3. A deep neural network model with three hidden layers was trained with input features using outputs of the MuTect2 caller. Contributing features were identified using the SHapley Additive exPlanations algorithm and optimized based on training results. The performance of the final model (DEEPOMICS FFPE) was compared with those of existing models (MuTect filter, FFPolish, and SOBDetector) by using well-defined test datasets. We found 41 discriminating properties for FFPE artifacts. Optimization of property quantification improved the model performance. DEEPOMICS FFPE removed 99.6% of artifacts while maintaining 87.1% of true variants, with an F1-score of 88.3 in the entire dataset not used for training, which is significantly higher than those of existing tools. Its performance was maintained even for low-allele-fraction variants with a specificity of 0.995, suggesting that it can be used to identify subclonal variants. Different from existing methods, DEEPOMICS FFPE identified most of the sequencing artifacts in the FFPE samples while retaining more of true variants, including those of low allele frequencies. The newly developed tool DEEPOMICS FFPE may be useful in designing capture panels for personalized circulating tumor DNA assay and identifying candidate neoepitopes for personalized vaccine design. DEEPOMICS FFPE is freely available on the web (http://deepomics.co.kr/ffpe) for research.
Similar content being viewed by others
Introduction
Formalin fixation followed by paraffin embedding is universally practiced for routine clinical processing and storage of tissue samples because it allows thin sectioning for histopathology, immunohistochemistry, and in situ hybridization for companion diagnostics as well as long-term storage at room temperature. However, formalin-fixed, paraffin-embedded (FFPE) tissues are not ideal starting materials for molecular analyses, including next-generation sequencing (NGS). Formalin fixation leads to fragmentation of nucleic acids and hydrolytic deamination of cytosine1,2,3 The deamination of cytosine and 5-methylcytosine induces deoxyuridine(dU):G and T:G mismatches, respectively, eventually creating artificial C:G>T:A substitution1,2,3. The substitution could be also induced by heat treatment for the reversal of crosslinking when DNA is extracted from the blocks1. Suboptimal fixation and DNA/RNA extraction could affect the severity of the damage4,5. Despite these limitations, FFPE tissues are still the major starting materials for NGS performed as companion diagnostics to identify driver mutations. Currently used capture or amplicon-based targeted sequencing cancer panels are analytically validated for accurate variant calls for hotspot mutations with a limit of detection of 5% variant allele frequency. However, confident identification of subclonal driver mutations with low allele frequencies and accurate variant calling of whole-exome or whole-genome sequencing data remain huge challenges. In addition, emerging clinical applications of NGS, such as personalized circulating tumor DNA assay for minimal residual disease detection and personalized neoepitope targeted therapeutic vaccination, require accurate variant calls from non-hotspot mutations. Therefore, a robust method to filter FFPE-induced artificial variants from NGS data must be developed.
A simple strategy to reduce potential artifacts is ignoring all mutations with ≤ 5% allele frequencies (AFs) because FFPE-induced errors are randomly located across the genome and the AFs of artifacts might be lower than 5%4. However, this approach inevitably leads to the filtering of true subclonal mutations with clinical importance, such as the T790M mutation of the epidermal growth factor receptor (EGFR) gene6. Therefore, experimental procedures to improve the quality of nucleic acids from FFPE samples and minimize false positives must be optimized.
Experimental approaches have been suggested to minimize FFPE-induced artifacts. Uracil-DNA glycosylase (UDG) and thymine-DNA glycosylase remove deoxyuridine from dU:G mismatch and thymine from T:G mismatch, respectively, consequently generating abasic sites7,8. Template molecules harboring abasic sites are expected to be excluded from PCR amplification. Treatment with UDG can reduce C:G>T:A by 40–81%8. However, UDG preferentially cleaves a glycosidic bond in deoxyuridine in NdU[G/C] contexts compared with [A/T]dU[A/T] contexts (N represents any base nucleotide)9. FFPE-induced mutational signature is similar to SBS1 and SBS30, in which NC>TG and NC>TA contexts are predominant4. Thus, UDG treatment could ineffectively remove uracil in certain contexts. High-fidelity polymerase Pfu could be used to mitigate the risk of incorporating adenine base opposite to uracil10.
A bioinformatic approach can be applied for accurate variant calling. Genome Analysis ToolKit (GATK, https://gatk.broadinstitute.org/hc/en-us) offers tools for variant discovery, such as a somatic variant caller and a FFPE filter to remove false positives. The filter works based on the assumption that artifacts are generally strand biased. The existing tools described earlier have limited clinical application because they can remove either only a portion or most of the artifacts but at the cost of losing a significant portion of true variants.
We hypothesized that deep neural networks can be trained with paired FF-FFPE sequencing data to distinguish artificial FFPE-induced variants from true variants. In this study, we aimed to develop DEEPOMICS FFPE, a tool that can distinguish artifactual mutations in FFPE variant calls. This model is based on deep neural networks and has learned the characteristics of artifacts distinguishable from those of true variants. To evaluate the performance of the model comprehensively, we tested DEEPOMICS FFPE on FFPE exome sequencing data from various cancer types and variant calls with low mutation allele frequencies (1% < minor allele frequency, MAF < 5%). Our tool showed superior specificity, sensitivity, and F1-score over previously introduced tools. Specifically, DEEPOMICS FFPE identified more artifacts while preserving more true variants than other tools. We believe DEEPOMICS FFPE can provide a better variant pool from which clinicians can identify clinically important variants for accurately estimating tumor mutation burden (TMB), identifying neoepitopes, and characterizing tumor specific mutation signatures.
Results
DNAs from FFPE tissues are highly fragmented
To explore the characteristics of DNA extracted from FFPE tissues, we used publicly available whole-exome sequencing (WES) datasets2,5,11. These datasets are composed of WES data generated from FFPE tissues and matched fresh frozen (FF) tissues from five cancer types (2 lung cancers, 1 fibrosarcoma, 4 liver cancers, 4 colon cancers, and 13 breast cancers). Considering that these datasets were generated by three different groups, we believe they reflect various qualities of WES data resulting from variations in ischemia time before fixation, duration of formalin fixation, DNA extraction method, reverse-crosslinking method, and library preparation method.
In this study, we used a typical WES workflow (Fig. 1A, “Methods”). The insert fragments from the FFPE samples were shorter than the matched FF samples (Fig. 1B–F), suggesting that DNA from the FFPE samples was highly fragmented as previously reported2,3. The fragments from the breast and lung cancer FFPE samples were even shorter than those from the other cancer FFPE samples (Fig. 1C and F compared with B, D, E). This result indicated heterogeneity among the FFPE samples, supporting our assumption that these datasets reflect various DNA and WES data qualities.
Characteristics of FFPE-induced artifacts
GATK-MuTect2 is a reliable and widely used somatic variant calling toolkit12,13,14,15. After variant calling with GATK-MuTect2, we found that several variants in the FFPE samples were not present in the matched FF samples (Fig. 2). Specifically, approximately 80 times more variants were called in the FFPE samples than in the matched FF samples in breast cancers (Fig. 2), even though sequencing depth and coverage were compatible or even higher in the matched FF samples (Supplementary Table S1). This result implies that the FFPE-only variants could be FFPE-induced artifacts. Previous studies demonstrated that low allele frequency, strand bias, and predominant C:G>T:A substitutions are the main characteristics of FFPE-induced artifacts2,4,6,16. To assess the possibility, we stratified the variants called in FFPE into those called in FFPE-only and in both FFPE and FF, hereafter called “FFPE-artifacts” and “true variants”, respectively. We compared the characteristics between the FFPE-artifacts and true variants. The MAF of the FFPE-artifacts was lower than that of the true variants in all cancer types (Fig. 3A). The “SOB score” representing strand bias16 was higher in the FFPE artifacts (Fig. 3B). A score closer to 1 indicates higher bias, whereas a score closer to 0 represents lower bias. In terms of the type of single nucleotide variants (SNVs), the variants called in the FFPE samples were predominantly C>T and G>A. The number of C:G>T:A substitutions was higher in the FFPE-artifacts than in the true variants in breast and lung cancers (Fig. 4A, B), where the majority of detected variants were FFPE-artifacts (Fig. 2). Interestingly the most dominant type of SNV in fibrosarcoma was G>T substitutions due to guanine oxidation17. These data demonstrate the adequacy of the compiled WES dataset we used to represent diverse types of FFPE-induced artifacts. Moreover, we confirmed that the FFPE-artifacts identified in this study have typical properties previously observed2,4,6,16.
Existing tools for removal of FFPE-induced artifacts are not robust
The MuTect filter called “FilterByOrientationBias” can be applied to exclude artifactual mutations from somatic variant calls. It was designed to remove artifacts induced by guanine oxidation and cytosine deamination, which result in G:C>T:A transversion and C:G>T:A transition, respectively. We wanted to check if FilterByOrientationBias could remove FFPE-artifacts. Although the filter retained true variants with a sensitivity of 0.969, it removed only 40.7% of the artifacts (11,204 of 27,510) (“All (public WES dataset)” for MuTect filter in Table 1). Consequently, only 2.4% of the predicted variants were actually true variants, and the rest were artifacts that should have been filtered out. Regardless of the cancer type tested, the filter did not work effectively. Specifically, it failed to remove any FFPE-artifacts from the liver and colon cancer data. In breast cancers, the precision, i.e., the fraction of true somatic variants among predicted somatic variants, was 0.013 (Table 1). This result suggests that the filter is not feasible for clinical applications.
Another option is FFPolish, which removes FFPE-artifact calls based on the characteristics of the artifacts, such as allele frequency, size of insert fragment, and strand bias of the artifacts18. While FFPolish had higher specificity values of 0.931 (“All (public WES dataset)” for FFPolish in Table 1), it did not work well on the breast cancer samples with a precision of 0.063 (Table 1).
DEEPOMICS FFPE, a deep neural network model to classify true variants from artifactual mutations
As previously described, the datasets generated from different groups reflect diverse DNA and sequencing data qualities. Coping well with that diverse circumstances should be paramount to differentiate between the artifacts and the variants. Thus, we developed DEEPOMICS FFPE, a classifier that employs deep neural networks.
FFPE-artifacts have some distinguishable properties, such as low MAF and strand bias. We attempted to excavate other properties that can be used to train the deep neural networks and found that some properties show significant differences between true variants and FFPE-artifacts, for example, the position of mutation and cosine similarity between strand-orientation bias for reference allele reads and for alternate allele reads (Supplementary Fig. S1). In addition, we included some categorical properties, such as whether a given variant is SNV or insertion or deletion (all predictor variables and descriptions of them are listed in Supplementary Table S2). We determined 41 predictor variables using the output of the MuTect2 caller and established deep neural networks composed of 41 input nodes and 3 hidden layers with binary cross entropy as a loss function. The output of the networks is a probability of being a true variant for each called variant. We used 70% of the compiled WES dataset for training and the rest for validation.
In the validation set, we observed improved precision (0.742) after using DEEPOMICS FFPE (“All (public WES dataset)” for DEEPOMICS FFPE in Table 1). Specifically, 99.6% of the FFPE-artifacts (27,408 of 27,510) were successfully eliminated while retaining 70.8% (293 of 414) of the true variants (“All (public WES dataset)” for DEEPOMICS FFPE in Table 1). The datasets used to train the model predominantly were composed of data generated from breast cancers, suggesting that the model was effective on specific samples similar to breast cancer samples used for training. The performance of the model was assessed within each cancer type. In breast cancer, the artifacts were removed almost perfectly with a specificity of 0.998 (26,237 of 26,278 FFPE-artifacts removed); however, 82 of 207 true variants were misclassified with a resulting sensitivity of 0.604 (“Breast cancer” for DEEPOMICS FFPE in Table 1). Similar results were observed in the liver cancer samples (specificity: 0.938, and sensitivity: 0.714). The sensitivity and specificity were balanced in the other cancer samples. These results show that DEEPOMICS FFPE is superior to MuTect filter and FFPolish in terms of F1-score and specificity.
Intriguingly, G:C>T:A artifacts were also removed with a specificity of 0.986 (1047 of 1062 removed) by DEEPOMICS FFPE (“G:C>T:A” for DEEPOMICS FFPE in Table 1). Notably, FFPolish also removed most of the G:C>T:A artifacts with a specificity of 0.968 (1028 of 1062) (“G:C>T:A” for FFPolish in Table 1). A plausible explanation of how DEEPOMICS FFPE and FFPolish distinguish G>T artifacts is that G>T artifacts shared some characteristics with C>T artifacts. The MAF of G:C>T:A artifacts (median value: 0.15) was significantly less than that of G:C>T:A variants (median value: 0.227; one-tailed Mann–Whitney U-test, p-value < 0.005) (Fig. 5A right), as observed between C:G>T:A artifacts and variants (Fig. 5A left). Similarly, the SOB score showed that G:C>T:A artifacts were strand biased compared with their counterpart variants similar to C:G>T:A artifacts (median: 0.66) (Fig. 5B).
DEEPOMICS FFPE can be used to identify true somatic variants with low allele frequencies
Artifacts from FFPE tissues generally have low allele frequencies (Fig. 2A)2,4. Thus, discrimination of true somatic variants with low MAFs from artifacts is important to identify subclonal mutations or driver mutations in samples with a low tumor cellularity, such as pancreatic cancer19,20. Existing tools perform poorly in this aspect. We tested whether DEEPOMICS FFPE can classify variants with 1%–5% MAFs (“Low MAF variants” for DEEPOMICS FFPE in Table 1). DEEPOMIC FFPE removed artifacts with a specificity of 0.995 and preserved true variants with a sensitivity of 0.25. By contrast, MuTect filter removed only 7.5% of the artifacts (“Low MAF variants” for MuTect filter in Table 1). Consequently, 0.111% of the true variants remained among the predicted variants. Similar to DEEPOMICS FFPE, FFPolish successfully eliminated 98.8% of the FFPE-artifacts (“Low MAF variants” for FFPolish in Table 1). However, it misclassified all true variants as artifacts.
Evaluation of DEEPOMICS FFPE using well-defined datasets
We considered the variant calls detected in the FFPE-only samples as FFPE-artifacts. However, we cannot rule out the possibility that some of the FFPE-only artifacts are true subclonal variants not detected in the matched FF sample due to regional genetic heterogeneity. Thus, we used FF and FFPE samples with the same genetic make-up. Additionally, we wanted to evaluate DEEPOMICS FFPE on a new dataset. Thus, we used the A549 (ATCC number: CCL-185) cell line isolated from a patient with lung cancer. We prepared the FFPE block and FF sample from the same batch of the cultured A549 cells. DNAs extracted from matched samples were subjected to WES and targeted capture sequencing with a custom cancer panel. After WES, we observed that the insert fragments from the FFPE block (median length: 147 bp) were shorter than those from the matched FF (median length: 221 bp) (Supplementary Fig. S2) similar to data from clinical samples (Fig. 1B–F). This result indicated that formaldehyde-induced fragmentation occurred, with some artifactual mutations in the FFPE samples. In WES, 790 variants were called from FFPE, of which 51 were FFPE-artifacts. DEEPOMICS FFPE removed 64.7% of the FFPE-artifacts (33 of 51); consequently, 97.5% (711 of 729) of the predicted variants were true variants (“A549 cells (WES)” for DEEPOMICS FFPE in Table 1). To evaluate the performance of DEEPOMICS FFPE and other tools in classifying variants called from high-depth sequencing data, we carried out targeted sequencing with customized cancer panels for the cultured cells. Twenty-one variants were called from FFPE, of which six variants were FFPE-artifacts. DEEPOMICS FFPE perfectly classified all true variants and FFPE-artifacts (“A549 cells (Targeted panel seq)” for DEEPOMICS FFPE in Table 1). However, FFPolish and SOBDetector misclassified two true variants as FFPE-artifacts. MuTect filter misclassified all six FFPE-artifacts as true variants.
To test the performance of the tools on true variants that were previously validated, we performed the targeted capture sequencing of DNA extracted from a commercial reference standard for FFPE (catalog number: HD200, Horizon). Following the manufacturer’s manual, 11 driver mutations in BRAF, KIT, EGFR, KRAS, NRAS, and PIK3CA were validated (Table 2). In the somatic variant calling workflow used in this study, 10 of the 11 variants were called by MuTect2. EGFR T790M was not called presumably because of its low allele frequency (expected allele frequency: 1%). As expected, MuTect filter and SOBDetector showed high sensitivities of 1 (10 out of 10) and 0.9 (9 out of 10), respectively. Meanwhile, DEEPOMICS FFPE classified seven driver mutations as true variants with a sensitivity of 0.7 (7 out of 10) and misclassified two driver mutations (EGFR ΔE746-A750, KRAS G12D, PIK3CA E545K). FFPolish correctly classified six true variants. Taken together, these data confirmed that DEEPOMICS FFPE can effectively discriminate between FFPE-artifacts and true variants.
Discussion
FFPE allows the archival of clinical samples at room temperature for several decades without compromising histomorphology. However, FFPE specimens contain artifactual mutations. Thus, removal of such artifact is important to improve variant calling for precision medicine.
DEEPOMICS FFPE is effective in removing FFPE artifacts, although some true variants were inadvertently filtered out. This might not align with the goals of researchers seeking more true variants. To address this, the cutoff value, which distinguishes between artifacts and true variants, could be fine-tuned. By default, DEEPOMICS FFPE employs a value of 0.5. We realized that adjusting the value to 0.425 maximizes the F1-score. Implementing this change increases sensitivity from 0.708 to 0.717. However, it is important to note that this adjustment might increase the number of false positives.
A previous study showed that the sensitivity and precision of variant calling can be improved by introducing “at least 2 callers”21. In the study, the parameters of four different callers (MuTect2, VarScan222, Strelka223, and Shimmer24) were independently optimized to maximize the overlap between the FF and its FFPE counterpart. Considering the variants called by at least two optimized callers as true variants improved the F1-score to 0.829 for the same dataset used for optimization. However, F1-scores of 0.0647–0.87167 on the different datasets imply that the strategy probably works well only on specific datasets. When we tested it with the same parameters used in the previous study on our lung cancer dataset, several artifacts were classified as true variants (Supplementary Table S3). As a result, we observed the F1-score of 0.13, which is not robust. We hypothesized that AI-based algorithms rather than rule-based approaches such as the “at least 2 caller” strategy can cope effectively with various DNA and sequencing data qualities affected by FFPE. Consistent with this hypothesis, we showed that FFPolish, which employs the machine learning algorithm logistic regression, can make better predictions than rule-based approaches.
Even if an AI algorithm is outstanding, a decision should be explained before its performance can be trusted. We attempted to identify relevant features to assess whether the decision of DEEPOMICS FFPE is reliable. We found that MAF, SOB score, and SNV type are important features using SHapley Additive exPlanations, which can identify features that are relevant for a machine learning algorithm to make predictions25. This result indicates that the prediction of DEEPOMICS FFPE is reasonable because the relevance of the features was expected as previously shown (Figs. 3 and 4). To gain deep insights into the contribution of the features for the prediction, we extracted the outputs of the second hidden layer and projected them into two-dimensional space by using UMAP (Uniform Manifold Approximation and Projection for Dimension Reduction26). First, we superimposed how confidently DEEPOMICS FFPE classified a given variant as a true variant on the space (Supplementary Fig. S3). In the figure, darker red indicates that DEEPOMICS FFPE confidently classifies a given variant as a somatic variant, whereas darker blue represents it confidently classifies a given variant as a FFPE-artifact. Interestingly, variants classified as somatic by DEEPOMICS FFPE with high confidence are localized together (a rectangle in Supplementary Fig. S3B and S3D). In the case of true FFPE-artifacts in the rectangle, DEEPOMICS FFPE does not seem confident that the artifacts are real (Supplementary Fig. S3A and S3C). To understand the contribution of SOB score to the confidence of DEEPOMICS FFPE, we superimposed the SOB score as the confidence of DEEPOMICS FFPE (Supplementary Fig. S4). The somatic variants confidently predicted were less strand biased (rectangle in Supplementary Fig. S4B and S4D), whereas the variants classified as artifacts were strand biased (rectangle in Supplementary Fig. S4A and S4C). This result indicated that the SOB score provided discriminating power to variant classification in the area where DEEPOMICS FFPE confidently predicted true somatic variants. We also checked whether MAF contributes discriminating power by plotting MAF on the space (Supplementary Fig. S5). Unlike SOB score, MAF did not provide strong discriminating power in the area. However, MAF allowed DEEPOMICS FFPE to exclude some artifacts with high allele frequency by making them locate in distinct areas. We analyzed the effect of the combination of MAF and SOB score on making predictions. As shown in Supplementary Fig. S5, MAF helped DEEPOMICS FFPE discriminate FFPE-artifacts with high allele frequencies (Supplementary Fig. S6). Interestingly, the combination of MAF and SOB score helped discriminate true FFPE-artifacts with MAF < 0.5 from true somatic variants. We tested various combinations between the features listed in the Supplementary Table S2 (data not shown) and concluded that the process by which DEEPOMICS FFPE makes predictions can be explained and expectable.
The mutational signatures of cancer tissues can provide an insight into the mutation processes during cancer development. For example, mutation signatures SBS2 and SBS13 are associated with the activation of APOBEC (Apolipoprotein B mRNA editing enzyme, catalytic polypeptide), a major driver of subclonal evolution of the cancer genome27,28. Given that APOBEC3B catalyzes cytosine deamination similar to FFPE, FFPE-artifacts may be misinterpreted as APOBEC mutation signature, while true mutations caused by APOBEC3B could be misclassified as FFPE-artifacts by DEEPOMICS FFPE. In this context, we attempted to characterize the single base substitution signature of WES data from FF, FFPE, and the FFPE after applying DEEPOMICS FFPE for breast cancer samples. For this, we inevitably had to use all mutation calls, including the calls used for model training, because the mutation signature analysis requires as many mutations as possible for its comprehensiveness. Results showed that all FFPE samples for breast cancers, except for “Breast cancer-9,” showed SBS2 related to hyper-active APOBEC; however, eight of the FFPE samples were not observed in the matched FF samples (Supplementary Fig. S7). This result indicates that the FFPE-induced artifactual mutations could mislead the given cancer to have an APOBEC-positive signature. This observation was not reported in the previous study4. After applying DEEPOMICS FFPE (Supplementary Fig. S7C), the contribution of SBS2 in FFPE from “Breast cancer-13” was consistent (Supplementary Fig. S7C) with the observation in the matched FF samples (Supplementary Fig. S7A). This result implies that “Breast cancer-13” has an APOBEC-positive signature and that DEEPOMICS FFPE helped refine patient-specific mutational signature by removing FFPE-artifacts although SBS2 signature that does not seem to be real was detected in “Breast cancer-9” by applying DEEPOMICS FFPE. Three FF samples (Breast cancer-1, -2, and -7) had SBS13, but they were not detected in the matched FFPE samples (Supplementary Fig. S7A and S7B). DEEPOMICS FFPE could salvage two of them while misclassifying one non-SBS13 cases as SBS13 (Supplementary Fig. S7C). Overall, if we were to classify cases with either SBS2 or SBS13 as APOBEC activated, 5 of 13 FF cases (Breast cancer-1, -2, -7, -10, and -13), 12 of 13 FFPE cases (all samples except for Breast cancer-9), and 4 DEEPOMICS FFPE cases (Breast cancer-2, -7, -9, and -13) would be classified as APOBEC activated. SBS1 and SBS30 were exclusively observed in the FFPE samples, which was consistent with the previous finding that FFPE-signature is similar to SBS1 and SBS304. Impressively, all SBS30 signatures observed in FFPE disappeared after applying DEEPOMICS FFPE, whereas “Breast cancer-2” still showed SBS1 even after DEEPOMICS FFPE (Supplementary Fig. S7C). Surprisingly, SBS11, which is associated with previous temozolomide treatment, was observed in all FFPE samples29. This result was not reported in the previous study4. Considering that that the signature catalog was not observed in the matched FF sample, it should be related to FFPE-artifacts. Eventually, the SBS11 detected in FFPE was removed by DEEPOMICS FFPE except “Breast cancer-6”. SBS15 signatures were detected in all the FF samples but were absent in the FFPE samples. Even after applying DEEPOMICS FFPE, the signature remained undetected. According to COSMIC documentation, SBS15 exhibits predominant GCG>GTN alterations. It is possible that DEEPOMICS FFPE misclassifies cases where the true alterations are GCN>GTN, although the exact cause is yet unknown. Exploring whether the sequence context contributes to artifact removal would be interesting for further study. In summary, this study demonstrates that DEEPOMICS FFPE has the potential to refine signatures associated with certain etiologies.
We have shown the performance of our newly developed tool DEEPOMICS FFPE trained on datasets publicly available. We observed varying numbers of FFPE artifacts and characteristics among the datasets. The origin of these differences remains unclear, whether they come from sample-specific entities or the chemistry used during dataset generation, although it is not necessarily mutually exclusive. Consequently, the datasets may reflect limited specific entities or chemistry. It is conceivable that DEEPOMICS FFPE has only learned a restricted spectrum of information represented in these datasets.
To ensure the universal applicability of DEEPOMICS FFPE, we sequenced DNA from FFPE-blocks of cultured cells, confirming its effectiveness in removing artifacts from ‘unseen’ samples. Nevertheless, it is imperative to validate DEEPOMICS FFPE on datasets derived from diverse entities and generated using varying chemistry. Datasets from high-TMB cancers, such as melanoma, or defective DNA repair signatures should be worth generating because these samples contain several mutations with various allele frequencies. We hope we can collaborate with academia that can generate these datasets to improve personalized medicine.
Methods
WES datasets
We obtained WES datasets for five types of cancer, including 24 FFPE samples and 24 matched FF samples (Supplementary Table S1). Data of one fibrosarcoma and two lung cancers were downloaded from Sequence Read Archive (SRA) with the accession number PRJNA301548. Data of four liver cancers and four colon cancers were downloaded from European Genome-Phenome Archive (EGA) with the accession number EGAS00001002631. Although the liver and colon cancer tissues were obtained from a single patient each, we treated them as separate samples for data augmentation. For breast cancers, we downloaded 13 matched FFPE and FF datasets from SRA with the accession number SRP044740. In the case of breast cancers, some technical replicates (Supplementary Table S1) were used as separate samples for data augmentation.
WES workflow
The fastq files that were downloaded underwent quality control and adapter trimming. We aligned the sequences to the human reference genome (hg19 assembly) and removed potential PCR duplicates using BWA and Picard. Prior to variant calling, the base calls were recalibrated using the GATK toolkit. MuTect2, which is widely used and known for its stability and relative accuracy12,14,15, was used as the somatic variant caller. The variants were annotated using SnpEff, a genetic variant annotation tool30. We used the variants that fulfilled a PASS filter.
To visualize the distributions of the length of insert fragments, we obtained concordantly mapped reads that met the following criteria; properly mapped, not duplicated, not secondary, not supplementary, and mapping quality greater than 20. Then the length of the fragments was obtained using pysam, a python module for reading BAM file. The SOB scores were calculated as previously described16, and MAF from variant call format (VCF) was visualized with matplotlib, a python library for visualization31.
Development of DEEPOMICS FFPE and evaluation of DEEPOMICS FFPE, MuTect filter, and FFPolish
To avoid any preoccupation and evaluate DEEPOMICS FFPE and existing tools (MuTect filter, FFPolish, and SOBDetector) fairly, variant calls from every single vcf file were divided into a random train and a validation dataset at a ratio of 7 (train dataset):3 (validation dataset). For this, we used the train_test_split function of scikit-learn (https://scikit-learn.org) with the “random_state=42” option32. Although we used technical replicates as independent samples for model training, we excluded the variants overlapped with the variants used for model training when we evaluated the tools.
The features extracted for DEEPOMICS FFPE and their descriptions are listed in supplementary Table S2. DEEPOMICS FFPE consists of three linear layers with 41, 32, and 16 nodes. The first two layers each have a rectified linear unit (ReLU) activation function33. Two batch normalization layers were added between hidden layers to improve performance34. Softmax function was used for the output that represents a probability of being a true variant for each called variant. Binary cross entropy and Adam algorithm were used to compute loss and update model parameters, respectively35. The model was implemented with PyTorch (version 1.11.0)36.
The same datasets were used to evaluate DEEPOMICS FFPE, MuTect filter13, SOBDetector16, and FFPolish18. Accuracy, specificity, sensitivity (also known as recall), precision, and F1-score were calculated as follows:
where TP, TN, FP, and FN are true positives, true negatives, false positives, and false negatives, respectively.
Preparing FFPE block for A549 cells
A549 (MERCK) cells were grown on RPMI 1640 medium supplemented with 10% fetal bovine serum (Cytiva) and 1% penicillin/streptomycin (Gibco) in a roller bottle (Jet Bio-Filtration). The cells were washed with Dulbecco’s phosphate buffered saline (Gibco) and then harvested with Accutase (Sigma). Prior to centrifugation, the cells were divided into two tubes for FFPE and FF samples. After centrifugation, the cells in the tube for FF were stored in liquid nitrogen until ready to use. For the FFPE samples, cells at 1 × 108 were subjected to fixation with neutral buffered 4% paraformaldehyde (Cellnest) at 4 °C for 24 h. After centrifugation at 250 × g for 5 min, the pellets were resuspended with 4% low-melting-point agarose (Invitrogen) and solidified on ice for 3 min. The samples were stored in 4% paraformaldehyde (Cellnest) for 24 h and then embedded with melted paraffin in an embedding cassette. The FFPE block was stored at room temperature for about 2 months before DNA extraction.
Sequencing for A549 cells and the standard reference material
The GeneRead kit (Qiagen) was used to extract DNA from the FFPE block for A549 cells and the standard material (HD200, Horizon). Although there is a step to treat UDG enzyme to remove dU from DNA molecules in accordance with the manufacturer’s instructions, we did not treat it. To obtain sufficient artifactual mutations, we added the same volume of nuclease-free water instead of the enzyme in the step. Exome was captured and libraries were prepared using the SureSelect V5 enrichment capture kit (Agilent). The libraries for targeted sequencing were prepared using our customized cancer panel (gene number of 359; panel size of 1.66 Mb) produced by Agilent in accordance with the manufacturer’s instructions. The libraries were sequenced using the NovaSeq 6000 system (Illumina).
Characterization of mutational signatures
To characterize the mutational signatures of breast cancers, we used Mutalisk, a web-based somatic mutation analysis toolkit with default options37. Considering that the breast cancer datasets include multiple replicates, we used the union set of variant calls for each breast cancer sample. In addition, mutational signature analysis requires as many variant calls as possible. Hence, we used all variant calls, including the variants used for training.
Data availability
The datasets generated during this study are available in SRA under accession number (PRJNA991305). Public sequence datasets used in the study are available in SRA under accession number (PRJNA301548 and SRP044740) and in EGA under accession number (EGAS00001002631). Web-based DEEPOMICS FFPE is available on the web (http://deepomics.co.kr/ffpe).
References
Do, H. & Dobrovic, A. Sequence artifacts in DNA from formalin-fixed tissues: Causes and strategies for minimization. Clin. Chem. 61, 64–71 (2015).
Oh, E. et al. Comparison of accuracy of whole-exome sequencing with formalin-fixed paraffin-embedded and fresh frozen tissue samples. PLoS One 10, e0144162 (2015).
Hedegaard, J. et al. Next-generation sequencing of RNA and DNA isolated from paired fresh-frozen and formalin-fixed paraffin-embedded samples of human cancer and normal tissue. PLoS One 9, 98187 (2014).
Guo, Q. et al. The mutational signatures of formalin fixation on the human genome. Nat. Commun. 13, 4487 (2022).
Bonnet, E. et al. Performance comparison of three DNA extraction kits on human whole-exome data from formalin-fixed paraffin-embedded normal and tumor samples. PLoS One 13, 19571 (2018).
Bhagwate, A. V. et al. Bioinformatics and DNA-extraction strategies to reliably detect genetic variants from FFPE breast tissue samples. BMC Genom. 20, 689 (2019).
Do, H. et al. Reducing artifactual EGFR T790M mutations in DNA from formalin-fixed paraffin-embedded tissue by use of thymine-DNA glycosylase. Clin. Chem. 63, 1506–1514 (2017).
Do, H., Wong, S. Q., Li, J. & Dobrovic, A. Reducing sequence artifacts in amplicon-based massively parallel sequencing of formalin-fixed paraffin-embedded DNA by enzymatic depletion of uracil-containing templates. Clin. Chem. 59, 1376–1383 (2013).
Hölz, K., Pavlic, A., Lietard, J. & Somoza, M. M. Specificity and efficiency of the uracil DNA glycosylase-mediated strand cleavage surveyed on large sequence libraries. Sci. Rep. 9, 1 (2019).
Heyn, P. et al. Road blocks on paleogenomes-polymerase extension profiling reveals the frequency of blocking lesions in ancient DNA. Nucleic Acids Res. 38, 161 (2010).
Tellaetxe-Abete, M., Calvo, B. & Lawrie, C. Ideafix: A decision tree-based method for the refinement of variants in FFPE DNA sequencing data. NAR Genom. Bioinform. 3, 4 (2021).
Krøigård, A. B., Thomassen, M., Lænkholm, A. V., Kruse, T. A. & Larsen, M. J. Evaluation of nine somatic variant callers for detection of somatic mutations in exome and targeted deep sequencing data. PLoS One 11, 51665 (2016).
Cibulskis, K. et al. Sensitive detection of somatic point mutations in impure and heterogeneous cancer samples. Nat. Biotechnol. 31, 213–219 (2013).
Cai, L., Yuan, W., Zhang, Z., He, L. & Chou, K. C. In-depth comparison of somatic point mutation callers based on different tumor next-generation sequencing depth data. Sci. Rep. 6, 1 (2016).
Alioto, T. S. et al. A comprehensive assessment of somatic mutation detection in cancer using whole-genome sequencing. Nat. Commun. 6, 10001 (2015).
Diossy, M. et al. Strand orientation bias detector to determine the probability of FFPE sequencing artifacts. Brief. Bioinform. 22, 6 (2021).
Costello, M. et al. Discovery and characterization of artifactual mutations in deep coverage targeted capture sequencing data due to oxidative DNA damage during sample preparation. Nucleic Acids Res. 41, e67–e67 (2013).
Dodani, D. D., Nguyen, M. H., Morin, R. D., Marra, M. A. & Corbett, R. D. Combinatorial and machine learning approaches for improved somatic variant calling from formalin-fixed paraffin-embedded genome sequence data. Front. Genet. 13, 156 (2022).
Mahadevan, D. & Von Hoff, D. D. Tumor-stroma interactions in pancreatic ductal adenocarcinoma. Mol. Cancer Ther. 6, 1186–1197 (2007).
Biankin, A. V. et al. Pancreatic cancer genomes reveal aberrations in axon guidance pathway genes. Nature 491, 399–405 (2012).
De Schaetzen Van Brienen, L. et al. Comparative analysis of somatic variant calling on matched FF and FFPE WGS samples. BMC Med. Genom. 13, 1 (2020).
Koboldt, D. C. et al. VarScan 2: Somatic mutation and copy number alteration discovery in cancer by exome sequencing. Genome Res. 22, 568–576 (2012).
Kim, S. et al. Strelka2: Fast and accurate calling of germline and somatic variants. Nat. Methods 15, 591–594 (2018).
Hansen, N. F., Gartner, J. J., Mei, L., Samuels, Y. & Mullikin, J. C. Shimmer: Detection of genetic alterations in tumors using next-generation sequence data. Bioinformatics 29, 1498–1503 (2013).
Lundberg, S. M., Allen, P. G. & Lee, S.-I. A Unified Approach to Interpreting Model Predictions. https://github.com/slundberg/shap (2022).
McInnes, L., Healy, J. & Melville, J. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction (2018).
Alexandrov, L. B. et al. The repertoire of mutational signatures in human cancer. Nature 578, 94–101 (2020).
Chan, K. et al. An APOBEC3A hypermutation signature is distinguishable from the signature of background mutagenesis by APOBEC3B in human cancers. Nat. Genet. 47, 1067–1072 (2015).
Kucab, J. E. et al. A compendium of mutational signatures of environmental agents. Cell 177, 821-836.e16 (2019).
Cingolani, P. et al. A program for annotating and predicting the effects of single nucleotide polymorphisms, SnpEff: SNPs in the genome of Drosophila melanogaster strain w1118; iso-2; iso-3. Fly (Austin) 6, 80–92 (2012).
Hunter, J. D. Matplotlib: A 2D graphics environment. Comput. Sci. Eng. 9, 90–95 (2007).
Pedregosa, F. et al. Scikit-learn: Machine learning in python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
Agarap, A. F. Deep Learning using Rectified Linear Units (ReLU). arXiv: 1803.08375 (2018).
Santurkar, S., Tsipras, D., Ilyas, A. & Mit, A. M. A. How Does Batch Normalization Help Optimization? (Springer, 2022).
Kingma, D. P. & Ba, J. Adam: A Method for Stochastic Optimization (Springer, 2014).
Paszke, A. et al. PyTorch: An Imperative Style, High-Performance Deep Learning Library. arXiv:1912.01703 (2019).
Lee, J. et al. Mutalisk: A web-based somatic MUTation AnaLyIS toolKit for genomic, transcriptional and epigenomic signatures. Nucleic Acids Res. 46, W102–W108 (2018).
Author information
Authors and Affiliations
Contributions
D.-H.H., S.P., and S.-E.H. conceived and designed the study and wrote the manuscript. D.-H.H., I.K., and H.S. conducted the data analysis and developed DEEPOMICS FFPE. S.-G.K. cultured the A549 cells and prepared FFPE blocks. M.K., J.P., and H.P. carried out next-generation sequencing. J.K., and S.K. developed web-based DEEPOMICS FFPE.
Corresponding author
Ethics declarations
Competing interests
The authors are employees and shareholders of Theragen Bio Co., Ltd. D.-H.H., I.K, H.S., S.-G.K., M.K., J.P., H.P., S.P., and S.-E.H are inventors on patent regarding this work.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Heo, Dh., Kim, I., Seo, H. et al. DEEPOMICS FFPE, a deep neural network model, identifies DNA sequencing artifacts from formalin fixed paraffin embedded tissue with high accuracy. Sci Rep 14, 2559 (2024). https://doi.org/10.1038/s41598-024-53167-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-024-53167-0