A computational approach to the functional screening of genomes