text: In modern molecular biology and genetics , the genome is the entirety of an organism 's hereditary information . It is encoded either in DNA or , for many types of virus , in RNA .
simplified: The genome of an organism is the whole of its hereditary information encoded in its DNA ( or , for some viruses , RNA ) .