Scientists have discovered how stem cells can develop resistance against viruses, a finding that could aid the development of stem cell therapies.