Effective testing is essential to control the coronavirus disease 2019 (COVID-19) transmission. Here we report a-proof-of-concept study on hyperspectral image analysis in the visible and near-infrared range for primary screening at the point-of-care of SARS-CoV-2. We apply spectral feature descriptors, partial least square-discriminant analysis, and artificial intelligence to extract information from optical diffuse reflectance measurements from 5 µL fluid samples at pixel, droplet, and patient levels. We discern preparations of engineered lentiviral particles pseudotyped with the spike protein of the SARS-CoV-2 from those with the G protein of the vesicular stomatitis virus in saline solution and artificial saliva. We report a quantitative analysis of 72 samples of nasopharyngeal exudate in a range of SARS-CoV-2 viral loads, and a descriptive study of another 32 fresh human saliva samples. Sensitivity for classification of exudates was 100% with peak specificity of 87.5% for discernment from PCR-negative but symptomatic cases. Proposed technology is reagent-free, fast, and scalable, and could substantially reduce the number of molecular tests currently required for COVID-19 mass screening strategies even in resource-limited settings.
The widespread community transmission of the coronavirus disease (COVID-19) has forced nations around the globe to impose severe measures including lockdown periods1, border closures2, and mass screening3 to name a few. The vast geographical spread of the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) and the large number of asymptomatic carriers are among the causes hampering the eradication of the disease. Fortunately, identification and isolation of confirmed cases has demonstrated efficacy in controlling local outbreaks while reducing its propagation4 until the achievement of herd immunity allows a return to normality5.
In an unprecedented scenario in our lifetime, the COVID-19 pandemic has stimulated biomedical research to find technological solutions to manage such a global threat. The development of reliable, fast and scalable detection tools is among the top priorities in fighting the spread of the virus, as an increased screening and identification capacity becomes critical in containing outbreaks6, and effective and extended testing procedures are required to improve epidemiological models7 and support public health decisions.
Screening and diagnostic tests
From the perspective of disease management, two main categories of examinations are usually considered, namely screening and diagnostic tests8. Screening exams are intended to detect early disease or asymptomatic carriers, i.e., to identify individuals who have the target disease, but which may not have any sign or symptom of it. In a viral infection scenario, the goal of screening tests is the identification of infected individuals to avoid that they may propagate the disease, and they are usually given to asymptomatic individuals9 or to those without known exposure to the pathogen10. To be effective, screening tests should detect infectious subjects before the onset of symptoms and be as broadly applied as possible within the population under analysis. They should not be invasive preferably and be easy to use. Screening tests document ‘an estimate of the level of risk and determine whether a diagnostic test is justified’11. False positives are considered acceptable for high-sensitivity screening tests, ‘particularly if they are not harmful nor expensive’11. Diagnostic tests are intended to diagnose the target disease or condition on the evaluated individual, so that proper clinical measures can be taken. They are required to provide diagnostic precision and accuracy, even at high cost and discomfort for patients. They are also applied after positive results from a screening test8. In a viral infection scenario, diagnostic tests are performed when there are reasons to suspect that an individual may be infected, for example with symptoms, or having been exposed to the pathogen (e.g., close contacts of confirmed cases), in a high-risk group (e.g., health care personnel), or to determine the stage and evolution of the infection in a sick subject.
From an operational perspective, diagnostic tests for COVID-19 can be grouped in three major categories: molecular tests (based on detection of the genetic material of the virus, mainly performed on nasal and throat swabs), antigen tests (which detect specific proteins of the SARS-CoV-2 virus, also performed on throat swabs), and serology tests (immunoassays on blood samples that detect certain specific viral antibodies, quantify the immune response and assess the level of immunity).
The leading diagnostic test is laboratory-based polymerase chain reaction (PCR), which is a nucleic acid amplification test, i.e., a molecular exam, that has become the common ‘gold standard’ for the detection of SARS-CoV-2, providing excellent sensitivity and specificity while relatively inexpensive. However, it requires complex equipment and reagents, and it is usually performed by highly skilled personnel at centralized laboratory facilities which receive submitted samples, with turnaround time for results from several hours to days. There are also some test kits for use at the point-of care or at-home which provide results in less than an hour, but reagents require careful storage and handling.
To overcome some of the drawbacks of molecular tests, hundreds of rapid protein-based diagnostic devices have emerged12. Among them, enzyme-linked immunosorbent assays or lateral flow assays can detect SARS-CoV-2 specific human antibodies or viral antigens13. They are also available for at-home use and provide results in 15 min, but their performance is substantially poorer, with lower sensitivity than PCR for the detection of mild cases and significant false negatives. Negative antigen tests are usually followed by molecular (e.g., PCR) or repetitive checks along several days for confirmation14.
More sophisticated approaches integrate molecular technologies that range from clustered regularly interspaced short palindromic repeats (CRISPR)-based strategies15,16 to improve nucleic acid detection17, to the use of functionalized nanomaterials18,19. However, they are not used for mass screening. Recent innovative approaches for COVID-19 diagnostic also include the combination of health data provided by wearable sensors and self-assessment of symptoms20.
Optical technologies for viral detection
Optical spectroscopic methods have been developed to detect viruses in vegetal structures21,22,23 and in human samples, mostly in blood. They involve polarimetric and fluorescence spectroscopy, and different implementations of Raman spectroscopy for identification of Dengue virus24, hepatitis B and C viruses25, and microfluidic devices to recognize avian influenza A and other respiratory infections26. Further approaches propose the use of nanomaterials targeted to specific viral antibodies to enhance the potentialities of optical spectroscopy to detect the human immunodeficiency virus27. Simpler experimental set-ups pose great interest to develop easy-to-implement testing units suitable for use at the point-of-care, and diffuse reflectance spectroscopy has been applied to discern mosquitos fed with human blood containing Zika virus28 from controls, although signals from potential alterations in tissues and structures due to the infection remain to be discerned from those arising from the virus itself.
Since the current pandemic emerged, many innovative optical and photonic techniques are being specifically developed for detection of SARS-CoV-2. Complex microscopy imaging setups have been described to explore Raman scattering measurements, fluorescence imaging and surface plasmon resonance, Fourier-transform infrared spectroscopy and colorimetry29,30,31,32. Remarkably significant results for fast COVID-19 diagnosis have been obtained using attenuated total reflection Fourier transform infrared spectroscopy of RNA extracts from nasopharyngeal samples combined with machine learning data analysis33, and of pharyngeal saliva samples processed with genetic algorithm-linear discriminant analysis34. Other optical-related detection schemes rely on nanomaterials-enhanced sensing within lab-on-chip devices29 and combined with hyperspectral microscopy imaging35, matrix-assisted laser desorption/ionization time-of-flight mass spectrometry36 or employ fiber optics probes to record diffuse reflectance spectra28. A previous work37 by the same authors showed that hyperspectral imaging of diffuse reflectance in the visible and near-infrared ranges can be used to detect a synthetic viral model commonly employed for the study of SARS-CoV-2.
Advances in the knowledge of the mechanisms of airborne spread of the disease have led to research on rapid methods for detecting the SARS-CoV-2 virus and indirect related markers in exhaled air and salivary aerosols. Aimed at developing potential non-contact, fast breath analyzers (‘breathalyzers’), they rely on many different technologies, from well-established gas chromatography, mass spectrometry and photonics biosensors to new concepts of ‘electronic nose’ sensing and terahertz spectroscopy38.
Unmet needs in the COVID-19 pandemic
While there are available diagnostic tests to determine if an individual has an active COVID-19 infection, worldwide spread of the virus and its variants—outpacing most public health measures—shows that there remains an urgent need of easily deployable screening tests to perform mass, repetitive (time seriated) checks to detect asymptomatic infectious individuals. Of particular importance is the identification of those subjects at initial stages—before the onset of symptoms—and the so-called ‘super-carriers’, asymptomatic individuals with a very high viral load, potential ‘super-spreaders’ of the disease39.
From national to local and community levels, many types of COVID-19 screening programs are being implemented, even using tests authorized under emergency approvals (or not approved), with varying levels of success. Criteria for this type of extensive testing include high sensitivity and rapid turnaround time, and the (sometimes difficult) availability of authorized molecular tests for confirmation of positive and ‘concerning negative’ cases40.
In addition, virus mutations generate different strains which may modify its ability to spread, the severity of related diseases and the performance of public health measures. Unfortunately, by December 2021 there are not any tests authorized (by the United States Food and Drug Administration) to detect specific SARS-CoV-2 variants14, not even for those categorized by the World Health Organization as ‘variants of concern’ (Alpha, Beta, Gamma, Delta, and Omicron) of the disease41. The current COVID-19 pandemic has underlined the significance of searching for easy-to-implement testing tools potentially useful for real-life applications, particularly at the point-of-care and in constrained resource settings.
An approach based on light scattering
In the present study, we present a proof of concept of the use of optical diffuse reflectance hyperspectral imaging in the visible and near infrared ranges combined with specific data analysis as a new technique for fast primary screening of SARS-CoV-2 in 5-µL fluid samples deposited on a surface. This approach builds upon (i) the expanding area of hyperspectral imaging42 and their different experimental set-ups and processing approaches43, particularly on close-range44,45 reflectance applications46, (ii) advances on light scattering techniques for the analysis of size and structure of elements (e.g., bacteria, viruses) below the wavelength of the employed light47, and (iii) the aforementioned previous work by the same authors37 that demonstrated how the same methodology can be exploited for detection and quantification of a SARS-CoV-2 model in two biofluids (phosphate buffered saline solution and artificial saliva), both as liquid droplets and dry residues.
Optical diffuse reflectance results from the complex phenomena of interaction resulting from light incident on thin fluid samples. The mainly involve reflection, refraction, elastic and inelastic (Raman) scattering, absorption, and re-emission (fluorescence), strongly modulated by specific features of the samples, i.e., by the presence of elements with varying degrees of sizes, shapes and potential physical, biological and biochemical crossed interactions in in the solution48. In the present study we surveyed samples of water-based, optically transparent biofluids with viruses (namely, synthetic viral models in saline solution and in artificial saliva, and samples of SARS-CoV-2-positive human nasopharyngeal exudate and fresh saliva, and their corresponding negative controls). Samples were all deposited as relatively small (5 uL) liquid droplets on a supporting plate, and it was hypothesized that most useful information would arise from sub-surface scattering, a physical process of much interest for computer-graphics rendering, usually modeled using the radiative transfer framework49. Note that the diameter of viral particles (and its engineered models) is about 120–140 nm, below the lowest wavelength of the employed illumination (< 400 nm) and, therefore, optical imaging of individual particles is not feasible and its visualization would require electron microscopy.
We have explored hyperspectral image analysis in the visible and near-infrared (VNIR) band of the electromagnetic spectrum because it requires relatively simple optical imaging technology, potentially useful for deployment of easy-to-implement point-of-care devices. However, in the VNIR band, differences among reflectance spectra from positive samples and their negative controls are difficult to discern following the standard spectroscopy approach, that is, looking for distinctive features (i.e., peaks or absorption bands). Instead, we have analyzed averaged differences of pixel spectra relative to the background, integrating them to droplet and patient levels. Using this procedure, conceptually similar to the per-layer information extraction from the multiple, noisy signals from neurons in brain-computer interfaces50,51, it was possible to effectively enhance the embedded information that allowed detecting the presence of the virus and its quantification37.
The aim of the work presented here is to determine whether the combination of hyperspectral imaging and spectral data analysis can be used for mass screening of SARS-CoV-2. To answer this question, the optical diffuse reflectance spectra of the samples under study in the visible and near-infrared ranges were converted to pseudo-absorbance (PA) spectra and processed using spectral feature descriptors (SFDs), partial least-square discriminant analysis (PLS-DA), and machine learning (a feed-forward neural network, FFNN) to extract the information, following the methodology summarized in Fig. 1. Three different experiments were performed: Experiment 1 appraised the discernment of two types of synthetic SARS-CoV-2 models (with and without the characteristic spike protein), Experiment 2 evaluated the classification of SARS-CoV-2-positive and negative human nasopharyngeal exudate samples (the same used for conventional PCR tests), and Experiment 3 comprised an observational, descriptive study of fresh samples of SARS-CoV-2-positive and negative human saliva (see details in “Materials and methods” section and Supplementary Information).
Spectral information from SARS-CoV-2 spike pseudotyped lentiviral particles (Experiment 1)
The first step in this study was to answer whether the PA spectra obtained from fluids containing viral particles possess sufficient information for optical detection. We compare pixel spectra obtained from droplets containing SARS-CoV-2 spike pseudotyped lentiviral particles (S-LP) with preparations of lentiviral particles pseudotyped with the G glycoprotein of the vesicular stomatitis virus (VSV-G, i.e., without the spike protein, here named as G-LP) prepared in both, phosphate buffered solution (PBS) and artificial saliva (AS), and their respective negative controls. A total of 193 droplets (corresponding to 109 G-LP, 32 S-LP and 52 controls) were analyzed (see Table 1).
These viral particles are comparable to the SARS-CoV-2 in overall shape and diameter, have a double lipid envelope and were engineered to also resemble the molecular structure of the surface of the SARS-CoV-2 virions, characterized by the protruding spike proteins. They allowed for a preliminary assessment of our approach while reducing the biosafety requirements needed to handle SARS-CoV-2 samples52. Differences were observed in the overall PA spectra obtained from samples carrying the virus and their negative controls, as shown in Fig. 2a,b. These differences appeared more evident at higher viral concentrations. We performed a partial least square-discriminant analysis to reduce the intrinsic complexity of large subsets of pixel spectra using two latent variables and explore the differences among positive and negative pixels, as illustrated in Fig. 2d. The performance score obtained from a stratified tenfold cross-validation (Fig. 2c) showed that there was sufficient information to differentiate the individual pixel spectra obtained from preparations with viral particles from those used as a negative control. In fact, the performance score showed a very strong linear correlation (r2 = 0.95) with the viral concentration in PBS preparations, and a strong correlation (r2 = 0.84) for preparations in AS (Fig. 2c). Note that the viral concentrations used here were in the range of those found in expelled respiratory fluids from SARS-CoV-2 positive cases53. These findings suggested that this method may be applied to detect the intended pathogen in human specimens.
Body fluids such as saliva contain a wide variety of biomolecules and might even carry other viral species. Consequently, we sought to find whether two similar viral particles of the same type, shape and size could be distinguished based only on the presence of the characteristic spikes. We calculated a spectral feature descriptor (namely, SFD) as a measurement of the relative difference between the diffuse reflectance of the sample under analysis and that of its supporting plate over a certain wavelength range, in this case between 483 and 610 nm. We then compared this spectral descriptor from S-LP samples with G-LP preparations obtained in a previous study37 (see Table 1). Normality of the distribution was discarded using the Kolmogorov–Smirnoff test. The Wilcoxon rank sum test performed on the values of the said descriptor demonstrated statistically significant differences (p-value = 0) between both viral preparations and the controls for each concentration, as shown in Fig. 2e,f. It must be noted that the differences in the spectral descriptor are more evident at higher viral concentrations, with no overlapping between the inter-quartile ranges from both viral preparations (particularly in PBS). These differences point at the molecular composition of the virions, related to the proteins integrated in their membrane.
Findings in this section suggest that our proposed method could be used to discern the presence of the SARS-CoV-2 spike protein in viral solutions in the synthetic biofluids under study (saline solution and artificial saliva). Further analysis could help to determine whether the spectral feature descriptor represents a structural or molecular difference between viruses or a different interaction of the virus with the medium in the fluid.
Detection of SARS-CoV-2 in nasopharyngeal exudates (Experiment 2)
We also sought to answer whether the proposed optical technique could be used for the analysis of inactivated nasopharyngeal exudate specimens employed for PCR testing. Typically, the transport media in the commercial swabs contain a lysis buffer such as guanidinium thiocyanate which inactivates the viral particles while preserving the genetic material54. Hence, the molecular structure of the viral particles is not maintained and therefore, the optical information embedded in these preparations may differ. As previously determined, the optical technique described here can obtain virus-specific information related to the proteins integrated in the viral capsid. To test whether optical detection under safer conditions is feasible, we analyzed inactivated nasopharyngeal exudates from 72 subjects—including 31 positive (24 men, 6 women, and 1 pediatric female case) and 41 negative (16 men, 23 women, and 1 pediatric male and 1 pediatric female cases)—using the same two pixel-based classification methods, i.e., PLS-DA and FFNN.
Following the same classification strategy described in a previous publication37, PLS-DA Model 2 and the FFNN model were built from individual pixel data. Their outputs provided per-pixel classifications, subsequently integrated at droplet and patient levels to enhance the mutual information contained in the viral debris. An additional PLS-DA Model 3 was built using patient-averaged spectra, and its output provided a direct per-patient classification (on the same patient sets). Note that training sets employed for PLS-DA models combine the training and validation sets used for the FFNN, while test sets are the same for both classification procedures. The total number of patients was randomly split in a fourfold cross validation of the FFNN. Table 2 shows the sample distribution for Trial 1 (see Supplementary Information for Trials 2, 3 and 4).
The spectral feature descriptor (SFD) was also computed in a band with visible differences among averaged PA spectra (between 870 and 910 nm) to analyze the viral load of samples. Positive cases were confirmed by quantitative reverse transcription PCR (qRT-PCR) in three levels of viral load, high (H: 106 copies mL−1), medium (M: 104 copies mL−1) and low (L: 102 copies mL−1). Table 2 shows the sample distribution among the different experimental groups.
Figure 3a shows their mean pseudo-absorbance pixel spectra and Fig. 3b the value of the spectral feature descriptor (SFD) in the band between 870 and 910 nm. Figure 3c–h shows the classification results obtained by the PLS-DA Model 2 (Trial 1), and Fig. 3i–n the results given by the FFNN (Trial 1, see Supplementary Information for Trials 2, 3 and 4). Classification results are shown as receiver operating characteristic (ROC) curves with the corresponding values of the area under the curve (AUROC).
As we anticipated, the differences in the PA spectra obtained in Experiment 2 (nasopharyngeal exudate samples in the inactivation medium) were less informative than those obtained from the previous preparations of Experiment 1 (synthetic viral models in saline solution and in artificial saliva).
The per-pixel PLS-DA Model 2 was built using the samples from 45 patients (20 qRT-PCR-positive, 25 qRT-PCR-negative). The test group included 27 subjects (11 positive and 16 negative) as described in Table 2. A total of 12 latent variables were used, and the variance captured was 95.15%. The outputs of the PLS-DA were used to classify the individual pixel spectra. After discarding normality, the two-tailed Wilcoxon rank-sum test performed on the classification output showed statistically significant differences between positive and negative samples (p-value = 0), as shown in Fig. 3c. The ROC curve was constructed to determine the pixel classification cut-off value that optimized both, sensitivity and specificity (Fig. 3d,e). The obtained AUROC showed a good accuracy (AUROCpixel = 0.88). However, a noticeable improvement was observed by integration at droplet level (AUROCdroplet = 0.95), as shown in Fig. 3f,g. Finally, at patient level, we found a very good agreement between the qRT-PCR assays and our proposed technique (sensitivity = 100%, specificity = 87.5%), as illustrated in Fig. 3h.
Next, the same pixel PA spectra were classified using a FFNN. Following the procedure described in a previous work37, the input of the network was a set of 28 spectral shape features computed in four spectral fringes, and the output provided a pixel-level binary classification. In this case, the neural network was trained using samples from 33 patients (15 qRT-PCR-positive, 18 qRT-PCR-negative), validated using samples from 12 patients (5 qRT-PCR-positive, 7 qRT-PCR-negative), and tested in the same subset of 27 patients used in the per-pixel PLS-DA Model 2, as summarized in Table 2. Note that both test and validation splits were randomly assigned from the training group used in the PLS-DA Models 2 and 3. Similarly, after rejecting normality, the Wilcoxon rank-sum showed statistically significant differences in the output of positive and negative pixels (p-value = 0), as illustrated in Fig. 3i. The performance of the classifier, as in the case of the PLS-DA, improved importantly from pixel level (AUROCpixel = 0.88) to patient level (AUROCpatient = 0.93), as shown in Fig. 3j–n. The performance of both classification methods was comparable in terms of sensitivity and specificity at all levels under consideration, as shown in Table 3. Additionally, we performed a fourfold cross-validation essay with random splits (over patients, see Supplementary Information), obtaining an overall sensitivity and specificity of 94.7 ± 4.6% (mean ± std) and 92.7 ± 2.8% (mean ± std) (see Supplementary Information). The overall AUROC was 0.95 ± 0.01 (mean ± std).
The additional PLS-DA Model 3 was built upon the averaged pixel spectra per patient for comparison (see Supplementary Information). Its overall sensitivity and specificity were 90.9% and 87.5% respectively, in very good agreement with the results provided by the per-pixel models given by PLS-DA Model 2 and by the FFNN (see Table 3, Supplementary Information).
Findings in this section show that proposed optical analysis could classify positive and negative cases of SARS-CoV-2 using the same inactivated nasopharyngeal exudates than conventional PCR tests.
Spectral information from fresh saliva from SARS-CoV-2 patients (Experiment 3)
Human saliva has been proved to be a body fluid suitable for detecting ongoing infections of SARS-CoV-255,56,57. Therefore, we analyzed the optical PA spectra obtained from saliva specimens to determine if we could extract useful information using the proposed technique.
As indicated, data collection for this study was carried out during the first wave of the COVID-19 pandemic. Under such extraordinary conditions, it was very difficult to obtain and manage SARS-CoV-2 positive samples. Based on the results described in previous sections, we limited our analysis of fresh saliva samples to an initial, descriptive study with a reduced number of cases to evaluate the feasibility and potential interest of our technique for this application.
Under biological containment conditions equivalent to biosafety level 3, we studied the pixel spectra obtained from a total of 192 droplets from 6 positive (3 men and 3 women) and 26 negative (8 men and 18 women) cases determined by PCR test. These sets are clearly imbalanced with respect to the presence of SARS-Cov-2 and gender. Nevertheless, differences were observed in the PA spectra of positive and negative cases, as illustrated in Fig. 4a.
To explore those differences, a PLS-DA Model 1 (using all samples) was constructed upon two latent variables and the clusters are shown in Fig. 4b. The spectral feature descriptor was also computed in the range between 483 and 610 nm (Fig. 4c) and between 407 and 470 nm (Fig. 4d). Normality was discarded using the Kolmogorov-Smirnoff test. The Wilcoxon rank sum test revealed statistically significant differences in the values of the SFD (p-value = 0).
Despite the relatively low number of positive cases presented in this section, these findings suggest that the method presented here might be used to differentiate the presence of the SARS-CoV-2 in human fresh saliva samples. We also found statistically significant differences in the values of the spectral feature descriptor for positive and negative cases, both for male and female samples (Fig. 4c,d, p-value = 0).
The development of fast and reliable screening techniques represents a critical enabler in a pandemic scenario, as quick, easy-to-implement and cost-effective test methods are essential for the detection of positive cases to curb propagation and to provide viral prevalence data58. In the specific context of the COVID-19, given the implications of false negatives for the spread of the disease59, highly sensitive tools are urgently needed for mass screenings to identify virus carriers58,60, even at the cost of reduced specificity relative to other respiratory viral species. In resource-constrained settings such screening approaches may also be useful to protect high-risk patients in those scenarios12.
Here we have demonstrated the strong potential of hyperspectral image analysis in the visible and near-infrared range to contribute to fighting the transmission of the SARS-CoV-2, as it allows for high-throughput testing by scanning many samples simultaneously using standard, relatively simple, optical equipment. This technique does not require the addition of any reagent to the samples or the amplification of nucleic acids, and may therefore be easily deployed in transport hubs, mass events, and during vivid outbreaks.
In this study the detection and classification results of exudate samples were obtained applying two different and independent analytical procedures: partial least square-discriminant analysis and feed-forward neural networks. PLS-DA is a statistical multivariate data processing technique commonly employed for descriptive analysis and predictive classification of highly dimensional data, including genomic data sets61, metabolomics62 and hyperspectral images in a variety of applications, from airborne remote sensing for precision agriculture63 and land monitoring64 to ground-based implementations for food inspection65,66, characterization of materials67 and many others. As compared to other approaches (e.g., principal component analysis, PCA), PLS-DA methodology provides dimension reduction for per-pixel classification in image processing68. FFNNs belong to the powerful set of machine learning algorithms, within the wide field of artificial intelligence. They are also usually applied for hyperspectral image analysis in computer vision systems69.
The results of Experiment 1 show that proposed technique effectively achieves the differentiation of the synthetic viral models—with and without the characteristic spike protein of SARS-CoV-2—at the four tested concentrations (Fig. 2a–d). Their relative differences (between samples with S-LP and G-LP) increase in accordance with higher viral loads in both a ‘simple’ fluid (PBS, a type of saline solution) and in the much more complex (realistic) artificial saliva (Fig. 2e,f). These results expand those reported in a previous study37 on the detection and quantification of G-LP models as liquid droplets and dry residue in the same fluids using the proposed technology. It is therefore considered that the ‘differential element’ in all tests performed on synthetic viral models, i.e., the presence of the SARS-CoV-2 Spike protein in the viral particles (and not the protein alone), would trigger the observed detection and constitute the conceptual basis for the subsequent analysis of human samples with the actual SARS-CoV-2.
A similar appraisal refers to results obtained from human samples of nasopharyngeal exudate in Experiment 2. The specimens were obtained in a small geographical area during a relatively short period of time from subjects who experienced COVID-19 compatible symptoms. As described in the methodology, positive cases were confirmed using a qRT-PCR test, and therefore, symptoms in the negative cases had to be caused by any of the other seasonal respiratory pathogens in circulation70,71. It is known that the vast majority of respiratory infections are caused by a virus72, therefore, the sensibility and specificity obtained here reflects the ability of this technique to discriminate between SARS-CoV-2 and other respiratory viral species present in the geographical location of sampling during the study period (most likely, influenza and common cold), and further studies of the specificity of detection versus those species remain to be developed. Despite the genetic diversity of SARS-CoV-273,74, the achieved sensitivity for analysis of exudate samples is comparable to those of other rapid methods. It is important to stress the high level of agreement (Table 3) among the classification results for exudates obtained from the three different, independent numerical procedures applied to the same sets of patients: (i) a per-pixel PLS-DA model (PLS-DA Model 1)—later integrated to per-patient level—whose inputs were the individual spectra of all sample pixels, (ii) a FFNN per-pixel model built from a set of numerical shape descriptors calculated in certain spectral fringes of interest, also integrated to per-patient level, and (iii) a PLS-DA model directly constructed at per-patient level (PLS-DA Model 3), whose inputs were the patient-averaged spectra. Remarkably, we achieved a sensitivity of 100%, with a very high overall classification accuracy of the same exudate samples used for standard PCR tests, using both PLS-DA and FFNN methods, in a study group which included patients with low viral loads determined by qRT-PCR.
In Experiment 3, an observational, descriptive study of samples of fresh human saliva was performed. Differences were obtained in the PA spectra of positive and negative cases (Fig. 4a). Although the number of cases did not allow for a per-patient classification, a tenfold cross validation showed a high overall accuracy (87%) for individual classification of pixels belonging to positive and negative patients. We also observed differences in the values of this descriptor between male and female cases. These early findings agree with the sex differences observed in the severity and evolution of the disease75. Additional essays should consider those factors, as well as whether smoking, food and drink intake, or pathologies that may alter the composition and properties of saliva or nasopharyngeal exudates have undesirable effects on the detection accuracy.
Sample sizes and data processing
This study presents the analysis of samples at different levels (per-pixel, per-droplet and per-patient), according to the experiments. Training and validation sets for the FFNN model were combined as the training set for the PLS-DA models, while tests sets were identical. Note that random splits of independent samples were constructed on a per-droplet (in Experiment 1) and on a per-patient basis (in Experiments 2 and 3), to avoid mixing of pixels from a given droplet (in Experiment 1) or from a patient (in Experiments 2 and 3) in different sets. All pixels belonging to the same patient are related and cannot be considered as fully independent samples, however potential unwanted effects due to specific or physiologic features of individual subjects or to eventual impurities or incidences evading quality controls in the fabrication processes of synthetic models would be cancelled by random splits of samples in the k-fold cross-validation procedures performed.
In classification analyses, the category of ‘positive’ samples included cases with the three levels of viral load considered. Therefore, in the per-pixel approach (using PLS-DA Model 2 and the FFNN model) the number of pixels in each training, validation and test set was in the order of several (tens of) thousands (Table 2). In the classification of exudate samples (Experiment 2) an additional model (PLS-DA Model 3) was independently built on a per-patient basis, as each subject was characterized by a single spectrum resulting from averaging all individual spectra of pixels (from all 6 droplets).
The number of latent variables of PLS-DA Models 2 and 3 was determined to retain over 95% of data variance providing optimal discrimination of cases in each (positive and negative) class. The number of free parameters (neurons) of the FFNN can estimated within the range given by the product of number of neurons per layer and the number of layers, i.e., 20 × 112 = 2240 parameters (sparsely connected), and 11220 parameters (fully connected). This value is much higher than the number of independent sample subjects but, for sparse connection, much smaller than the number of sample pixels in each set. As indicated, the per-patient PLS-DA Model 3 was built and tested on the same training and test sets as the per-pixel PLS-DA Model 2 and the FFNN, and the results of the three procedures agreed. SFD was calculated for all pixels and represented in boxplots to analyze the viral loads in the three concentrations tested.
Limitations of our study also include the use of relatively reduced groups of cases. In the analysis of exudate samples, a larger set is required for proper comparison of accuracy with existing technologies previously indicated (e.g., Raman spectroscopy, mass spectrometry), while in the assessment of fresh saliva, the patient set employed is not sufficient to perform the same classification as with exudates. Analyzed samples were also partly unbalanced regarding sex and viral load, and other factors which may relate to the COVID-19 progression in patients (e.g., age, body mass index, disease variants) were not considered.
As indicated, currently available optical strategies for the detection of COVID-19 mainly rely on microscopy imaging set-ups and on lab-on-chip approaches. They analyze a very small linear field-of-view (FOV), with a very reduced working distance (WD) between the optical device and the sample, commonly using specific (e.g., laser) light sources. On the contrary, our approach relies on an imaging configuration that registers a relatively wide FOV, at a WD in the order of tens of centimeters, under broadband illumination from conventional halogen sources. This scheme allows for simultaneous scanning of multiple droplets simply deposited on a supporting surface, following a procedure which can be easily scaled up to increase throughput.
Performance at the point-of care can be easily up-scaled. Our current setup registers a FOV of 7 × 10 cm2 at a WD of 30 cm, scanning samples from one patient (i.e., six 5-µL droplets) in 40 s; however, with the same configuration and resolution, it could scan up to 54 patients in 300 s. In addition, the proposed setup is easy to install, and facilitates a safe manipulation of the samples by minimally trained operators. Under the extraordinary circumstances of the first pandemic outbreak, we used commercial components and a high-level programming language to develop a prototype for standard personal computers. The total sample-to-result time interval for classification of a given patient (using 6 droplets) was eight minutes for PLS-DA methods, and five minutes for the FFNN algorithm. Processing times can be substantially reduced to a few seconds by adjusting the size and number of droplets per case to be analyzed, and by optimizing of the classification algorithms, for example, by using parallel computing techniques to process each pixel spectrum independently. It is important to consider that while the use of inactivated samples reduces biological hazards, it also increases the acquisition time, as it requires a trained health care professional to obtain the specimens.
The proposed methodology comprises two different processing stages: the generation of numerical models for classification (using droplets of known diagnosis to train the system), and their application for classification. As described, numerical models can be developed using two approaches: advanced statistical tools (PLS-DA methods) and artificial intelligence (machine learning FFNNs). While neural networks require larger, balanced, training and validation sets, they offer, in turn, the potential ability of substantial improvement in performance following artificial intelligence (e.g., machine-learning) procedures, effectively tackling the inherent variability of human biology and individual circumstances.
From an engineering point of view, the generation of numerical models and the training of artificial neural networks are time-consuming processes. However, these models can be quickly improved and updated and, when accomplished, can be applied for the simultaneous classification of all samples within the registered field of view of the imaging system. Thus, assuming approximately a thousand pixels per droplet (and six droplets per patient) an individual test result could be obtained within few seconds after image acquisition.
Given that a single hyperspectral image can include samples from several patients, our method would enable concomitant, ultra-fast screening with sample-to-result time under one minute per patient, well below other rapid tests, including optical and spectroscopic technologies. In addition, our system may be extended to include different viral species by re-building and updating the numerical models with enlarged data sets. Furthermore, the optical equipment for image acquisition can be further integrated into a computer-controlled device, suitable for use by personnel with minimal training. Recent advances in optical adapters for spectroscopy76 using smartphones might even allow for its implementation in personal, mobile devices.
Limits of detection determine the suitability of a given technology for the intended application. In this work, synthetic SARS-CoV-2 models (Experiment 1) were prepared in the same concentrations as in a previous study37 to facilitate their direct comparison, from 800 TU µL−1 to 1500 TU µL−1, 3000 TU µL−1 and 4000 TU µL−1. If translated into the equivalent ‘physical units’ (copies mL−1), assuming a 0.1% of infectious particles in the samples77, that lowest value corresponds to 8 × 108 copies mL−1. SARS-CoV-2 positive human samples of exudate (Experiment 2) were classified by qRT-PCR in three levels of viral load, high (106 copies mL−1), medium (104 copies mL−1) and low (102 copies mL−1), and human samples of fresh saliva (Experiment 3) were classified by qualitative PCR as SARS-CoV-2 positive/negative, without quantification.
Concentration values of physiological interest lie below the sub-picomolar range32. Interestingly, the average viral load of COVID-19 patients is53 about 7 × 106 copies mL−1, approximately equivalent to a 0.01 pM concentration, while the lowest viral load of exudate samples analyzed here was 102 copies mL−1. In addition, the estimated viral load of individuals45 considered as ‘super-carriers’ of SARS-CoV-2 corresponds to the lowest concentration employed for the analysis of synthetic models.
We have introduced the use of hyperspectral image processing for the detection of SARS-CoV-2 in clinical samples. The results here support its ability to analyze inactivated nasopharyngeal swabs to detect SARS-CoV-2 and discern positive carriers from other patients with respiratory symptoms, and its ability to differentiate SARS-CoV-2 from other viruses is still to be fully determined.
Our approach could also be applied to saliva samples. Although they present an inherent handling risk, collection can be performed by the subjects themselves without requiring the use of a swab57. Note that the number of salivary specimens analyzed here was not large enough to perform a classification assessment. Nevertheless, there are three outcomes here, obtained using different analytical approaches that altogether suggest saliva could be used as well. First, we found substantial optical information arising from the spike protein that conforms the viral capsid of the engineered lentiviral particles. Secondly, an accurate classification was achieved using inactivated samples despite the structural alteration of the viral capsid caused by the inactivation medium (this aspect and the effects of different commercial buffers, remain to be studied in further analysis). And thirdly, we could establish significant differences between positive and negative cases from saliva samples. It must be highlighted that values of the spectral feature descriptor calculated from individual pixel spectra—independently of PLS-DA and FFNN models—increase (lineally) according to the concentration of viral models in biofluids and of SARS-CoV-2 inactivated exudate samples, also showing differences—in coincidence with other reported analysis—between fresh saliva of male and female SARS-CoV-2 positive and negative subjects (although in a limited number of cases). This relationship between values of a spectral descriptor and the viral load of samples supports the hypothesis of the underlying information embedded in sample pixel spectra.
The presented approach relies on the analysis of samples using numerical models, which can easily be improved and updated with larger datasets. This technology is reagent-free and easy to implement and scale-up—even in resource-limited scenarios—for high-speed, high-throughput testing, as it allows for the simultaneous analysis of many samples (namely, all droplets within the field of view registered by the camera) using relatively common imaging equipment, suitable for safe use by minimally skilled operators. The described methodology could substantially improve the workflow in a primary screening stage, and be implemented at the point-of-care to select those subjects who should undergo further evaluation78. This use would allow for a relevant reduction in the detection time, logistics and costs associated with molecular analysis.
Overall, our findings support the use of hyperspectral image analysis for rapid, large-scale, high workflow SARS-CoV-2 primary screening at the point-of-care under the currently demanding circumstances of the COVID-19 pandemic. However, further studies with larger patient cohorts are required for refining the sensitivity and specificity of the technique. The proposed use of numerical models may also open the path for other applications to be developed.
Materials and methods
The approach described herein was tested from different, complementary points of view in the three independent experiments detailed in Fig. 5 and in the Supplementary Information.
SARS-CoV-2 spike pseudotyped lentiviral particles
Lentiviral particles pseudotyped with the S-protein of the SARS-CoV-2 (for Experiment 1) were prepared as described in a previous study37,79. Briefly, HEK293T cells were cultured in Gibco Dulbecco’s Modified Eagle Medium (DMEM). The culture medium was supplemented with 10% fetal bovine serum (Biowest, Nuaillé, France), and a mixture of penicillin (100 UI mL−1) and streptomycin (100 μg mL−1) (MilliporeSigma, Missouri, USA) was added to prevent bacterial contamination. The HEK293T cells (packaging cell line) were transfected with a lentiviral plasmid encoding the SARS-CoV-2 spike protein for the envelope and the plasmids encoding the genes required in a 2nd-generation lentiviral system including capsid, integrase and retrotranscriptase (Tat, Gag-Pol and Rev) as well as with a third vector coding for ZsGreen fluorescent protein flanked by long terminal repeats and packaging signals that will cause the ribonucleic acid to be packed inside viral particles. The cells were then incubated for 48 h, afterwards the supernatant was collected, and Lenti-X concentrator (Takara Bio Inc., Shiga, Japan) was added to precipitate viral particles. The mixture was then centrifuged, the supernatant was removed, and the resulting precipitate was stored at − 80 °C. As a negative control, the same number of HEK 293T cells were cultured with no plasmids, and the medium was collected and precipitated as described above. The experimental samples were prepared from a resuspended viral aliquot (or the equivalent negative control) in 1700-0305 artificial saliva (Pickering Laboratories, California, USA) or phosphate buffered saline (MilliporeSigma, Missouri, USA), an isotonic solution containing 137 mM NaCl, 2.7 mM KCl, 10 mM Na2HPO4, and 1.8 mM KH2PO4, one hour before hyperspectral imaging. Sample concentrations were 800 TU µL−1, 1500 TU µL−1, 3000 TU µL−1 and 4000 TU µL−1.
Vesicular stomatitis virus G (VSV-G) protein pseudotyped lentiviral particles
We used data from a previous paper37. Lentiviral particles pseudotyped with the VSV-G protein (for Experiment 1) were prepared following the same procedure65 and in the same concentrations as in this work.
SARS-CoV-2 specimen collection
The study was approved by the regional Research and Ethics Committee of University Hospitals ‘Virgen Macarena and Virgen del Rocío’, Seville, Spain (reference 0945-N-20). Prior to enrolling, all participants or their legal guardians read and signed an informed consent form. All procedures and methods were implemented according to the guidelines and regulations of the Declaration of Helsinki.
Nasopharyngeal exudates (for Experiment 2) were collected from 72 subjects (40 men and 29 women, age range of 20–90 years, and 3 pediatric cases (1 male, 2 female), age range 7–14 years) referred by a general practitioner as suspected cases of COVID-19 between April and June 2020 in Seville, Spain. During this interval, there was a strict lockdown, and geographic mobility was severely restricted. Specimens were placed within inactivating viral transport medium (Biocomma, Shenzhen, China) before processing. All the nasopharyngeal samples were analyzed following a standard qRT-PCR testing procedure. The viral RNA was extracted using a Patho Gene-spin® DNA/RNA extraction kit (Intron Biotechnology, Gyeonggi, South Korea). Then, a quantitative real-time reverse-transcriptase PCR (qRT-PCR) assay for the RNA-dependent RNA polymerase gene was performed using a qRT-PCR kit (NZYTech, Lisbon, Portugal). The specimens were considered positive if the cycle threshold (Ct) value was below 37, and negative otherwise. Positive cases were classified in three levels of viral load, high (H: 106 copies mL−1), medium (M: 104 copies mL−1) and low (L: 102 copies mL−1). All negative cases were symptomatic, with respiratory symptoms compatible with the infection by SARS-CoV-2.
Fresh saliva samples (for Experiment 3) were collected from 32 adult donors (11 men and 21 women, age range of 19–101 years) were processed within 3 h from collection time. A 6-h fasting period (including oral medication) was required prior to donation. A PCR test was performed to identify positive and negative cases. All positive cases were symptomatic, and all negative cases were asymptomatic, as evaluated by a general practitioner. Smokers and subjects with diseases that might alter the composition of saliva (e.g. diabetes mellitus) were excluded from the studio. Samples with mucus were discarded from optical analysis.
It must be noted that the sensitivity of PCR tests is mainly determined by the number of amplification cycles (namely, the cycle threshold (Ct) value) required to detect the viral nucleic acids in the sample. If their concentration (i.e., the viral load) is low, more cycles are required for detection. However, there is no common, precise equivalence of Ct values to viral concentration since the process of analysis is highly dependent on the specific reagents and the technology employed and standards of know concentration are not used. Each testing unit defines the (Ct) threshold values corresponding to the different levels of viral load detected and, in many cases, test results are only given as qualitative positive/negative classification. When quantitative evaluation is performed, results are provided in several discrete, broad levels (e.g., high, medium, and low) equivalent to given ranges of viral concentrations. Notably, Ct values cannot be compared from one test to another or even within lots of the same test, and there is no consensus on the Ct values corresponding to disease severity or about any threshold to define the risk of contagion associated to an infected individual80.
An A-Series VNIR hyperspectral camera (Headwall, Massachusetts, USA) mounted with a 35-mm LM35HC lens (KOWA, Saitama, Japan) was used to obtain the reflectance spectra of the samples under study, as described in a previous work37. The spectral wavelengths ranged from 406.62 to 996.46 nm accounting for a total of 810 bands. The camera was placed on a motorized linear translation stage (Zaber, Vancouver, Canada) 30 cm above the sample plane which was illuminated using two ASD Illuminator halogen light sources (Malvern Panalytical, Worcestershire, UK), as illustrated in Fig. 2a. The light sources were positioned 35 cm over the sample plane with their irradiance axis in a 30-degree angle with the vertical line. To ensure the sample was homogenously illuminated, an area of 9 × 8 cm2 was scanned with a resolution of 1275 pixels by 1000 pixels. The hyperspectral images thus obtained were codified using 8 bits. For calibration, the white reference was a 3.62-inch Spectralon white reference (Labsphere, New Hampshire, USA), and the dark reference was obtained by blocking the imaging system with the cover provided by the manufacturer.
Hyperspectral images were obtained at room temperate with relative humidity between 40 and 60%, as described previously37. Concisely, 5-µL droplets were placed on a 22 mm × 22 mm polytetrafluoroethylene (PTFE) supporting plate (BSH, Seville, Spain) with a 1-mm thickness. After depositing the droplets acquire the approximately half-ellipsoidal profile given by the equilibrium of their weight, the supporting plate reaction, and the air-fluid surface tension. Assuming a simplified disc model of a droplet deposited on the supporting plate, each pixel of the droplet image corresponded37 to an equivalent volume of approximately 4 nL. For analysis of human samples, six droplets per subject were deposited on each imaging plate. Note sufficient space was left between neighboring droplets (about 5 mm) to avoid information cross-talk while facilitating digital segmentation. The supporting plate was positioned afterwards within the imaging area onto a 10-mm thick wood board to record the reflectance spectra.
Hyperspectral images were segmented and pre-processed off-line37. Segmentation was performed using Evince (Prediktera, Umeå, Sweden). A pseudo red–green–blue (RGB) subset of the hyperspectral cube was built to determine the droplet contour following a conservative approach. Next, a principal component analysis (PCA) was performed on all pixel spectra within a droplet to remove outliers and foreign elements (e.g., bright reflections) from further analysis. It is important to note that the process of droplet segmentation and removal of unwanted imaging artefacts gives (slightly) different results according to the specific features of the droplet, and, consequently, the corresponding numbers of valid pixels for analysis also differ (for each droplet). Optical diffuse reflectance spectra were then converted to pseudo-absorbance spectra and normalized using the standard normal variate (SNV) transform. A Savitzky-Golay smoothing filter (order 5, with a 20-point window) was applied, followed by a correction of the baseline.
PLS-DA models and classification
PLS-DA models are built (using the corresponding training sets) with a number of latent variables selected following a standard cross-validation schema62 to retain a certain percentage of the data variance. These type of models generate an output value of classification for each sample by applying a linear regression with the calculated model variables. Three different types of PLS-DA models (namely, Models 1, 2 and 3) were constructed for data processing. Their number of latent variables was selected to retain over 90% or 95% of the training data variance and provide the best discrimination among samples of different classes. The total number of patients was randomly split in k-fold cross validations (method of venetian blind, 20 data splits, with 4 samples per blind (thickness)). The training set corresponded to about a 62% of the cases, and the test set to 38% of the cases.
Two PLS-DA models of the first type (PLS-DA Model 1) were built (using Python 3.8.5 with Numpy, SKlearn, Pandas and Seaborn libraries) from individual pixel spectra (i.e., their inputs are the 810 values of reflectance registered by the hyperspectral camera at each pixel) with two latent variables to retain at least 95% of data variance and a tenfold cross validation. PLS-DA Models 1 were built using all pixels from all samples. They were employed in Experiment 1 (with synthetic SARS-CoV-2 viral models) and in Experiment 3 (with fresh saliva samples) to reduce the dimensionality of the spectral data, and to explore the distribution of positive and negative pixels in two-dimensional scatter plots with all processed pixels.
The PLS-DA Model of the second type (PLS-DA Model 2) was also built from individual pixel spectra (i.e., with the 810 values of reflectance recorded for each pixel), with 12 latent variables to retain at least 95% of the data variance. Differently from the models of the first type, it was built and tested using samples from independent training and test patient sets. It generated an output variable between 0 (negative) and 1 (positive) for classification of each pixel of the sample test set. A threshold value was selected from inspection of the corresponding boxplots (of the output variable) and ROC curves to determine the assigned result of classification per-pixel. This analysis was performed using PLS Toolbox 8.6 (Eigenvector Research Inc, Washington, USA) under Matlab R2020b (The Mathworks Inc., Massachusetts, USA). PLS-DA Model 2 was employed in Experiment 2-A (with nasopharyngeal exudate samples) to generate a per-pixel classification, later integrated at droplet and patient level.
The PLS-DA Model of the third type (PLS-DA Model 3) was constructed from a different approach, using patient-averaged spectra (i.e., inputs were one spectrum per patient, each one having the 810 values corresponding to the wavelengths registered by the image sensor) from the same training sets of patients used for PLS-DA Model 2 and for the FFNN. It was built with 10 latent variables to retain at least 90% of the data variance, and it generated an output variable between − 1 (negative) and + 1 (positive) for each subject (patient) of the same test set used for the other two models. A threshold value of the output variable was selected from inspection of the corresponding boxplots and ROC curve to determine the assigned result of classification per-patient.
Model 3 was employed in Experiment 2-A (also with nasopharyngeal exudate samples) to directly generate a per-patient classification to be compared with those resulting from the integration to patient-level of the outputs of the PLS-DA Model 2 and of the FFNN model. This analysis with PLS-DA Model 3 was developed using The Unscrambler X 10.4 (CAMO, Norway).
FFNN model and classification
In Experiment 2-B, an additional approach was also employed: following the same procedure as in the previous study37, pixel spectra were processed to extract a set of 28 spectral feature descriptors in the following four spectral fringes of interest: 625–900 nm, 600–700 nm, 700–800 nm, 800–900 nm. These descriptors quantify morphological characteristics of the spectral curves in selected bands—also considering the spectrum of the background—and fed the inputs of a FFNN. Different configurations were tested to balance network complexity (number of neurons and hidden layers) and the available samples for training while achieving a high prediction accuracy. The FFNN was implemented in Matlab R2020b (The Mathworks Inc., Massachusetts, USA) with 20 hidden layers and one output layer37. The artificial neurons were implemented using sigmoid and softmax functions for hidden and output neurons respectively. Each hidden layer contained a number of neurons given by the product of the number of spectral feature descriptors and the number of fringes of interest in which they were obtained37 (typically, 28 × 4 = 112 neurons/layer).
The FFNN generated an output variable between 0 (negative) and 1 (positive) for each individual pixel. From the analysis of the corresponding boxplots and ROC curves of the training and validation sets, a per-pixel threshold was defined for classification. As in the previous study37, a supervised training was carried out using the scaled conjugate gradient backpropagation to find the optimal weights, limiting the number of iterations to 1000. The network performance was tested by evaluating the mean square error, and its values were plotted as a function of the number of training epochs (see Supplementary Information). To prevent overfitting, the best performance was identified as corresponding to the epoch with the lowest validation error.
The training set corresponded to 46% of cases, the validation set to 16% of the cases, and the test set to 38% of cases (on a per-patient basis). As mentioned, training and validation sets for the FFNN corresponded to the training set for the PLS-DA Models. The total number of subjects was randomly split in k-fold cross validations, and the same patient sets were employed for all analysis of Experiments 2-A and 2-B.
Spectral feature descriptor (SFD)
Given the spectral pseudo-absorbance function of each pixel of the sample under analysis (y) and that of its supporting plate -defined as a reference- (yref) in a certain wavelength interval, the spectral feature descriptor (SFD) was defined as a relative difference between both spectral functions in that interval as follows:
This parameter was calculated in the following spectral fringes: For samples with lentiviral particles in 483–610 nm, for exudates in 870–910 nm, and for samples of fresh saliva in 483–610 nm and 407–470 nm.
Random splits (here identified as Trials) for assignment of sets and for the k-fold cross-validation were performed on a per-droplet basis (in Experiment 1) and in a per-patient basis (in Experiments 2 and 3) to avoid that pixels from the same droplet (in Experiment 1) or from the same patient (in Experiments 2 and 3) were assigned to different sets. In addition, the same patient sets were used for Experiments 2-A and 2-B.
Confusion matrices and the corresponding values of sensitivity and specificity and ROC curves were obtained to assess the goodness of classification at three levels: pixel, droplet, and subject. The accuracy of the prediction was assessed using the area under the ROC curve (AUROC) value. Classification thresholds were obtained from ROC curves as the values that minimized the quadratic distance to the point with highest sensitivity (true positive rate) and specificity (true negative rate). The use of confusion matrices and AUROC values (instead of other statistical features) for the evaluation of PLS-DA models improves their performance for detecting small differences62.
Per-pixel classification results (from PLS-DA Model 2 and from the FFNN) were integrated per-droplet and per-patient. This was accomplished by defining two additional thresholds which defined, respectively, the percentage of pixels (of a given droplet) and of droplets (of a given patient) required to be positive to classify the corresponding droplet or patient as positive.
Normality was tested using the Kolmogorov–Smirnoff test at 95% significance. Wilcoxon rank sum tests were used for comparison of non-normal distributions. To characterize statistical distributions, we used box plots displaying the median values and the inter-quartile ranges. The whiskers were used to show 2.7 times the standard deviation, and the outliers beyond that range were removed for clarity. Here, p-values below 0.0001 were considered as zero.
All data needed to evaluate the findings are present in the paper and the Supplementary Materials. Additional data related to this work are available from the authors under reasonable request.
Lau, H. et al. The positive impact of lockdown in Wuhan on containing the COVID-19 outbreak in China. J. Travel Med. 27, 037 (2020).
Wells, C. R. et al. Impact of international travel and border control measures on the global spread of the novel 2019 coronavirus outbreak. Proc. Natl. Acad. Sci. 117, 7504–7509 (2020).
Lopes-Júnior, L. C. et al. Effectiveness of mass testing for control of COVID-19: A systematic review protocol. BMJ Open 10, e040413 (2020).
Hellewell, J. et al. Feasibility of controlling COVID-19 outbreaks by isolation of cases and contacts. Lancet Glob. Health 8, e488–e496 (2020).
Rossman, H. et al. COVID-19 dynamics after a national immunization program in Israel. Nat. Med. 27, 1–7 (2021).
Udugama, B. et al. Diagnosing COVID-19: The disease and tools for detection. ACS Nano 14, 3822–3835 (2020).
Hay, J. A. et al. Estimating epidemiologic dynamics from cross-sectional viral load distributions. Science 5, 78 (2021).
Lewis, G., Sheringham, J., Bernal, J. L. & Crayford, T. Mastering Public Health: A Postgraduate Guide to Examinations and Revalidation (CRC Press, 2014).
Shental, N. et al. Efficient high-throughput SARS-CoV-2 testing to detect asymptomatic carriers. Sci. Adv. 6, 5961 (2020).
U.S. Food and Drug Administration. COVID-19 Test Uses: FAQs on Testing for SARS-CoV-2. Q: What is the Difference Between Surveillance, Screening, and Diagnostic Testing for COVID-19 Testing? (2021). https://www.fda.gov/medical-devices/coronavirus-covid-19-and-medical-devices/covid-19-test-uses-faqs-testing-sars-cov-2. Accessed 2 Feb 2022.
European Centre for Disease Prevention and Control. Diagnostic Tests Versus Screening Tests (2021). https://wiki.ecdc.europa.eu/fem/Pages/Diagnostic%20tests%20versus%20screening%20tests.aspx. Accessed 2 Feb 2022.
Vandenberg, O., Martiny, D., Rochas, O., van Belkum, A. & Kozlakidis, Z. Considerations for diagnostic COVID-19 tests. Nat. Rev. Microbiol. 19, 1–13 (2020).
Cheng, M. P. et al. Serodiagnostics for severe acute respiratory syndrome-related coronavirus 2: A narrative review. Ann. Intern. Med. 173, 450–460 (2020).
U.S. Food and Drug Administration. Coronavirus Disease 2019 Testing Basics (2021). https://www.fda.gov/consumers/consumer-updates/coronavirus-disease-2019-testing-basics. Accessed 2 Feb 2022.
Broughton, J. P. et al. CRISPR–Cas12-based detection of SARS-CoV-2. Nat. Biotechnol. 38, 870–874 (2020).
Ackerman, C. M. et al. Massively multiplexed nucleic acid detection with Cas13. Nature 582, 277–282 (2020).
Gootenberg, J. S. et al. Nucleic acid detection with CRISPR-Cas13a/C2c2. Science 356, 438–442 (2017).
Moitra, P., Alafeef, M., Dighe, K., Frieman, M. B. & Pan, D. Selective naked-eye detection of SARS-CoV-2 mediated by N gene targeted antisense oligonucleotide capped plasmonic nanoparticles. ACS Nano 14, 7617–7627 (2020).
Ahmadivand, A. et al. Functionalized terahertz plasmonic metasensors: Femtomolar-level detection of SARS-CoV-2 spike proteins. Biosens. Bioelectron. 177, 112971 (2021).
Quer, G. et al. Wearable sensor data and self-reported symptoms for COVID-19 detection. Nat. Med. 27, 73–77 (2021).
Lee, H. et al. Detection of cucumber green mottle mosaic virus-infected watermelon seeds using a near-infrared (NIR) hyperspectral imaging system: Application to seeds of the “Sambok Honey” cultivar. Biosyst. Eng. 148, 138–147 (2016).
Wang, D. et al. Early detection of tomato spotted wilt virus by hyperspectral imaging and outlier removal auxiliary classifier generative adversarial nets (OR-AC-GAN). Sci. Rep. 9, 1–14 (2019).
Nguyen, C. et al. Early detection of plant viral disease using hyperspectral imaging and deep learning. Sensors 21, 742 (2021).
Firdous, S. & Anwar, S. Optical Diagnostic of Dengue Virus Infected Human Blood using Raman, Polarimetric and Fluorescence Spectroscopy (InTech Open, 2017).
Anwar, S. & Firdous, S. Optical diagnostic of hepatitis B (HBV) and C (HCV) from human blood serum using Raman spectroscopy. Laser Phys. Lett. 12, 076001 (2015).
Yeh, Y.-T. et al. A rapid and label-free platform for virus capture and identification from clinical samples. Proc. Natl. Acad. Sci. 117, 895–901 (2020).
Manoto, S. L. et al. Exploring optical spectroscopic techniques and nanomaterials for virus detection. Saudi J. Biol. Sci. 28, 78–89 (2021).
Fernandes, J. N. et al. Rapid, noninvasive detection of Zika virus in Aedes aegypti mosquitoes by near-infrared spectroscopy. Sci. Adv. 4, 0496 (2018).
Lukose, J., Chidangil, S. & George, S. D. Optical technologies for the detection of viruses like COVID-19: Progress and prospects. Biosens. Bioelectron. 178, 113004 (2021).
Maddali, H., Miles, C. E., Kohn, J. & O’Carroll, D. M. Optical biosensors for virus detection: Prospects for SARS-CoV-2/COVID-19. ChemBioChem 22, 1176 (2021).
Thi, V. L. D. et al. A colorimetric RT-LAMP assay and LAMP-sequencing for detecting SARS-CoV-2 RNA in clinical samples. Sci. Transl. Med. 12, 7075 (2020).
Stanborough, T. et al. Optical detection of CoV-SARS-2 viral proteins to sub-picomolar concentrations. ACS Omega 6, 6404–6413 (2021).
Kitane, D. L. et al. A simple and fast spectroscopy-based technique for Covid-19 diagnosis. Sci. Rep. 11, 1–11 (2021).
Barauna, V. G. et al. Ultrarapid on-site detection of SARS-CoV-2 infection using simple ATR-FTIR spectroscopy and an analysis algorithm: High sensitivity and specificity. Anal. Chem. 93, 2950–2958 (2021).
Alafeef, M., Moitra, P., Dighe, K. & Pan, D. Hyperspectral mapping for the detection of SARS-CoV-2 using nanomolecular probes with yoctomole sensitivity. ACS Nano 15, 13742–13758 (2021).
Yan, L. et al. Rapid detection of COVID-19 using MALDI-TOF-based serum peptidome profiling. Anal. Chem. 93, 4782–4787 (2021).
Gomez-Gonzalez, E. et al. Hyperspectral image processing for the identification and quantification of lentiviral particles in fluid samples. Sci. Rep. 11, 1–12 (2021).
Waltz, E. Five COVID breathalyzers. IEEE Spectr. 58, 10 (2021).
Yang, Q. et al. Just 2% of SARS-CoV-2-positive individuals carry 90% of the virus circulating in communities. Proc. Natl. Acad. Sci. 118, e2104547118 (2021).
U.S. Food and Drug Administration. FDA FACT SHEET. Screening for COVID19: Deciding Which Test to Use When Establishing Testing Programs (2021). https://www.fda.gov/media/146666/download. Accessed 2 Feb 2022.
World Health Organization. Tracking SARS-CoV-2 Variants (2021). https://www.who.int/en/activities/tracking-SARS-CoV-2-variants/. Accessed 2 Feb 2022.
Khan, M. J., Khan, H. S., Yousaf, A., Khurshid, K. & Abbas, A. Modern trends in hyperspectral image analysis: A review. IEEE Access 6, 14118–14129 (2018).
Lu, Y., Saeys, W., Kim, M., Peng, Y. & Lu, R. Hyperspectral imaging technology for quality and safety evaluation of horticultural products: A review and celebration of the past 20-year progress. Postharvest. Biol. Technol. 170, 111318 (2020).
Daukantas, P. Hyperspectral imaging meets biomedicine. Opt. Photonics News 31, 32–39 (2020).
Mishra, P., Lohumi, S., Khan, H. A. & Nordon, A. Close-range hyperspectral imaging of whole plants for digital phenotyping: Recent applications and illumination correction approaches. Comput. Electron. Agric. 178, 105780 (2020).
Cucci, C., Delaney, J. K. & Picollo, M. Reflectance hyperspectral imaging for investigation of works of art: Old master paintings and illuminated manuscripts. Acc. Chem. Res. 49, 2070–2079 (2016).
Wyatt, P. J. Differential light scattering and the measurement of molecules and nanoparticles: A review. Anal Chim Acta X 7–8, 100070 (2021).
Boutier, A. Laser Metrology in Fluid Mechanics: Granulometry, Temperature and Concentration Measurements (Wiley, 2013).
Xiao, B., Zhao, S., Gkioulekas, I., Bi, W. & Bala, K. Effect of geometric sharpness on translucent material perception. J. Vis. 20, 10–10 (2020).
Nicolas-Alonso, L. F. & Gomez-Gil, J. Brain computer interfaces, a review. Sensors 12, 1211–1279 (2012).
Schwemmer, M. A. et al. Meeting brain–computer interface user performance expectations using a deep neural network decoding framework. Nat. Med. 24, 1669–1676 (2018).
Crawford, K. H. et al. Protocol and reagents for pseudotyping lentiviral particles with SARS-CoV-2 spike protein for neutralization assays. Viruses 12, 513 (2020).
Wang, Y., Xu, G. & Huang, Y.-W. Modeling the load of SARS-CoV-2 virus in human expelled particles during coughing and speaking. PLoS ONE 15, e0241539 (2020).
Pastorino, B. et al. Evaluation of chemical protocols for inactivating SARS-CoV-2 infectious samples. Viruses 12, 624 (2020).
Azzi, L. et al. Saliva is a reliable tool to detect SARS-CoV-2. J. Infect. 81, e45–e50 (2020).
Williams, E., Bond, K., Zhang, B., Putland, M. & Williamson, D. A. Saliva as a non-invasive specimen for detection of SARS-CoV-2. J. Clin. Microbiol. 58, e00776 (2020).
Wyllie, A. L. et al. Saliva or nasopharyngeal swab specimens for detection of SARS-CoV-2. N. Engl. J. Med. 383, 1283–1286 (2020).
Mercer, T. R. & Salit, M. Testing at scale during the COVID-19 pandemic. Nat. Rev. Genet. 22, 415–426 (2021).
Woloshin, S., Patel, N. & Kesselheim, A. S. False negative tests for SARS-CoV-2 infection—Challenges and implications. N. Engl. J. Med. 383, e38 (2020).
Mina, M. J., Parker, R. & Larremore, D. B. Rethinking covid-19 test sensitivity—A strategy for containment. N. Engl. J. Med. 383, e120 (2020).
Boulesteix, A.-L. & Strimmer, K. Partial least squares: A versatile tool for the analysis of high-dimensional genomic data. Brief Bioinform. 8, 32–44 (2007).
Szymańska, E., Saccenti, E., Smilde, A. K. & Westerhuis, J. A. Double-check: Validation of diagnostic statistics for PLS-DA models in metabolomics studies. Metabolomics 8, 3–16 (2012).
Feng, L. et al. Hyperspectral imaging for seed quality and safety inspection: A review. Plant Methods 15, 1–25 (2019).
Peerbhay, K. Y., Mutanga, O. & Ismail, R. Commercial tree species discrimination using airborne AISA Eagle hyperspectral imagery and partial least squares discriminant analysis (PLS-DA) in KwaZulu–Natal, South Africa. ISPRS J. Photogramm. Remote Sens. 79, 19–28 (2013).
Folch-Fortuny, A., Prats-Montalbán, J. M., Cubero, S., Blasco, J. & Ferrer, A. VIS/NIR hyperspectral imaging and N-way PLS-DA models for detection of decay lesions in citrus fruits. Chemomet. Intell. Lab. Syst. 156, 241–248 (2016).
Huang, H., Liu, L. & Ngadi, M. O. Recent developments in hyperspectral imaging for assessment of food quality and safety. Sensors 14, 7248–7276 (2014).
Bonifazi, G., Capobianco, G. & Serranti, S. Hyperspectral imaging and hierarchical PLS-DA applied to asbestos recognition in construction and demolition waste. Appl. Sci. 9, 4587 (2019).
Chevallier, S., Bertrand, D., Kohler, A. & Courcoux, P. Application of PLS-DA in multivariate image analysis. J. Chemom. 20, 221–229 (2006).
Golhani, K., Balasundram, S. K., Vadamalai, G. & Pradhan, B. A review of neural networks in plant disease detection using hyperspectral data. Inf. Process Agric. 5, 354–371 (2018).
Tang, J. W. et al. Where have all the viruses gone? Disappearance of seasonal respiratory viruses during the COVID-19 pandemic. J. Med. Virol. 93, 4099 (2021).
Park, K. Y., Seo, S., Han, J. & Park, J. Y. Respiratory virus surveillance in Canada during the COVID-19 pandemic: An epidemiological analysis of the effectiveness of pandemic-related public health measures in reducing seasonal respiratory viruses test positivity. PLoS ONE 16, e0253451 (2021).
Brittain-Long, R. et al. Multiplex real-time PCR for detection of respiratory tract infections. J. Clin. Virol. 41, 53–56 (2008).
Díez-Fuertes, F. et al. A founder effect led early SARS-COV-2 transmission in Spain. J. Virol. 95, e01583 (2021).
Hodcroft, E. B. et al. Spread of a SARS-CoV-2 variant through Europe in the summer of 2020. Nature 22, 1–9 (2021).
Takahashi, T. et al. Sex differences in immune responses that underlie COVID-19 disease outcomes. Nature 588, 315–320 (2020).
Hussain, I. & Bowden, A. K. Smartphone-based optical spectroscopic platforms for biomedical applications: A review. Biomed. Opt. Express 12, 1974–1998 (2021).
Scherr, M., Battmer, K., Blömer, U., Ganser, A. & Grez, M. Quantitative determination of lentiviral vector particle numbers by real-time PCR. Biotechniques 31, 520–526 (2001).
Tran, N. K. et al. Novel application of automated machine learning with MALDI-TOF-MS for rapid high-throughput screening of COVID-19: A proof of concept. Sci. Rep. 11, 1–10 (2021).
Kutner, R. H., Zhang, X.-Y. & Reiser, J. Production, concentration and titration of pseudotyped HIV-1-based lentiviral vectors. Nat. Protoc. 4, 495–505 (2009).
U.S. Food and Drug Administration. COVID-19 Test Uses: FAQs on Testing for SARS-CoV-2. Q: Can Laboratories Report Ct Values for Authorized Molecular Diagnostic COVID-19 Tests? (2021). https://www.fda.gov/medical-devices/coronavirus-covid-19-and-medical-devices/covid-19-test-uses-faqs-testing-sars-cov-2. Accessed 2 Feb 2022.
The authors would like to gratefully acknowledge the assistance of the members of the Explosive Ordnance Disposal—Chemical, Biological, Radiological & Nuclear (EOD-CBRN) Group of the Spanish National Police, whose identities cannot be disclosed, and who are represented here by JMNG. The authors also thank Manuel Guerrero-Claro for his technical assistance with the implementation of the neural networks, and the companies CAMBRICO BIOTECH (Sevilla, Spain), CER “Dr. Gregorio Medina Blanco” (Espartinas, Sevilla, Spain) and SAMU (Sevilla, Spain) for their collaboration in the collection of human samples. This research was funded by Grants Number COV20-00080 and COV20-00173 of the 2020 Emergency Call for Research Projects about the SARS-CoV-2 virus and the COVID-19 disease of the Institute of Health ‘Carlos III’, Spanish Ministry of Science and Innovation, and by Grant Number EQC2019-006240-P funded by MICIN/AEI/10.13039/501100011033 and by “ERDF A way of making Europe”. ABR was supported by Grant Number RTI2018-094465-J-I00 funded by MICIN/AEI/10.13039/501100011033 and by “ERDF A way of making Europe”. This work has been supported by the European Commission through the Joint Research Center (JRC) HUMAINT project.
EGG, FJMG, RPG, DRL, PGG, JMR, IFL, BFM and JMNG have filed a patent related to the proposed methodology. They intend to make this technology affordable and suitable for research and potential use. MHC works as staff physician for CER ‘Dr. Gregorio Medina Blanco (Espartinas, Seville, Spain). MR is the Chief Scientific Officer of CAMBRICO BIOTECH (Seville, Spain). All other authors declare no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
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
Gomez-Gonzalez, E., Barriga-Rivera, A., Fernandez-Muñoz, B. et al. Optical imaging spectroscopy for rapid, primary screening of SARS-CoV-2: a proof of concept. Sci Rep 12, 2356 (2022). https://doi.org/10.1038/s41598-022-06393-3
This article is cited by
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.