HIV genotyping is used to identify mutations known to cause resistance to certain antiretroviral drugs and to help select a drug regimen likely to be effective for a specific patient with HIV infection.