Sex-determination system
A sex-determination system is a biological system that determines the development of sexual characteristics in an organism. Most organisms that create their offspring using sexual reproduction have two common sexes and a few less common intersex variations. In some species there are hermaphrodites. There are also some species in which only one sex is present, temporarily or permanently, due to parthenogenesis, the act of a female reproducing without fertilization. In some species, sex determination is genetic: males and females have different alleles or even different genes that specify their sexual morphology. In animals this is often accompanied by chromosomal differences, generally through combinations of XY, ZW, XO, ZO chromosomes, or haplodiploidy. The sexual differentiation is generally triggered by a main gene (a "sex locus"), with a multitude of other genes following in a domino effect. In other cases, sex of a fetus is determined by environmental variables (such as temperature). The details of some sex-determination systems are not yet fully understood. Hopes  for future fetal biological system analysis include complete-reproduction-system initialized signals that can be measured during pregnancies to more accurately determine whether a determined sex of a fetus is male, or female. Such analysis of biological systems could also signal whether the fetus is hermaphrodite, which includes total or partial of both male and female reproduction organs. Some species such as various plants and fish do not have a fixed sex, and instead go through life cycles and change sex based on genetic cues during corresponding life stages of their type. This could be due to environmental factors such as seasons and temperature. In some gonochoric  species, a few individuals may have sex characteristics of both sexes, a condition called intersex. While diversity in sex determination systems is common throughout different biological systems, the systems beyond XY/XX/XO in mammals are often left to more advanced courses for those whose studies specialize in genetics of other organisms. Discovery 

Sex determination was discovered in the mealworm by the American geneticist Nettie Stevens in 1903. Chromosomal systems

XX/XY sex chromosomes 

The XX/XY sex-determination system is the most familiar, as it is found in humans. The XX/XY system is found in most other mammals, as well as some insects. In this system, females have two of the same kind of sex chromosome (XX), while males have two distinct sex chromosomes (XY). The X and Y sex chromosomes are different in shape and size from each other, unlike the rest of the chromosomes (autosomes), and are sometimes called allosomes. In some species, such as humans, organisms remain sex indifferent for a time after they're created; in others, however, such as fruit flies, sexual differentiation occurs as soon as the egg is fertilized. Y-centered sex determination 

Some species (including humans) have a gene SRY on the Y chromosome that determines maleness. Members of SRY-reliant species can have uncommon XY chromosomal combinations such as XXY and still live. Human sex is determined by the presence or absence of a Y chromosome with a functional SRY gene. Once the SRY gene is activated, cells create testosterone and anti-müllerian hormone which typically ensures the development of a single, male reproductive system. In typical XX embryos, cells secrete estrogen, which drives the body toward the female pathway. In Y-centered sex determination, the SRY gene is the main gene in determining male characteristics, but multiple genes are required to develop testes. In XY mice, lack of the gene DAX1 on the X chromosome results in sterility, but in humans it causes adrenal hypoplasia congenita. However, when an extra DAX1 gene is placed on the X chromosome, the result is a female, despite the existence of SRY. Even when there are normal sex chromosomes in XX females, duplication or expression of SOX9 causes testes to develop. Gradual sex reversal in developed mice can also occur when the gene FOXL2 is removed from females. Even though the gene DMRT1 is used by birds as their sex locus, species who have XY chromosomes also rely upon DMRT1, contained on chromosome 9, for sexual differentiation at some point in their formation. X-centered sex determination 

Some species, such as fruit flies, use the presence of two X chromosomes to determine femaleness. Species that use the number of Xs to determine sex are nonviable with an extra X chromosome. Other variants of XX/XY sex determination 

Some fish have variants of the XY sex-determination system, as well as the regular system. For example, while having an XY format, Xiphophorus nezahualcoyotl and X. milleri also have a second Y chromosome, known as Y', that creates XY' females and YY' males. At least one monotreme, the platypus, presents a particular sex determination scheme that in some ways resembles that of the ZW sex chromosomes of birds and lacks the SRY gene. The platypus has ten sex chromosomes; males have an XYXYXYXYXY pattern while females have ten X chromosomes. Although it is an XY system, the platypus' sex chromosomes share no homologues with eutherian sex chromosomes. Instead, homologues with eutherian sex chromosomes lie on the platypus chromosome 6, which means that the eutherian sex chromosomes were autosomes at the time that the monotremes diverged from the therian mammals (marsupials and eutherian mammals). However, homologues to the avian DMRT1 gene on platypus sex chromosomes X3 and X5 suggest that it is possible the sex-determining gene for the platypus is the same one that is involved in bird sex-determination. More research must be conducted in order to determine the exact sex determining gene of the platypus. XX/X0 sex chromosomes 

