Drug resistance is a major reason for therapy failure in HIV patients. Two types of tests can detect resistance to drugs: 1) genotyping (sequencing), which looks at the DNA sequence of a virus to see whether it has developed any genetic resistance; 2) phenotyping, which looks at the ability of different drugs to suppress virus growth in the laboratory. Genotyping and phenotyping can help doctors give patients the most effective drug therapy.