HIV-1 evolution in gag and env is highly correlated but exhibits different relationships with viral load and the immune response.