A 30-year-old woman from Nigeria presents with multiple painless papules on her vulva. She also has bilateral inguinal lymphadenopathy. She is in a polygamous relationship. Darkfield microscopy of the lesions shows spirochaetes. RPR is positive at 1:128. TPHA is positive. She is from a region where yaws was previously endemic. How can syphilis be distinguished from yaws serologically?