From genome sequences to protein function