In this variant of the XY system, females have two copies of the sex chromosome (XX) but males have only one (X0). The 0 denotes the absence of a second sex chromosome. Generally in this method, the sex is determined by amount of genes expressed across the two chromosomes. This system is observed in a number of insects, including the grasshoppers and crickets of order Orthoptera and in cockroaches (order Blattodea). A small number of mammals also lack a Y chromosome. These include the Amami spiny rat (Tokudaia osimensis) and the Tokunoshima spiny rat (Tokudaia tokunoshimensis) and Sorex araneus, a shrew species. Transcaucasian mole voles (Ellobius lutescens) also have a form of XO determination, in which both sexes lack a second sex chromosome. The mechanism of sex determination is not yet understood. The nematode C. elegans is male with one sex chromosome (X0); with a pair of chromosomes (XX) it is a hermaphrodite. Its main sex gene is XOL, which encodes XOL-1 and also controls the expression of the genes TRA-2 and HER-1. These genes reduce male gene activation and increase it, respectively. ZW/ZZ sex chromosomes 

The ZW sex-determination system is found in birds, some reptiles, and some insects and other organisms. The ZW sex-determination system is reversed compared to the XY system: females have two different kinds of chromosomes (ZW), and males have two of the same kind of chromosomes (ZZ). In the chicken, this was found to be dependent on the expression of DMRT1. In birds, the genes FET1 and ASW are found on the W chromosome for females, similar to how the Y chromosome contains SRY. However, not all species depend upon the W for their sex. For example, there are moths and butterflies that are ZW, but some have been found female with ZO, as well as female with ZZW. Also, while mammals deactivate one of their extra X chromosomes when female, it appears that in the case of Lepidoptera, the males produce double the normal amount of enzymes, due to having two Z's. Because the use of ZW sex determination is varied, it is still unknown how exactly most species determine their sex. However, reportedly, the silkworm Bombyx mori uses a single female-specific piRNA as the primary determiner of sex. Despite the similarities between the ZW and XY systems, these sex chromosomes evolved separately. In the case of the chicken, their Z chromosome is more similar to humans' autosome 9. The chicken's Z chromosome also seems to be related to the X chromosome of the platypus. When a ZW species, such as the Komodo dragon, reproduces parthenogenetically, usually only males are produced. This is due to the fact that the haploid eggs double their chromosomes, resulting in ZZ or WW. The ZZ become males, but the WW are not viable and are not brought to term. In both XY and ZW sex determination systems, the sex chromosome carrying the critical factors is often significantly smaller, carrying little more than the genes necessary for triggering the development of a given sex. ZZ/Z0 sex chromosomes 

The ZZ/Z0 sex-determination system is found in some moths. In these insects there is one sex chromosome, Z. Males have two Z chromosomes, whereas females have one Z. Males are ZZ, while females are Z0. UV sex chromosomes
In some bryophyte and some algae species, the gametophyte stage of the life cycle, rather than being hermaphrodite, occurs as separate male or female individuals that produce male and female gametes respectively. When meiosis occurs in the sporophyte generation of the life cycle, the sex chromosomes known as U and V assort in spores that carry either the U chromosome and give rise to female gametophytes, or the V chromosome and give rise to male gametophytes. Haplodiploidy 

Haplodiploidy is found in insects belonging to Hymenoptera, such as ants and bees. Sex determination is controlled by the zygosity of a complementary sex determiner (csd) locus. Unfertilized eggs develop into haploid individuals which have a single, hemizygous copy of the csd locus and are therefore males. Fertilized eggs develop into diploid individuals which, due to high variability in the csd locus, are generally heterozygous females. In rare instances diploid individuals may be homozygous, these develop into sterile males. The gene acting as a csd locus has been identified in the honeybee and several candidate genes have been proposed as a csd locus for other Hymenopterans. Most females in the Hymenoptera order can decide the sex of their offspring by holding received sperm in their spermatheca and either releasing it into their oviduct or not. This allows them to create more workers, depending on the status of the colony. Other chromosomal systems
Other uncommon systems include those of the green swordtail (a polyfactorial system with the sex-determining genes on several chromosomes) the Chironomus midges; the juvenile hermaphroditism of zebrafish, with an unknown trigger; and the platyfish, which has W, X, and Y chromosomes. This allows WY, WX, or XX females and YY or XY males. Mating type in microorganisms is analogous to sex in multi-cellular organisms, and is sometimes described using those terms, though they are not necessarily correlated with physical body structures. Some species have more than two mating types. Tetrahymena, a type of ciliate, has seven mating types. Schizophyllum commune, a type of fungus, has 23,328. Environmental systems

Temperature-dependent

