The genetic complement of an organism, including all of its genes, as represented in its dna, or in some cases, its rna.