calling EncodeProtein from main