The complete genetic code of an organism is present:

in the nucleus of all cells
in the nucleus of all somatic cells
in the nucleus of all gametes
only in the autosomes