Doctor Who: System Wipe by Oli Smith
The Doctor finds himself trapped in the virtual world of Parallife. As he tries to save the inhabitants from being destroyed by a deadly virus, Amy and Rory must fight to keep the Doctor's body in the real world safe from the mysterious entity known as Legacy ...