def orthologize(self, ortho_species_id, belast):
if (<EOL>self.orthologs<EOL>and ortho_species_id in self.orthologs<EOL>and ortho_species_id != self.species_id<EOL>):<EOL><INDENT>self.orthology_species = ortho_species_id<EOL>self.canonical = self.orthologs[ortho_species_id]["<STR_LIT>"]<EOL>self.decanonical = self.orthologs[ortho_species_id]["<STR_LIT>"]<EOL>self.update_nsval(nsval=self.decanonical)<EOL>self.orthologized = True<EOL><DEDENT>elif self.species_id and ortho_species_id not in self.orthologs:<EOL><INDENT>self.orthologized = False<EOL>belast.partially_orthologized = True<EOL><DEDENT>return self<EOL>
Decanonical ortholog name used