Ab initio prediction of transcription factor targets using structural knowledge