Computational studies on membrane protein structures and protein-ligand binding affinities