Resistance to antiretroviral drugs by HIV develops from competition among several different virus variants within an individual. Recent studies have measured the changing proportions of HIV populations, which differ by single nucleic acids, under the selective pressures exerted by the addition or removal of antiretroviral drugs.