The Genome in Its Ecological Context