Genome-enabled approaches towards molecular functions in ecology and evolution