The study of the complete set of DNA in an organism, including the analysis of gene structure, variation, and function.