Researchers have developed a novel way to trace mutations in HIV that lead to drug resistance. Their findings, once expanded to the full range of drugs available to treat the infection, would allow doctors to tailor drug cocktails to the particular strains of the virus found in individual patients.