Many other sex-determination systems exist. In some species of reptiles, including alligators, some turtles, and the tuatara, sex is determined by the temperature at which the egg is incubated during a temperature-sensitive period. There are no examples of temperature-dependent sex determination (TSD) in birds. Megapodes had formerly been thought to exhibit this phenomenon, but were found to actually have different temperature-dependent embryo mortality rates for each sex. For some species with TSD, sex determination is achieved by exposure to hotter temperatures resulting in the offspring being one sex and cooler temperatures resulting in the other. This type of TSD is called Pattern I. For others species using TSD, it is exposure to temperatures on both extremes that results in offspring of one sex, and exposure to moderate temperatures that results in offspring of the opposite sex, called Pattern II TSD. The specific temperatures required to produce each sex are known as the female-promoting temperature and the male-promoting temperature. When the temperature stays near the threshold during the temperature sensitive period, the sex ratio is varied between the two sexes. Some species' temperature standards are based on when a particular enzyme is created. These species that rely upon temperature for their sex determination do not have the SRY gene, but have other genes such as DAX1, DMRT1, and SOX9 that are expressed or not expressed depending on the temperature. The sex of some species, such as the Nile tilapia, Australian skink lizard, and Australian dragon lizard, has an initial bias, set by chromosomes, but can later be changed by the temperature of incubation. It is unknown how exactly temperature-dependent sex determination evolved. It could have evolved through certain sexes being more suited to certain areas that fit the temperature requirements. For example, a warmer area could be more suitable for nesting, so more females are produced to increase the amount that nest next season. In amniotes, environmental sex determination preceded the genetically determined systems of birds and mammals; it is thought that a temperature-dependent amniote was the common ancestor of amniotes with sex chromosomes. Other environmental systems

There are other environmental sex determination systems including location-dependent determination systems as seen in the marine worm Bonellia viridis – larvae become males if they make physical contact with a female, and females if they end up on the bare sea floor. This is triggered by the presence of a chemical produced by the females, bonellin. Some species, such as some snails, practice sex change: adults start out male, then become female. In tropical clownfish, the dominant individual in a group becomes female while the other ones are male, and bluehead wrasses (Thalassoma bifasciatum) are the reverse. Some species, however, have no sex-determination system. Hermaphrodite species include the common earthworm and certain species of snails. A few species of fish, reptiles, and insects reproduce by parthenogenesis and are female altogether. There are some reptiles, such as the boa constrictor and Komodo dragon that can reproduce both sexually and asexually, depending on whether a mate is available. Evolution 

Sex determination systems may have evolved from mating type, which is a feature of microorganisms. Chromosomal sex determination may have evolved early in the history of eukaryotes. But in plants it has been suggested to have evolved recently. The accepted hypothesis of XY and ZW sex chromosome evolution in amniotes is that they evolved at the same time, in two different branches. No genes are shared between the avian ZW and mammal XY chromosomes and the chicken Z chromosome is similar to the human autosomal chromosome 9, rather than X or Y. This suggests not that the ZW and XY sex-determination systems share an origin but that the sex chromosomes are derived from autosomal chromosomes of the common ancestor of birds and mammals. In the platypus, a monotreme, the X1 chromosome shares homology with therian mammals, while the X5 chromosome contains an avian sex-determination gene, further suggesting an evolutionary link. However, there is some evidence to suggest that there could have been transitions between ZW and XY, such as in Xiphophorus maculatus, which have both ZW and XY systems in the same population, despite the fact that ZW and XY have different gene locations. A recent theoretical model raises the possibility of both transitions between the XY/XX and ZZ/ZW system and environmental sex determination The platypus' genes also back up the possible evolutionary link between XY and ZW, because they have the DMRT1 gene possessed by birds on their X chromosomes. Regardless, XY and ZW follow a similar route. All sex chromosomes started out as an original autosome of an original amniote that relied upon temperature to determine the sex of offspring. After the mammals separated, the reptile branch further split into Lepidosauria and Archosauromorpha. These two groups both evolved the ZW system separately, as evidenced by the existence of different sex chromosomal locations. In mammals, one of the autosome pair, now Y, mutated its SOX3 gene into the SRY gene, causing that chromosome to designate sex. After this mutation, the SRY-containing chromosome inverted and was no longer completely homologous with its partner. The regions of the X and Y chromosomes that are still homologous to one another are known as the pseudoautosomal region. Once it inverted, the Y chromosome became unable to remedy deleterious mutations, and thus degenerated. There is some concern that the Y chromosome will shrink further and stop functioning in ten million years: but the Y chromosome has been strictly conserved after its initial rapid gene loss. There are some vertebrate species, such as the medaka fish, that evolved sex chromosomes separately; their Y chromosome never inverted and can still swap genes with the X. These species' sex chromosomes are relatively primitive and unspecialized. Because the Y does not have male-specific genes and can interact with the X, XY and YY females can be formed as well as XX males. Non-inverted Y chromosomes with long histories are found in pythons and emus, each system being more than 120 million years old, suggesting that inversions are not necessarily an eventuality. XO sex determination can evolve from XY sex determination with about 2 million years. See also 
 Clarence Erwin McClung, who discovered the role of chromosomes in sex determination
 Testis-determining factor
 Maternal influence on sex determination
 Sequential hermaphroditism
 Sex determination and differentiation (human)
 Sexing

References

Further reading 

 

 
Epigenetics