July 7, 2015, 6:27 p.m. by Summaira
...Transcription factor binding sites co occour usually and they control and regulate the gene expression and reguation tissue specifically.
A simple DNA string that has AGCTGATGATGATAGATNNNNNXXXXXAGCAGCAGCGACA In this string X and N 's are masked regions that dont need to be searched. Let say we have two Transcription Factors: TF1 : tgata, gctga TF2 : TAGAT, AGCCA
traget is to look up for a region in the above dna string where these two TF;s co occur, no matter which of the pattern is present.
Given: A DNA string
Return: Return the range where these 2 TF's co occour
$DNA= AGCTTTTCATTCTGACTGCAACGGGXXXXCAATATGTNNNNNNGTGGATTAAAAAAAGAGTGTCTGATAGCAGC @TF1 = ["TGCAT", "TATGT", "AGCA] @TF2 = ["TTCTG", "ACGGG"] wINDOW 14
Position 12 to 24 : TF1, TF2 are found (co occour) likewise position 68 - 82 : TF1, TF2 are found (co occour)