A 27-year-old woman is evaluated for a 4-day history of painful vulvar lesions accompanied by fatigue and malaise. The patient reports dysuria but no urgency or frequency and no vaginal discharge. She has been sexually active with a single male partner for the past 2 years. She has no history of genital lesions or sexually transmitted infections.

On physical examination, temperature is 38.1 °C (100.6 °F), blood pressure is 120/70 mm Hg, pulse rate is 90/min, and respiration rate is 12/min. Multiple shallow ulcers on an erythematous base are located over the labia majora and minora, consistent with herpes simplex virus infection. Palpation reveals bilateral inguinal lymphadenopathy.

Which of the following is the most appropriate diagnostic test to perform next?