Keith T. Flaherty, HMS associate professor of medicine, and his colleagues at Massachusetts General Hospital have developed a more sophisticated formula for analyzing tumors to find their vulnerabilities. On Monday, the hospital will unveil a partnership with AstraZeneca to pair Flaherty’s computer analysis with the company’s growing library of drugs to identify combinations of treatments that would not otherwise have been considered.