Researchers identify medications that could be repurposed, including treatments for heart conditions and stomach ulcers.