GlaxoSmithKline has formed a five-year partnership with Oxford University to set up a new institute that will apply machine learning and functional genomics to the discovery of new medicines.