add array reference support to search_genomes