Learning the transcriptional regulatory code