Prediction of 3D structure and function of proteins and peptides