Determining the sex of a gene on the Y chromosome (mammals and beasts of the bag, pairs).