Algorithms for Representation and Discovery of Transcription Factor Binding Sites