Deep learning on local sites for protein structure and function analysis