N
|
T
Is there a way to find the pattern above in the input below? It's a vertical pattern that spans across several lines of text.
5' TCAGATGTGTATAAGAGACAGTGCGTATTCTCAGTCAGTTGAAGTGNTACAGAA
:: ::: :: : : : ||||| :
3' ATTCAGCCTGCACTCGTTACCGAGGCATGACAGAGAATATGTGTAGAGGCGAGCTAAGGTACTTGAAAGGGTGTATTAGAG
I tried multiple ways but I am not sure whether it is possible or not. This did not work:
if 'N\n|\nT' in input:
print('found')
Also, what if T could be any of the letters A, T, C, or G?