This stuff is hard-wired into either the organism's nervous system, or endocrine signalling pathways (e.g., hormones), or possibly a combination of those two mechanisms. In that sense, yes it is encoded in the genome, but not in a language that we can understand or interpret yet. Also, don't overlook all of the macromolecules that the female provides to the developing egg during oogenesis, your mother gave you lots of things besides a copy of her genome--you just don't have any of those macromolecules left now--but you wouldn't be here without them.