Abstract
Virus infectivity is traditionally determined by endpoint titration in cell cultures, and requires complex processing steps and human annotation. Here we developed an artificial intelligence (AI)-powered automated framework for ready detection of virus-induced cytopathic effect (DVICE). DVICE uses the convolutional neural network EfficientNet-B0 and transmitted light microscopy images of infected cell cultures, including coronavirus, influenza virus, rhinovirus, herpes simplex virus, vaccinia virus, and adenovirus. DVICE robustly measures virus-induced cytopathic effects (CPE), as shown by class activation mapping. Leave-one-out cross-validation in different cell types demonstrates high accuracy for different viruses, including SARS-CoV-2 in human saliva. Strikingly, DVICE exhibits virus class specificity, as shown with adenovirus, herpesvirus, rhinovirus, vaccinia virus, and SARS-CoV-2. In sum, DVICE provides unbiased infectivity scores of infectious agents causing CPE, and can be adapted to laboratory diagnostics, drug screening, serum neutralization or clinical samples.
Similar content being viewed by others
Introduction
Viruses affect cells in many different ways, including metabolism, signal transduction, gene expression, intracellular membrane organization, cytoskeletal integrity, and overall morphology1,2,3. Collectively, these changes are known as the cytopathic effect (CPE). CPE can be highly pathogen-specific, bearing diagnostic potential4,5. CPE is a hallmark of acute virus infection, and its detection is key for biological titer determination of inocula, as exemplified by plaque assay or endpoint dilution assays yielding tissue culture infectious dose 50 (TCID50) values6,7,8,9. In the laboratory, these assays have traditionally been performed using cell stains, for example crystal violet (CV), or nuclear dyes, such as the DNA-intercalating Hoechst compounds10,11,12. In clinical settings, TCID50 assays are not routinely used due to the requirement of manual annotation, the lack of virus specificity, and a rather slow readout that can take several days. Here we deliver a robust procedure to massively improve accuracy, automation, and marker-free infection detection. The procedure is based on light microscopy and AI and delivers virus-type-specific results. Light microscopy is suitable to study infected cells in live mode. It monitors changes in shape, morphology, and physiological state of individual cells or population of cells, and is suitable to assess infection variability13,14,15,16. In the past decade, automatic interpretation of microscopy images has been increasingly enhanced by deep learning (DL) and convolutional neural networks (CNNs) and enabled numerous applications in cell and infection biology17,18. For instance, transmitted light microscopy combined with DL predicts fluorescent labels19,20, or classifies cell state and type21. Recent efforts have combined label-free imaging methods with image processing and artificial intelligence (AI) for automated detection of viral CPE in populations of cultured cells. For example, Hochdorfer and colleagues described that an automated image processing pipeline assessing cell confluency in transmitted light images can be used to detect infection of BHK-21 cells with vesicular stomatitis virus (VSV)22. Unfortunately, this investigation was limited to only one virus and one cell line. Similarly, work by Wang and colleagues showed that DL can be employed for the detection of influenza-induced CPE in MDCK cells23. CPE detection by neural networks has also been described for influenza virus, parainfluenza virus, and enterovirus24, but experimental conditions were not documented, and the code or dataset is not available, limiting broader useability. Another study proposed that DL can be used for early detection of viral CPE25, but this approach requires a specifically trained model for a given cell line, virus, and imaging modality, making it difficult to use. Here we present a broad framework for detection of virus-induced cytopathic effect (DVICE) to score CPE in populations of cultured cells under well-defined experimental settings. We employ the recent CNN EfficientNet-B026 to achieve robust infection detection for a panel of different cell lines and viruses. Our procedure is compatible with live-cell imaging. It specifically recognizes image regions associated with CPE and opens new ways to standardization and automation of virus infectivity measurements.
Results
Automated transmitted light microscopy combined with AI-based image classification enables high-throughput virus infection readout
To establish a workflow for automated scoring of virus infections, we performed a serial dilution infection protocol, and annotated infection phenotypes by transmission light (TL) microscopy and crystal violet (CV) staining to obtain ground truth data. The training of DVICE was done in the next step, and the results were compared afterward (Fig. 1A). Ten thousand permissive cancer cells were seeded into 96-well plates, followed by inoculation with either human adenovirus species C type 5 (short AdV), herpes simplex virus type 1 (short HSV), influenza A virus (IAV), rhinovirus type A16 (short RV), vaccinia virus-WR (short VACV), coronavirus (CoV)−229E, CoV-OC43, or several isolates of severe acute respiratory syndrome CoV-2 (short SARS-CoV-2), and incubated cells for 7 days to allow for manifestation of CPE. TL images were acquired using a high-throughput microscope ImageXpress Micro Confocal (IXM-C, Molecular Devices) with a ×4 magnification objective and a plate loading robot. One central site was imaged for each well, covering approximately one-third of the well. Cells were then fixed with 4% paraformaldehyde (PFA) for 30 min, and stained with 0.25% CV. The infection of the stained samples was independently annotated by three human experts. Infection-annotated images were then used to train a CNN based on the EfficientNet-B0 architecture26 for infection state classification. The number of images used from the different viruses comprised a total of 58,619 images, of which 22,873 images (39%) were from infected, and 35,746 images (61%) from uninfected wells (Fig. 1B). The dataset comprised five different cell lines, human lung epithelial A549 cells for infection with AdV, HSV, IAV, VACV, human cervical cancer HeLa-ATCC cells for VACV, HeLa-Ohio cells for RV, human hepatoma Huh7 cells for CoV-229E and CoV-OC43, and African green monkey VeroE6 cells for SARS-CoV-2. Example images are provided in Supplementary Fig. 1, and viruses, cell lines, and other reagents are listed in Table 1. To enhance the infection readout of SARS-CoV-2, we used three transgenic cell lines expressing the angiotensin-converting enzyme 2 (ACE2) or the transmembrane protease (TMPRSS2), namely A549-ACE227, Huh7-ACE227, and VeroE6-TMPRSS228. We also acquired a total of 3840 images from uninfected sparsely seeded A549, HeLa-ATCC, HeLa-Ohio, and Huh7 cells, 960 images from each cell line.
As previous work demonstrated that cell confluency can be a surrogate for the infection state22, we next quantified the cell confluency in our dataset (Fig. 1C, Supplementary Fig. 2). As expected, the median confluency was highest for uninfected wells. Yet, it showed high inter- and intra-class variability for the different conditions. Intraclass variability may arise from the range of viral concentrations used in the serial dilution assays, and interclass variability can be due to the virus-specific manifestation of CPE.
A convolutional neural network achieves human-level accuracy in infection readout and identifies infection-specific features
We used human expert annotation of the CV-stained plates as ground truth for the infection state and thereupon trained a light-weight CNN based on the EfficientNet-B026 architecture to classify the TL images of infected and uninfected wells. For network training, images were downscaled to a size of 224 × 224 pixels using bicubic interpolation. We trained DVICE for the classification of infected images and compared its performance to several conventional machine learning (ML) algorithms, including support vector machine (SVM), k-nearest neighbors (k-NN), Gaussian naive Bayes (GNB), decision tree (DT) classifier, logistic regression (LR), and random forest (RF) classifier. DVICE achieved an area under the receiver operating characteristic curve (AUROC) of 0.991 ± 0.001, surpassing canonical ML methods (Fig. 2A, Supplementary Fig. 2A). Conventional ML methods were trained on histograms of oriented gradients (HOG)29, which demonstrated superior performance compared to confluency- or intensity-based input features (Supplementary Figs. 3 and 4).
Next, we assessed the suitability of DVICE for application in the readout of TCID50 plates. Entire virus titration plates were withheld from the training and validation set, and the trained model was used for infection state classification and subsequent TCID50 calculation using the specific infection (SIN) method30. Compared with human annotation, DVICE achieved a squared Pearson correlation coefficient of \({R}^{2}\) = 0.986 (slope 1.00 ± 0.01, n = 130, p = \({10}^{-120}\)), indicating excellent agreement between actual and predicted labels (Fig. 2B, C). To determine whether DVICE learned robust features for infection scoring, we used a procedure known as class activation mapping (CAM)31 to visualize important regions for infection detection (Fig. 2D). This procedure harnesses the global average pooling (GAP) layer of the EfficientNet-B0 architecture, which yields a spatial feature map. This feature map can be upscaled and overlaid with the originally acquired image (Fig. 2D). In images with confined regions of CPE, the network attention was typically focused on regions with virus-induced lesions. Interestingly, localization was still preserved despite the heavy image resizing to ~1% of the original pixel count. The network had a tendency towards disregarding the dark image corners and had a flat attention map for uninfected wells. These CAM analyses show that DVICE recognizes robust features associated with CPE, and thereby enables reliable infection detection.
DVICE is suitable for real-time infection monitoring and transferable to different imaging modalities
As our framework does not require chemical fixation of the sample and is compatible with live-cell imaging, we hypothesized that DVICE can be used for real-time monitoring of virus infections. To test this, ten thousand A549 cells were seeded in each well of a 96-well plate overnight and infected with AdV-IX-FS2A-GFP, which expresses GFP under the control of the promoter of the intermediate-late viral protein IX32. TL and GFP fluorescence images were acquired each day until day 7 post-infection (pi) (Fig. 3A). Virus concentration affected both the onset and magnitude of GFP expression. The onset of GFP expression generally preceded CPE detected by DVICE, suggesting that DVICE scores features late in infection but not early ones when cells are still fully attached and do not show lesions in the CV staining. Importantly, DVICE did not score sparse cells as infected, despite a correlation between infection state and confluency in the training dataset (see Fig. 1C). We attribute this to the presence of images of sparsely seeded cells in our dataset, enabling the network to learn that low cell confluency is not a defining hallmark of viral infection state. In summary, DVICE can be used to monitor the progression of infection in live cells and without interference.
A frequent limitation in applications of neural networks is a lack of generalization beyond the conditions of training33,34. To address this issue, we performed leave-one-out cross-validations, where we trained and validated the network on all images, including uninfected samples, while withholding images from a given virus. The performance of the network was then assessed on the withheld images. Results showed high AUROC values > 0.7 up to near 1 (Fig. 3B), suggesting that the performance variability for the different viruses could be attributed to the nature of the CPE or the number of images in the particular training dataset. Notably, however, the overall high AUROC values in the leave-one-out cross-validation indicate good generalization, which favors the DVICE application to new settings. Accordingly, the CV staining for HSV showed a better spatial separation between infected and uninfected wells compared to AdV (Supplementary Fig. 1C and D). These results suggest that a fast replicating virus, such as HSV35, gives rise to distinct CPE compared to a somewhat slower replicating virus, such as AdV species C, for example C2 or C536.
To further assess the versatility of DVICE, TL images from infected cells were acquired with two different microscopes, the IXM-C (Molecular Devices), which was used to record the training dataset, and the Cytation 5 microscope (Agilent). Ten thousand A549 cells were seeded per well in 96-well plates and infected with serial dilutions of AdV, HSV, or VACV or were left uninfected. At 7 dpi, DVICE achieved an AUROC of 0.873 ± 0.071 for images acquired at the Cytation 5 microscope, compared to 0.941 ± 0.004 for the IXM-C (Fig. 3C). The predictions of DVICE for images acquired at the IXM-C and the Cytation 5 were in excellent agreement, as reflected in a value of 0.92 for Krippendorff’s alpha37.
High accuracy of DVICE at scoring infectious SARS-CoV-2 in human samples
As DVICE successfully scored viral infectivity, we tested the possibility that our workflow could detect viral infectivity in clinical samples. We spiked samples of human saliva from a PCR-negative donor with a laboratory SARS-CoV-2 BA.1 variant stock reaching a virus titer corresponding to genome equivalents seen in hospitalized COVID-19 patients38,39. Samples were diluted with DMEM, passed through a 0.22 µm filter to remove cellular debris as well as bacteria, and then incubated at different temperatures for different periods of time, followed by biological titer determination in TCID50 assays (Fig. 4A). The presence of saliva reduced the viral titer in a time- and temperature-dependent manner compared to virus in DMEM only, but infectious titer was readily detectable in all conditions, providing proof-of-concept for investigation of clinical specimens. Human annotation of infection was compared to DVICE for a total of 3646 images (including 627 infected images) of A549-ACE2, Huh7-ACE2, or VeroE6-TMPRSS2 cells inoculated with serial dilutions of saliva spiked with SARS-CoV-2 BA.1, where DVICE achieved an AUROC of 0.918 ± 0.020. DVICE showed a sensitivity (true positive rate) of 0.946 ± 0.006 and specificity (true negative rate) of 0.890 ± 0.044 (Fig. 4B). These data suggest that DVICE provides reliable results with human samples, and can be potentially considered for virus titer determination in a clinical context, for example, antiviral drug efficacy studies.
DVICE distinguishes infections by different viruses
As DVICE recognizes viral CPE, we next tested whether it could also be extended to detect the particular nature of the infecting virus. As not all cell lines in our study are susceptible to infection with all viruses, the cell line information could provide cues about the infecting virus. To mitigate any cell line-specific information and incentivize the network to learn the virus-specific infection signature, we trained DVICE on the previously generated segmentation maps of the images. Example images of the segmentation maps are provided in Fig. 5A. DVICE was trained with the same procedure as described above, using a dense layer with six output classes (uninfected, AdV, HSV, RV, SARS-CoV-2, VACV) and categorical instead of binary cross entropy loss. Overall, DVICE achieved an accuracy of 0.799 ± 0.025, an F1 score (harmonic mean of sensitivity and specificity) of 0.802 ± 0.026, and a Matthews Correlation Coefficient of 0.757 ± 0.029. Evaluation of the confusion matrix indicated that DVICE successfully recognized the different classes, with a slight bias towards AdV (Fig. 5B). Overall, DVICE achieved high sensitivity for all viruses (Fig. 5C).
To explore which image properties could facilitate class-specific recognition, we generated a synthetic dataset to probe for the network output across a range of conditions (Supplementary Fig. 5). The combination of high confluency and spatial autocorrelation was associated with increased rates of detection of the classes uninfected, SARS-CoV-2, and VACV, while images with low confluency and spatial autocorrelation were associated with AdV and RV. This could reflect the biological phenotype of the viruses, as VACV and SARS-CoV-2 infections lead to the formation of syncytia resulting in clusters of cells. We conclude that virus-class recognition is well feasible, although at present less robust than classification of the infection state.
Discussion
The course of the SARS-CoV-2 pandemic has dramatically indicated the global lack of rapidly available and reliable procedures to score the infectivity of viral pathogens in clinical samples in a standardized manner. Available PCR-based diagnostics is highly sensitive but may lead to false positive results40,41, as it measures genome equivalents and falls short of providing reliable infectivity scores in both acute and persistent infection settings5. In the case of enteroviruses and SARS-CoV-2, these limitations have been exposed by anti-viral compounds that reduce the production of progeny without affecting replication39,42. Further examples include the HIV protease inhibitor Nelfinavir blocking human adenovirus cell egress, or the oxidation–reduction modulator Provay Blue broadly inhibiting the release of infectious coronavirus progeny from infected primary human airway cell cultures27,36,43,44.
Here we introduce an accurate automated framework for the broad detection of viruses using light microscopy. The DVICE framework holds a fully automated, label-free, robust procedure for quantification of virus-induced CPE. It allows live monitoring of virus infections alone or in combination with fluorescence microscopy. DVICE is highly versatile and readily adaptable to new experimental settings, including new pathogens, cell lines, and imaging conditions. The current work demonstrates that DVICE can efficiently discriminate between viral lesions in a confluent monolayer and subconfluent conditions upon sparse cell seeding. This reflects the notion that virus-induced cell lesions are uniquely suited to be recognized by our framework. Our work extends previous analyses of subnuclear patterns of infected cells and the shape of cell lesions to predict lytic, cell-free, or non-lytic, cell-based viral transmission12,44,45,46. DVICE has the power to determine the nature of the virus based on a particular CPE signature. We propose that PCR-based assays are complemented with cell culture-based automated scoring of infectious units. Absence of detectable infectivity may provide important clinical milestones in disease management and diagnosis, including continuation, interruption, or change of treatment. In this sense, DVICE may complement ML models to analyze diverse viral sequence data towards developing a range of new diagnostic tools47. Yet importantly, DVICE provides viral infectivity data and thereby enhances personalized anti-viral treatment options. If combined with anti-viral treatments, this will allow on-target therapies and may contribute to reducing the propagation of drug-resistant viruses appearing in nature as well as in virus- and host-directed anti-viral treatments48,49,50,51.
In addition to classical infection assays, an infection readout by DVICE can facilitate the quantification of neutralizing antibody titers, for example, in human samples using microneutralization or plaque reduction neutralization tests. Neutralizing antibodies are an indicator of protective immunity and provide essential information for vaccine development and public health52,53. Our framework can be used to detect virus-induced CPE in populations of cultured cells based on transmitted light microscopy images. To score virus infection, the cells must be susceptible to the particular virus. For optimal throughput, the workflow benefits from an automated microscope. In our time-resolved infection analysis, the onset of viral gene expression occurred before infection detection by DVICE, indicating that DVICE may be unable to detect the presence of a virus early in infection or a virus that persists in cells without overt cytopathic effects. This limitation is, however, compensated by the ultra-high sensitivity of DVICE, which allows for the detection of a single plaque-forming unit per well of a 96-well dish containing about 2 × 104 cells, equivalent to an MOI of <0.0001. We acknowledge that DVICE may not reach the same accuracy under experimental conditions different from the training conditions. Experimental variations may, for example, include different label-free imaging modalities, such as differential interference contrast microscopy, different magnifications, different cell lines, viral strains, or culture conditions. Nonetheless, and despite the widely recognized difficulty to generalize dl-based procedures, our framework is versatile and adaptable to unequivocally score different viruses in cell lines and imaging microscopes. This owes to robust learning of features associated with CPE, as shown by class activation mapping. To further enhance the adaptability of DVICE, we provide the user with resources for fine-tuning and transfer learning, broadly known procedures to increase AI accuracy with minimal additional input data54.
Methods
Cell culture
Cell lines were cultivated in a T75 flask in Dulbecco’s modified Eagle medium (DMEM, D6429; Sigma-Aldrich, St. Louis, USA) supplemented with 10% fetal bovine serum (FBS, 10270-106; Gibco, Carlsbad, USA) and non-essential amino acids (M7145; Sigma-Aldrich, St. Louis, USA). Cells were incubated in an environment of 37 °C, 5% CO2, and 95% humidity. Cultures of VeroE6-TMPRSS2 were supplemented with 1 mg/mL geneticin (G418-RO, Merck), and cultures of A549-ACE2 and Huh7-ACE2 with 10 µg/mL blasticidin (ant-bl-1, InvivoGen) to preserve the expression of the transgenes. All cultures were passaged twice per week by washing with PBS and trypsinization (C-41020; Trypsin-EDTA, Sigma-Aldrich, St. Louis, USA).
Viruses
AdV-C5 and AdV-C5-IX-FS2A-GFP were kindly provided by Silvio Hemmi (University of Zurich, Switzerland). CoV-229E-GFP, CoV-OC43, and SARS-CoV-2 were obtained as described previously27. Recombinant HSV-1-C12-CMV-GFP55,56 was kindly provided by Stacey Efstathiou (University of Cambridge, UK). VACV_WR E/L-GFP was kindly provided by Jason Mercer (University of Birmingham, UK).
Transmitted light and fluorescence live cell microscopy
Transmitted light images were acquired at 7 dpi using the high-throughput microscope ImageXpress Micro Confocal (IXM-C, Molecular Devices) with a ×4 air objective. Images had a resolution of 2048 × 2048 pixels and a depth of 16 bit. Fluorescence microscopy images were likewise acquired at the IXM-C. Images acquired at the Cytation 5 (Agilent) had a resolution of 1992 × 1992 pixels and a depth of 16 bit. Cells were imaged in a BSL-2 environment without fixation. Cells infected with SARS-CoV-2 were fixed by addition of paraformaldehyde to a final concentration of 4%. Plates were decontaminated and transferred to a BSL-2 laboratory for image acquisition.
Infection assay and readout by crystal violet staining
For infection experiments, T75 flasks of 90% confluent cell cultures were trypsinated, and cells were re-suspended in 10 ml DMEM. Cells were diluted to a concentration of 100,000 cells per ml. 10,000 cells were seeded in 100 µl medium overnight. For sparsely seeded wells, 1000 cells were seeded in 100 µl, and images were acquired the next day.
Infection experiments were performed in a biosafety level (BSL)-2 laboratory, except for experiments with SARS-CoV-2, which were performed in a BSL-3 laboratory. 8 different virus concentrations were prepared by serial dilutions, and cells were infected by addition of 20 µl inoculum with 10 replicates per condition per plate. The first and last columns of each plate were left uninfected and supplemented by 20 µl fresh medium.
After image acquisition, cells were fixed by adding 30 µl of a 16% paraformaldehyde (PFA) solution for 30 min, except for SARS-CoV-2, where fixation was performed prior to acquisition. PFA was then discarded, and 50 µl of a 0.25% crystal violet (CV) staining solution prepared in an aqueous solution with 10% methanol was added for one hour. The CV staining solution was discarded, and cells were washed by submerging the plate in water, after which the plates were left to dry. The infection phenotype was independently assessed by three human experts, and image annotations were obtained by majority vote.
SARS-CoV-2 infectious particle stability in saliva
Saliva samples were collected from healthy, adult individuals who provided written informed consent. Saliva specimens (250 µl) were spiked with 50 µl of SARS-CoV-2 BA.1 variant. Spiked salivas were then diluted in DMEM medium at a final volume of 1 ml and filtered with a 0.22 µm Millex-GV Filter (Mercks) to eliminate bacteria. As a control, 50 µl of SARS-CoV-2 BA.1 were spiked in 950 µl DMEM medium and filtered similarly. SARS-CoV-2 spiked suspensions were then incubated at −80, 20, and 4 °C for 24 h; at 37, 20, and 4 °C for 2, 1, or 5 min. Each time point and temperature was tested with two independent biological replicates of spiked saliva and DMEM control. At the end of the incubation time, the respective virus suspensions were serially diluted in tenfold steps and inoculated on VeroE6-TMPRSS2 cells for virus TCID50 titration. In parallel, 50 µl of the respective incubated virus suspensions were mixed with 150 µl of TRIzol reagent (Thermo Fisher) and subjected to RNA extraction with Direct-zol RNA Miniprep kit (Zymo Research) according to the manufacturer’s protocol. Extracted SARS-CoV-2 RNAs were then quantified by RT-qPCR according to a previously described method27,43. The procedures involving human saliva did not fall under the Human Research Act according to the Ethical Board of the Kanton Zurich, Switzerland (BASEC number Req-2022-01020) and, therefore, did not require specific permission by a particular ethical board.
Densitometric analysis of crystal violet staining
To quantify the absorbance of 96-well plates stained with crystal violet, a spectral scan of fully confluent wells was performed at a Tecan plate reader. Subsequent measurements of absorbance were performed at the spectral range with the highest absorbance, which was at 555 ± 4.5 nm.
Dataset preparation and deep learning
Images were rescaled to an 8-bit range using min-max normalization, resized to 224 × 224 pixels using bicubic interpolation, and converted to RGB format. Images were split into training, validation, and test sets in a stratified way while ensuring that the images reserved for the test set came from plates not present in the training or validation set. For infection, phenotype classification with DVICE, the tensorflow57 (version 2.7) implementation of the EfficientNet-B0 architecture26 was used. The model contains 7 distinct mobile inverted bottleneck convolution (MBConv)58 blocks with squeeze-and-excitation (SE)59 layers as attention mechanism. A custom head was added that comprises a global average pooling (GAP) layer, a dropout layer with a rate of 0.3, and a two-way dense layer for the final classification or a 6-way dense layer for virus class-specific classification. The network has 4 million parameters, which were randomly initialized. The comparatively low number of trainable parameters facilitates training and finetuning. Training was performed with a batch size of 128 on an NVIDIA GeForce RTX 3090. An Adam optimizer was used to minimize a class-weighted binary (or categorical in the case of virus class-specific classification) cross-entropy loss function with an initial learning rate of 0.001 for the first 10 epochs, after which the learning rate decayed by a factor of \({{\rm {e}}}^{-0.1}\) every epoch. Training images were augmented by horizontal and vertical reflections. For the evaluation, the model from the epoch with the lowest loss on the validation set was selected.
Training of machine learning models
For training of additional machine learning (ML) algorithms, histograms of oriented gradients (HOG)29 were computed using scikit-image60, resulting in 2592 features per image. HOG features were standardized, scaled to unit variance, and split to training and test data in a stratified way with threefold cross-validation. 90% of the data were selected for training and 10% for test purposes. ML algorithms included Gaussian naive Bayes (GNB), logistic regression (LR), k-nearest neighbor (k-NN), random forest (RF), decision tree (DT) classifier, and support vector machine (SVM) in their scikit-learn61 implementation. Optimal parameters were determined by an initial grid search. SVM did not converge and was stopped after 1000 epochs when the present state of the model was used for evaluation. Statistical evaluation was performed using the nonparametric Kruskal–Wallis test with Dunn’s correction for multiple tests in GraphPad PRISM (version 9.3.1).
Model evaluation
Model performance was evaluated using the area under the receiver operating characteristic curve (AUROC). Ensembles of models were trained from different random seeds, which affected data selection and parameter initialization.
Binary segmentation and cell density quantification
For cell density quantification, images were initially converted to 8-bit PNG images using min-max-normalization and rescaled to 1024 × 1024 pixels using bicubic interpolation. Pixel classification was performed using a decision tree model trained in ilastik62 to perform semantic segmentation. Confluency was calculated by dividing the number of foreground pixels by the total pixel number. For training of the virus class-specific DVICE models, the segmentation maps were downscaled to 224 × 224 pixel images using bicubic interpolation.
TCID50 and plaque forming unit value calculation
TCID50 and plaque forming unit (pfu) values were calculated using the specific infection (SIN) method, which provides a probabilistic estimate of a sample’s infectivity30. The relationship between SIN or pfu values and TCID50 values is provided by the Poisson distribution and was calculated as \(1\,{{{{{\rm{SIN}}}}}}=1\,{{{{{\rm{pfu}}}}}}=\frac{1}{{{{{\mathrm{ln}}}}}(2)}{{{{{{\rm{TCID}}}}}}}_{50}\approx 1.44\,{{{{{{\rm{TCID}}}}}}}_{50}\), where \({{{{\mathrm{ln}}}}}\) is the natural logarithm. The theoretical infection index is also provided by the Poisson distribution and was calculated as the probability P of a well receiving at least one infectious particle n and is provided by \({P}\left({n}\ge 1\right)=1-{P}\left({n}=0\right)=1-\exp (-{{{{{\rm{pfu}}}}}})\), where \(\exp\) is the natural exponential function. For Fig. 4, TCID50 values were calculated using the Reed–Muench method7.
Resource availability
Further information and requests for resources and reagents should be directed to and will be fulfilled by the lead contacts, Prof. Dr. Urs Greber (urs.greber@mls.uzh.ch) and Dr. Anthony Petkidis (anthony.petkidis@uzh.ch).
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Data availability
The imaging data are available under restricted access due to legal considerations involving a patent application by the University of Zurich. Access can be obtained for non-commercial research and validation purposes upon agreement under an MTA by contacting the corresponding authors, U.F.G. (urs.greber@mls.uzh.ch) and A.P. (anthony.petkidis@uzh.ch) and will be provided within four weeks for academic use and restricted to the particular institution that requested access. Source data are provided with this paper.
Code availability
The code used in this study is deposited at Zenodo at https://doi.org/10.5281/zenodo.1105962163 and is available under restricted access due to legal considerations involving a patent application by the University of Zurich. Access can be obtained for non-commercial research and validation purposes upon agreement under an MTA by contacting the corresponding authors, U.F.G. (urs.greber@mls.uzh.ch) and A.P. (anthony.petkidis@uzh.ch) and will be provided within 4 weeks for academic use and restricted to the particular institution that 400 requested access.
References
Moriyama, M., Hugentobler, W. J. & Iwasaki, A. Seasonality of respiratory viral infections. Annu. Rev. Virol. 7, 83–101 (2020).
Virgin, H. W. The virome in mammalian physiology and disease. Cell 157, 142–150 (2014).
Prasad, V. & Greber, U. F. The endoplasmic reticulum unfolded protein response— homeostasis, cell death and evolution in virus infections. FEMS Microbiol. Rev. 45, fuab016 (2021).
Netherton, C., Moffat, K., Brooks, E. & Wileman, T. A guide to viral inclusions, membrane rearrangements, factories, and viroplasm produced during virus replication. Adv. Virus Res. 70, 101–182 (2007).
Leland, D. S. & Ginocchio, C. C. Role of cell culture for virus detection in the age of technology. Clin. Microbiol. Rev. 20, 49–78 (2007).
Dulbecco, R. Production of plaques in monolayer tissue cultures by single particles of an animal virus. Proc. Natl Acad. Sci. USA 38, 747–752 (1952).
Reed, L. J. & Muench, H. A simple method of estimating fifty per cent endpoints. Am. J. Epidemiol. 27, 493–497 (1938).
Smither, S. J. et al. Comparison of the plaque assay and 50% tissue culture infectious dose assay as methods for measuring filovirus infectivity. J. Virol. Methods 193, 565–571 (2013).
Keiser, P. T., Anantpadma, M., Staples, H., Carrion, R. & Davey, R. A. Automation of infectious focus assay for determination of filovirus titers and direct comparison to plaque and TCID50 assays. Microorganisms 9, 156 (2021).
Saotome, K., Morita, H. & Umeda, M. Cytotoxicity test with simplified crystal violet staining method using microtitre plates and its application to injection drugs. Toxicol. Vitr. 3, 317–321 (1989).
Yakimovich, A. et al. Inhibition of poxvirus gene expression and genome replication by bisbenzimide derivatives. J. Virol. 91, e00838-17 (2017).
Yakimovich, A. et al. Cell-free transmission of human adenovirus by passive mass transfer in cell culture simulated in a computer model. J. Virol. 86, 10123–10137 (2012).
Prasad, A. & Alizadeh, E. Cell form and function: interpreting and controlling the shape of adherent cells. Trends Biotechnol. 37, 347–357 (2019).
Witte, R., Andriasyan, V., Georgi, F., Yakimovich, A. & Greber, U. F. Concepts in light microscopy of viruses. Viruses 10, 202 (2018).
Suomalainen, M. & Greber, U. F. Virus infection variability by single-cell profiling. Viruses 13, 1568 (2021).
Petkidis, A., Andriasyan, V. & Greber, U. F. Label-free microscopy for virus infections. Reprod. Syst. Sex. Disord. 72, 204–212 (2023).
Moen, E. et al. Deep learning for cellular image analysis. Nat. Methods 16, 1233–1246 (2019).
Petkidis, A., Andriasyan, V. & Greber, U. F. Machine learning for cross-scale microscopy of viruses. Cell Rep. Methods 3, 100557 (2023).
Christiansen, E. M. et al. In silico labeling: predicting fluorescent labels in unlabeled images. Cell 173, 792–803.e19 (2018).
Ounkomol, C., Seshamani, S., Maleckar, M. M., Collman, F. & Johnson, G. R. Label-free prediction of three-dimensional fluorescence images from transmitted-light microscopy. Nat. Methods 15, 917–920 (2018).
Kim, D., Min, Y., Oh, J. M. & Cho, Y.-K. AI-powered transmitted light microscopy for functional analysis of live cells. Sci. Rep. 9, 18428 (2019).
Hochdorfer, D., Businger, R., Hotter, D., Seifried, C. & Solzin, J. Automated, label-free TCID50 assay to determine the infectious titer of virus-based therapeutics. J. Virol. Methods 299, 114318 (2022).
Wang, T.-E. et al. Differentiation of cytopathic effects (CPE) induced by influenza virus infection using deep convolutional neural networks (CNN). PLoS Comput. Biol. 16, e1007883 (2020).
Chen, J.-J. et al. Detection of cytopathic effects induced by influenza, parainfluenza, and enterovirus using deep convolution neural network. Biomedicines 10, 70 (2022).
Dodkins, R. et al. A rapid, high throughput, viral infectivity assay using automated brightfield microscopy with machine learning. SLAS Technol. 28, 324–333 (2023).
Tan, M. & Le, Q. V. EfficientNet: rethinking model scaling for convolutional neural networks. Preprint at bioarXiv. https://arxiv.org/abs/1905.11946 (2019).
Murer, L. et al. Identification of broad anti-coronavirus chemical agents for repurposing against SARS-CoV-2 and variants of concern. Curr. Res. Virol. Sci. 3, 100019 (2022).
Barut, G. T. et al. The spike gene is a major determinant for the SARS-CoV-2 Omicron-BA.1 phenotype. Nat. Commun. 13, 5929 (2022).
Dalal, N. & Triggs, B. Histograms of oriented gradients for human detection. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), vol. 1, 886–893 (IEEE, San Diego, CA, USA, 2005).
Cresta, D. et al. Time to revisit the endpoint dilution assay and to replace the TCID50 as a measure of a virus sample’s infection concentration. PLoS Comput. Biol. 17, e1009480 (2021).
Zhou, B., Khosla, A., Lapedriza, A., Oliva, A. & Torralba, A. Learning deep features for discriminative localization. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2921–2929 (IEEE, Las Vegas, NV, USA, 2016).
Jetzer, T., Studer, L., Bieri, M., Greber, U. & Hemmi, S. Engineered human adenoviruses of species B and C report early, intermediate early and late viral gene expression. Hum. Gene Ther. https://doi.org/10.1089/hum.2023.121 (2023).
Goodfellow, I., Bengio, Y. & Courville, A. Deep Learning (Adaptive Computation and Machine Learning series) 800 (The MIT Press, 2016).
Laine, R. F., Arganda-Carreras, I., Henriques, R. & Jacquemet, G. Avoiding a replication crisis in deep-learning-based bioimage analysis. Nat. Methods 18, 1136–1144 (2021).
Olszewski, D. et al. High-content, arrayed compound screens with rhinovirus, influenza A virus and herpes simplex virus infections. Sci. Data 9, 610 (2022).
Georgi, F. et al. The FDA-approved drug Nelfinavir inhibits lytic cell-free but not cell-associated nonlytic transmission of human adenovirus. Antimicrob. Agents Chemother. 64, e01002-20 (2020).
Shelley, M. & Krippendorff, K. Content analysis: an introduction to its methodology. J. Am. Stat. Assoc. 79, 240 (1984).
Wyllie, A. L. et al. Saliva or nasopharyngeal swab specimens for detection of SARS-CoV-2. N. Engl. J. Med. 383, 1283–1286 (2020).
Puhach, O. et al. Infectious viral load in unvaccinated and vaccinated individuals infected with ancestral, Delta or Omicron SARS-CoV-2. Nat. Med. 28, 1491–1500 (2022).
López-Ríos, F., Illei, P. B., Rusch, V. & Ladanyi, M. Evidence against a role for SV40 infection in human mesotheliomas and high risk of false-positive PCR results owing to presence of SV40 sequences in common laboratory plasmids. Lancet 364, 1157–1166 (2004).
Naccache, S. N. et al. The perils of pathogen discovery: origin of a novel parvovirus-like hybrid genome traced to nucleic acid extraction spin columns. J. Virol. 87, 11966–11977 (2013).
Nolte, F. S. et al. Evaluation of a rapid and completely automated real-time reverse transcriptase PCR assay for diagnosis of enteroviral meningitis. J. Clin. Microbiol. 49, 528–533 (2011).
Volle, R. et al. Methylene blue, Mycophenolic acid, Posaconazole, and Niclosamide inhibit SARS-CoV-2 Omicron variant BA.1 infection of human airway epithelial organoids. Curr. Res. Microb. Sci. 3, 100158 (2022).
Georgi, F. et al. A high-content image-based drug screen of clinical compounds against cell transmission of adenovirus. Sci. Data 7, 265 (2020).
Andriasyan, V. et al. Microscopy deep learning predicts virus infections and reveals mechanics of lytic-infected cells. iScience 24, 102543 (2021).
Yakimovich, A. et al. Plaque2.0—a high-throughput analysis framework to score virus-cell transmission and clonal cell expansion. PLoS ONE 10, e0138760 (2015).
Metsky, H. C. et al. Designing sensitive viral diagnostics with machine learning. Nat. Biotechnol. 40, 1123–1131 (2022).
Gutierrez, B., Escalera-Zamudio, M. & Pybus, O. G. Parallel molecular evolution and adaptation in viruses. Curr. Opin. Virol. 34, 90–96 (2019).
Ison, M. G. Antivirals and resistance: influenza virus. Curr. Opin. Virol. 1, 563–573 (2011).
Domingo, E., Escarmís, C., Lázaro, E. & Manrubia, S. C. Quasispecies dynamics and RNA virus extinction. Virus Res. 107, 129–139 (2005).
Murer, L., Petkidis, A., Vallet, T., Vignuzzi, M. & Greber, U. F. Chemical evolution of rhinovirus identifies capsid-destabilizing mutations driving low-ph-independent genome uncoating. J. Virol. 96, e0106021 (2022).
Khoury, D. S. et al. Neutralizing antibody levels are highly predictive of immune protection from symptomatic SARS-CoV-2 infection. Nat. Med. 27, 1205–1211 (2021).
Corti, D. & Lanzavecchia, A. Broadly neutralizing antiviral antibodies. Annu. Rev. Immunol. 31, 705–742 (2013).
Pan, S. J. & Yang, Q. A survey on transfer learning. IEEE Trans. Knowl. Data Eng. 22, 1345–1359 (2010).
Glauser, D. L. et al. Inhibition of herpes simplex virus type 1 replication by adeno-associated virus rep proteins depends on their combined DNA-binding and ATPase/helicase activities. J. Virol. 84, 3808–3824 (2010).
Crameri, M. et al. MxB is an interferon-induced restriction factor of human herpesviruses. Nat. Commun. 9, 1980 (2018).
Abadi, M. et al. TensorFlow: large-scale machine learning on heterogeneous distributed systems. Preprint at bioarXiv https://arxiv.org/abs/1603.04467 (2016).
Sandler, M., Howard, A., Zhu, M., Zhmoginov, A. & Chen, L.-C. Mobilenetv2: inverted residuals and linear bottlenecks. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition 4510–4520 (IEEE, 2018).
Hu, J., Shen, L., Albanie, S., Sun, G. & Wu, E. Squeeze-and-excitation networks. IEEE Trans. Pattern Anal. Mach. Intell. 42, 2011–2023 (2020).
van der Walt, S. et al. scikit-image: image processing in Python. PeerJ 2, e453 (2014).
Pedregosa, F., Varoquaux, G. & Gramfort, A. Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
Berg, S. et al. ilastik: interactive machine learning for (bio)image analysis. Nat. Methods 16, 1226–1232 (2019).
Petkidis, A., Andriasyan, V., Murer, L., Volle, R. & Greber, U. DVICE: detection of virus-induced cytopathic effect using AI. Zenodo. https://doi.org/10.5281/zenodo.11397906 (2024).
Cervantes-Barragan, L. et al. Dendritic cell-specific antigen delivery by coronavirus vaccine vectors induces long-lasting protective antiviral and antitumor immunity. MBio. 1, e00171-10 (2010).
Acknowledgements
We acknowledge Prof. Ivo Sbalzarini, Dr. Artur Yakimovich and members of the Greber lab for helpful discussions, and Nicole Meili, Lucy Fischer, and Leta Fuchs for technical support with cell culture. The project was supported by the Swiss National Science Foundation Coronavirus Special Call to UFG (31CA30_196177/1) and the Pandemic Fund of the University of Zürich to UFG.
Author information
Authors and Affiliations
Contributions
A.P., V.A., R.V., and U.F.G. conceived and designed the experiments; A.P. and R.V. performed the experiments; A.P., L.M., and R.V. curated the data, A.P., V.A., L.M., R.V., and U.F.G. analyzed the data and contributed materials/analysis tools; A.P. and V.A. visualized the data, A.P. and U.F.G. wrote the paper. All authors discussed the results and commented on the manuscript.
Corresponding author
Ethics declarations
Competing interests
A.P., V.A., L.M., R.V., and U.F.G. filed a patent application, EP24168806.8, with the University of Zurich, entitled ‘Method for labeling an image of a plurality of cells as having or not having a virus-induced cytopathic effect’. The patent application includes training of computational models derived from ensembles of cells infected with different viruses and imaged under described modalities, involving equipment and laboratory settings, such that the models recognize virus type-specific infection features. Patent pending.
Peer review
Peer review information
Nature Communications thanks Nikolay Oskolkov, and the other, anonymous, reviewer for their contribution to the peer review of this work. A peer review file is available.
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
Petkidis, A., Andriasyan, V., Murer, L. et al. A versatile automated pipeline for quantifying virus infectivity by label-free light microscopy and artificial intelligence. Nat Commun 15, 5112 (2024). https://doi.org/10.1038/s41467-024-49444-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467-024-49444-1
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.