Question: how did o'brien get infected?
Answer: In the secret ending of the game, it is revealed that he has been infected with an evolved strain of the Freaker Virus that giving superhuman agility and strength but still enable him to maintain human intelligence.