Siddhartha Mukherjee in Nautilus:
Anyone who doubts that genes can specify identity might well have arrived from another planet and failed to notice that the humans come in two fundamental variants: male and female. Cultural critics, queer theorists, fashion photographers, and Lady Gaga have reminded us— accurately—that these categories are not as fundamental as they might seem, and that unsettling ambiguities frequently lurk in their borderlands. But it is hard to dispute three essential facts: that males and females are anatomically and physiologically different; that these anatomical and physiological differences are specified by genes; and that these differences, interposed against cultural and social constructions of the self, have a potent influence on specifying our identities as individuals. That genes have anything to do with the determination of sex, gender, and gender identity is a relatively new idea in our history. The distinction between the three words is relevant to this discussion. By sex, I mean the anatomic and physiological aspects of male versus female bodies. By gender, I am referring to a more complex idea: the psychic, social, and cultural roles that an individual assumes. By gender identity, I mean an individual’s sense of self (as female versus male, as neither, or as something in between).
…At the top of the cascade, nature works forcefully and unilaterally. Up top, gender is quite simple—just one master gene flicking on and off. If we learned to toggle that switch—by genetic means or with a drug—we could control the production of men or women, and they would emerge with male versus female identity (and even large parts of anatomy) quite intact. At the bottom of the network, in contrast, a purely genetic view fails to perform; it does not provide a particularly sophisticated understanding of gender or its identity. Here, in the estuarine plains of crisscrossing information, history, society, and culture collide and intersect with genetics, like tides. Some waves cancel each other, while others reinforce each other. No force is particularly strong—but their combined effect produces the unique and rippled landscape that we call an individual’s identity.
More here.