Investigation of the gene regulatory logic encoded in genome sequences using machine learning