Other similar diseases are caused by different strains of the same bacterium, such as syphilis ("Treponema pallidum pallidum"). Once the lesions have appeared doctors are able to tell it is yaws. Polymerase chain reaction (PCR) is the best method of diagnosis.