C++ and python code for sequence analysis related to transcriptional regulation