A method to detect SARS-CoV-2 in nasal swabs using matrix-assisted laser desorption/ionization mass spectrometry (MALDI-MS) and machine learning analysis and this approach uses equipment and expertise commonly found in clinical laboratories in developing countries.