A 24-year-old man is evaluated in the office for blisters that have developed on his lips and tongue. He has not had any similar episodes previously. He developed a tingling and burning sensation of the lip that was followed by redness and development of blisters. The patient has a recent diagnosis of HIV infection but has not started any medications.

On physical examination, vital signs are normal. Skin lesions are shown.

The remainder of the examination is normal.

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