Learning structural protein properties