31 lines
10 KiB
Python
Executable File
31 lines
10 KiB
Python
Executable File
list_dnk_sekvenci = ["ATTGTGGCTCTTATGCTTAGCGGCAAAGTGTATATAATCTTAATGAGGCGGAATTCCTGTCTGTTCGACACACCATTTCACCGTGTGGGCTCTCTTACTTGGTTCAATTCGGTTGCCCCAGACGCGTCGTTTCGAAGGAGGCTCCCACAAAGACAGGGTTAGCCTCAGCAGTAAATACTACAACGAAATTGCGCGAAGTCGCGGCTGTTTGCCAAGAAGATACTTCAGGGTCTAAATGTTAAAGCCGTCACACGCGCTTGGTTATACGACATCGTGATAAACACGCGAAAGAAACGACGCGCATGCTAATTCTGAGACGCCGATTCTGTCTCTCAACACCCGCTGTCATTGTGAAGGGCCACTTCTGTGCCCATGGACACTCTCACTAAAGCGAGACCTAGAAATTAAAAGCGTTCCTCTATCGCACCTTATCAATCGAGCAGATACAGTACATGTCAAACCCCCTGTGTCTGTCTAGGTACAAGCGAAAGAGTGTGAAGGCTTCTCTATGGTCTGCGCCTAATCATTGTGCGAATCGACCTGATCACCGTACTGGTGGTAGTGAACTGATCGACTCACGCCGTCCTGCATGTGTGTACCGTGCTTCGCGCCACGGGAATTCTGCCCATGGAAAAAGCTGTTGGACCCGGGATGTGGACATGTCGGCTCGCGCCTAGGCCGCAGGAAATCTGGGGTTAACAAAGGTCTATTTGTGTCATAGAAGTCTGAGCGACATGGACTTAGACCCTTAAGTGCCTGGTTTGCGCCGAAGATATATGCCAGCGTGAATGCACCGGGCGGGCTACTGTTAGTTCCTGGACGGACATTTGTGGACCACAGGACCCGCCTAGTTTGGAGCGGAATATCGTCAGGCGGAGGATGAGATGGGCGAGGACCGCGACCGGTGCCGCACCCAAATTTTCACCCGTAGGGTAGCGCCTACGATGGCGGAGAGTCTACATAATCATTGGCCAATGCTGGGTGAAGTGACTGGGCATGG",
|
|
"TTTCGCTGGTAGCCCGGGTCTCCTCCATTTATTGTAATTCACCAACGACTGCAGTACCTTTAATTCGAACGTAGGTAGTTACCCCAACGATGTGCCTAGGATGTCATTTCCATACTATTCACCGGACCAGTCCCGATCATGTTGGGGCATAAGTCGCGTTACTGTTCCTACCTTACAGGCAGATCCCGAGGCCTCGTGCTTGCGCAGGGACTGTTCCTATTCAATTAGATATCCGGATAAGATTCACAGTTGAATCAATTGAACAACGTAAGCAAGATGGTGGGCGGCGTGCACAAGTAACCATGATCTGTGAGATAGTGGCCCCATTAGCTTTCCGAAACCCTCTCGAGTTTGTGGCATCGGGCTGCGGCTCATCATAATACGGCGAACCCCTGCTGAGGCCCTCCCTTTTAGGATGCGAGCGTCATTTTTTCTAGAAAATGCGGATGCACTACATGCAAGTAGCTAGGGCTCGTGTCAAAGGATAAGGCGCATAACTAGCTTGTGAGCCGACACCGCCCCTTCGTTGGAATGAGCGCTCTTTTGTGATGCTGCAGTTTTAGTTCACAAAGCCAAGTCAGTCCGTTCATGGGTCAAGCCATCGACTGTAATGTACCTCGCGAGTCTAGGATATCACCACTGGAGAAACTCCTACGGTAAGGCACGAATGTTCATTGGAAGGCGTCGGGGTAAAACCGCTAAACACTTTGCTGTTCTAAGCTAATAACCAATTCAAAAGCAAAACCTGCACACCAACTGTTAATGCCGCGCACCCACTCCCAGAATATTTGTAGGCCCATAAAGAAACGCGCCAGTTCTACAAGGGAAACGGGCGTCACTACCAGAGCCGGCATCTCCAAAAGCGCCAGTTACACATTAACCTACGGTACCGCAGACGCTTTCGTTGGTTACGGTTTAGGCGACTTGGCTAGCGCTGAATTATCGGGCCACGTTCTTTCCTGCGGTACGTCTTCCTTGCCTTTCCTGCCACTCTCATCGT",
|
|
"AGTTGCCTGATAAAAGTGGCCGACGAATGTTCGGGCTCTACACCTCCCTCCGTTAGGACTGGGTGGGTAACGAGCTTAGAAGACACGTGACGCGTTCATTAAAATAGGGGGCCCACCTGATTACGCCGCCTAGGCTAGGCTACCCAACTGGGACTTCCACCTTTAGCCACAGGCTCAGGTCGCTCCACAGGCGATAAAGCGCGAGAGGCATGCACGAATAAGCCGCTCCTTATCTGGACTCCGCACAGCTTAATCATAACTATCCTGTCTCTATGACGACCCCCCTTGCGCAATTAAGTGTTTAAATCATAGGCAGACGGCCACAAATTATCCCCCTCCGCTTCAGCTTGTTTTTAGGGAATCTGATCTGCAGCCTTTCTGCGGATGGTACGTTCCTCATAGTTCTACGGTCAGCAATGCTAAAACCATCAGAAATTCGAGACCGTCACGCATACATTAAATAACTAGCGTGAACTTTGATAAAGTGGTCCAGTCAATACACTTTCGGTTCAGGCTGAAACTAGCAGTTAAGCGCCATTTGCGAAAGATGTATGTAGCCTACCGGAGATCTTACATATGTTTCAGCGCCGTACCTATGGTGGTTTAATTCCAAATATGTCATCTCACAACCCGACCCACTACACGCTAAGCTGGTGACCTTTATGGCTAGACCCATCAAGAACTGAATGCCCCACTGGTGATCCTCTGCAGGTTACCATACAGGGTGAACGGCGGCCCCACCCCCTCGGTAATTCTTCCCAGCATTACCTCCGACGCCCCGATCGGCGACTATTTGACCACCCTGTACCCTAGTAAAGAACCCAGGTCCTGAACTGGCTAACACCTAACTTTACATTTATCATGTGGCCAGGTAGGTTGGTGGCACTCGGATGATCACCGTGGGGGTACCGCAAGGAAAAGAACATTTGCGTCGCCGAAGGTTTGCGAAGGAATCGAATATCAGTGCAAGGAGACGGTCGAGGCTAGAGCCGACCGACAT",
|
|
"AACACAGCAACCACACGCAGTCATTCGGAACGCCGACAAATATCAACTGTGCATCCCTCCAATCGAAGTAAGGGGGCTAACGATACCGGTCGCATGTCTCCTTAAAATGCCAGCAAGGGGGCCACTCCCGATTTAAGTCATCAAATATTGGCAATCGCCACTATGTAGACGCCTACACATCGGGCTCATGGATTGTTGGGGTATTCAAGAATCTTCCGGTCGCCGACACTAACAATCGGGTGCTGATTGTTACCTCTTAGTGGCAGTTGTCCGTGGCTTAAGATTAGGTGGCTTTCCTAATTCACCTCTAAAGAATTTCCTCTGCCCCGTGTCCTGCCAAAAATTTGTGTGTTCAAACCTCCGACACCGTGCTGCGCATTACAGCTATTGCCCGGACAGCACACCGGCGGCCGAGATGCGGAACTAGCCCGGAAGGATATTCCCTTTCAATGACCATGTGATCACCTTAGATCCCGTGATTACGCCAGTTAGACTTGTGTCCACCACAATTGGCTATTGAGGCGAAACCAAGTCGACTGCGAAGGGGTTGGGTGTACTCATTGGTCTCCGGTCCGCAGGGGTGGGGTACAATTACGGCTGCCCGCACCATGTGCTTAGAGAGAAGATCGCTTATTTATAGAGTTGGTCAACTTTAGCGCCTCTTGCTGGCATGAGCAACATTGCTGGGCACTTTTTGCCCGCCCACTTGGTACTTACAAGCTGTCGCAAGGCCTGCAATCCGACTCGAATGCTAGGCCAAACAATCGCTAGGAATGGTGTAGCGACGCAGCCGCTGTCCATCCAAAGAGAGGCAAATCACCGGCGCACGTATAATTAGGGCGAAGACTACCGGACCGAGCTTGCCATTAACGAGTTGCTTGCCGGTGTCCAGCGTCCGAATACCTGTCGCTATTAGCCACAACGTACAAAATGAATCTGAACTTCCACGTGATGGTTTCATGAGACCTAATACCCCGACCTAAAAATCCATTAGTTAGGA",
|
|
"CAGGGCCGTTACCTCTGGGGCTTAGTCATCGAATAGCCGTTAACCGAGTTGCTCGAGCCGGAACTCTGAGCCGTCATGGAGTTACACATCGCTTGGTCACAATCGAAAGATGATACTAATCCTGGCATCGGTTCGACTTTCCACTCTTATAAGGCTAATTAGGCTAGTACTAAGAGTGAAAATCCAGACCGAGTCTCCGAGGTTGACGTGCAGCCCAAATACGAAAAGAACCAAACGCAACGTAGATAGCAAGGAAGTGGCCGACCTCCAAGGGTGCGCTAACATGCCGATAAGACCACACAACCACCCTATGCAAGTTGTTGGAGTTAGCTGTAACAATGCTCAACAGCCCCGACTTCAGGCTTAAATGGGCAACACCGATTCACCAGACACATTGCAATAACAACATTTATCCATTCGCCCCAAGTTAAGATTCTTGAGTGCGAATAATGGCACCAGCCTCGAGTCCTTCCCGGGGCCGTGCACGTGTATGCCAGATTGACACCAATTTGCACGGAGACGATAAGCCGAGCACCCGAAGGATTTCACTAACATGGCTGTTTCCCGTCCCTTTAAACCAGGACAATCCGACTCCAAGCTAATAACGATAGAGTGGTTGGCCAGACTTCGTCCGAAGGTGCTGATTGACAGGCAATAGTATATTTCTCATCCCTTACTATACCTGCCCTACTGTCGCCGACCTATGACATGCTTGTGTATGCATGTTCGAGGCACTATAGACTGGCATGTCTGATCATAGAGCTTTACCTTAGTTTACCAATAGACTGACGTTGATTACACTGAGTCCACCATTAGGCAACAGGTAGCAACCAATCTCCGCAAAGGCTGATGAGAAGAAGTGACAAGGTGAAGGTACTGGGGATACCGAACCAAAGACATTGAACCGATGTCGGAATCATATATAGCCCGAGTATAGGTAGGTCTGGACATGGTCCACCGTTCTGGTGTTCAGTTCGGAGGCCGAGTGCCTCGCACTTAC",
|
|
"GCGTGTCGGGAATTTGAACTCCGTTCTACCGTGGCCAATGGGTTACTTAAGCTTAGCATAGATAAGCAAAGGTCGTTATACTAGGCGGACTTACTAGCACATGGCGGAAAACCGAGTCACGTCCGTGCCTCGAGCTAGCTTCCTGGGTGCAAGAATAACCCGCTCAAGTGATTTGTGCGGTTCTACGCGAGCACAAAGCGCAACGTATGTGAGCTGGCAATTATCTGAGTTAGTTCACGATTGCACGTGTATTCTCATCCATGAATCGTAAATTACACCACACGTAATATAAATGCAAACACGCCTGTATGTACTTGCATGTCTGATAGGCGACTATTTTGGGAGAAGACCATTATACAGACGGAACTTTGGACTTATTAAGCTGGAGTAGACTGGGTATCGTCATCTCAAATGAAACTTCGTTGTTAACGGTTTCCAACATCTTTATGCATAGGGCCTACTGCTGTGGCCTTTTGAACTCGCTAGGCCTGCTGTGAGCAGGTTTCTTGTGCTCTCGTTGTCTCCACACCGTTAATTCATTTGTTATTCACCGGTGGCCTGCGGTTGATATAGAAATTAGCCTTATAAGAGAAAGCATGCTGGATCTATTTTACTTCCGCGCACCATGCGAAGCTGGACTGTGTCCAATGACACGGCGCTGCTATCAGCTTGCAGCTAAAGGCCAGTCTGGTTCTGAATTTAAGGCGCGGCTAGCGGATGCCCGAGACCGAGGTCATGGGCCCGCGCAGTTCTGACCCTTCGTTCGAATCGGCAGCTGAAGGAAGGTCGATCTCACCTATGCTACGTCTGTCACGTGACCCGTGTTGCTGCTGATTGAATTCACAATAGCCACACCCAAACTCACGTGACAGACCCAATGGCAGTAAGCGTCTCAAGATACGCAAGTACCTTGTGCTGCGCTAATACGCACCGCACTAATAAGAGTTGTGATCTCCACCTGCTTCCGACCACGACAAAAAGTTCCGGGAGTACGAAGGTT",
|
|
"TACGCGATATTCATGACAGGCTACAAGGTAGTTAAACGTCCATCCGGACTGTAATTAGATTGTGGACCCAGGTCACCCCGCGCTAGCACTAGTACGTCGGCAGTGACGTGAATACGCTGTATCCCGGATTGGTGTGAGAAGCTGTCGATCTCTATCCACCATCGCGCTGCGAATCAGATTGGAATTGGCCGGTGCCAGGGAGAACAGGCGGGATAGCTAAATACGTATTGTGAGGGGCTACGAGGTGCTAAATTCAAGGGTCACTGAAGTAGCGCAAAAGCCTTAAGCTAAGTGAAGAGATGTGGGCCCAGAGCGATGCCGGCACACGGTCTGACCCCTGCGGCTTAACCGGTTGGAGTTCAATCCTACGTAAGCACTCCCGTTTATTCGGAAATGGGACCGTGCGCTAACCCACTTCGGGACCTCTAAGGTAGTGCTCTATTCTTTAACTAGGCGATTCGCGGTCGATCCGACCACTGTCGACCGCCGGCGTGCCTCTTATCAGGGCGAGCCAACGAGGTGTATCATTTCGGCAATTGTGTCGCTTGGTGAGCTATTGACGAGTCAAGAGGGACCCTTACTGCGACAGTCAAAATCTCTTCCGATGGAAGCTACGGTTGACATCTATTGCATAATTTAAGAGACAAGAAGCCTTGGGCGATCAGTGTCCACTTCAGAAATGCCAAAAATTAACCTACAGTCCTTCCCAATACGCGACGCCGCAGTAAGGACCGTAGTGGAGCCCATGCTTGATTTTCTCTTCAGGCACCAGCAGTGATTGGTCATTTGGGTGGAGGTGAACACCACTTGGTTTCTGCTAATTGCGAGCGGCATGAAGTAGCCTGAGGTTAGTGCCGGGAACATCCATATGATCAGCTAGGAAGCTGACACTTACGTGTGGAGGTTTAAGGACGGAGGTAGAGTGCTCGGGCGCTGAACACCTGTGTGAGCTGAACCGCCCGGGCACCGGTTTCACCCGCCGCGACCACTTCCATACAGT",
|
|
"TAAAGTCTGTATGGTAAGGCCGACTGTAGCTGTATCAGCGCTCCATAAGGCATACCACTAAGCGCTAATTACCGTGAATAATAAGCGTGCGAGAAGATATAACCTTTTAGGACAAATGATCTGACCCCACAGCCGGCACATCAAGAGGCCTAATCGGCTACGCGTCCCACACGTCTTACTCGCCTACGTTAGAAGTCATTGGTCTTCATGCTAACCGAAGTTATCGCCGTAAAGGGTTGGGGAAGGCTGGAATTACCTGGTGGGAAAGCAACTGGCATTCTACGTTTTTACGATAATTGCAGTGGGGCTTGTAAAACTGCTTAACGGTGTCAGGTAGAAGACGTCCAAAGATTGGACCGTTTGACTGGGGATTAGAACAGTATAAGTAATTGGCGTCTTGGCACTTGATTCAAGCTGCACTTTTGTAGAAGGACTAGCTTGCCTAGCGAGGCGACGATAGTCAAATCTCAATTATATGCCACGGATCACGATCTTGTCCGCAAGTAGCTGAGATTACCGAATGAGCGCAGAGCCGACCTTGAGTGGACGCTCCTTAACTCCCCGAGCCTCACCCTATGGCTAGGTCAATCTACTGTGAGAGACCCGGACTAAACATCCTCCGTAAGCGGAAGACTGTACTCGCCTATTTGGGTGCAGTAGAGAGATCTGGGACTTTGCAGGTCGGCGCATAGTTAGGAACCACTAAACGGTCACACTAGATTCCTCGGTCGCTGGCTGCCCTGCCTACCAGCCGAAGATCACGCTGCTTTCCATTCTCATAGGACCTGCCTAAAGTCTTCTCGCTTAACCAGTGATAGTAGCATTGACGAGAACCCTTTCTAGTTGCCCGGCGCTTCCCATGGTGGCCAGCGGCGAGGTATGTGTTACGAGGGCGTAATAAGTTCCCCCGTCACAGTGCATATATATGAACGCTTAAATAGTGATACCTTTCTAACCTAGGAACGCATTACTTTGCCAGCCGAAAATAAGCACGCTTGCC",
|
|
"ATATGACTGTCCCAAAACTGACCTGGGAAACGCAGGGTATAATCCCGCACCACGAATAATACGTGCAGGAGCAGGTGTCCGCGACTCCTGTTGCTTACATTTAGTTCCTGCTCTAACGCGCGAGTAGCTTGCACTCGCCTCAGGCACGCCGACGGGGTGCTATCAATTCATAATTATGCGCGTGTACTCCTAGCGCTGAGACTTTGGTGCCCGCTCCGGACTCTAGTCCGCGTGGTGTTTGATCCTGTCAGCACCCCCTTGCAAAAATGATTGGCTACCCAGCAAAACGGGGGCGTAGAGCAACGACAGACCTCTGGAGACCTCAGTCGACTGACCGTTACAAGCGAACATCGGTGTTGTAGGTTGTATTTGTATCGTGGTATCCATGGGGCTAGAGCAGCAACGCCGTGGTCGGCTCTTCAGGGCATAGTAGATAAAGCCGGTCTTGCCGCAGTCGGATGGTTTAAGCATTTTATGGAAGCGGAGCTATTCCTCCGTAAATAACACGGTGTCGTCATCCGTTAGGCAATGCAGTCAAAGAGCTGCCCTGAAAGGCAATGTTCCCCAAGCGGGTGTGGCCTTACCTGGCAAGCTCGGGGCCGTCCGCACTTGGTATTACCAGTAGACTCTGGCATGGCATGATAGGCGTTATCTGTGCGGTCCGCTTACCTTTGTGGAGTGAATTCACAGTCATTTGTATTCGCCAAACACGGGTGTCTCACAGATGTACCCCGGTGGTCTTAACTTTTTCCATCGTTTAAGCGATGTGATATCACTATAATAACCGGATATTTCCAACGATGCCTCCCTGGCTTAGTCGTGTACGCCAGACAGGCAGACCAGAGCCGGTCCCTTCCACTATCGACAGCCTGGCAGGAAGAACTAAATCAATCGCCCCGACGCTCATCCTAGCTACGTTTTTATAGCAAATGGCTCAATTTTCATAACCTATAAGACCAACCTGCAATGTTGGCTCCCCTTGAACGTACGGTGGAGACCG",
|
|
"GCGAATCCTAACACATTTGTAGGCGCTCGTGTTTCAGCCAGAACAATCGTTATAGTATGCTCTGGCCTCAACTGGCATTGTGAAATTGACGGAGGTTGTCTGGTTGCATCGGTTTCTCCAGGTGCTGCACGACTTGAGTCCGTTTGAACGGGAACCATAACCCCGACCCGGCTGGAGTTAGTAATAGGTACGCGCATAAGGTGTCGACACCTTATTTTGCGTCACACCTTGAGGACCCGATCGCAGGAGTTGCAACCGCGGCTTGCGTCAATACTTTGTATGTTGGTTTTATAGTCTAAGCTCCCGTGATGCCATGTTTCGGACGAACAATGCCATCGCATGGTGACATCATGTCATAAGAGAGCCCTTACAATCTAGATTCAAGGCTATTCAGAGCGCGTCACCCGCAAACTAGGTTAGAGAGGTGACAACTAGGGATCCTATAGATTTCAAAACGGACTTATTGGACGAGTGTAAACGAGAATTCACTCCTTCCTCCTTCACCCCAGTCAGAACTTTAGCTTTCGCATACCAAATTCCTACCTCACACCACTTCATGGACCTCCTTAATGCTGGACCCACTATTTCTGCGTAAGCAGCTCATGCCTACGATAGTGGATGTCGGTACCCGGCTGCTACGGGATACTAACAAGGAGCGTGACATTTGCGTAGTCGTCATGCGTAACGTAGAATTCTAAGACGATATAGATTGCATATGGTTTAATTAGCAGACATCTCGGAATAGTGGTGTGGGAATGGAAGAGAGTTCAGGTTAAATCCCATGGTCTGTCACTGATTCGCTCTATACTTAAAATTTAGGGCGGGGTTCAGAGTTCTTGTACCAAACGGTTCAGCTAGCATCAATCGCTGAAACACGTGAAATACTCCTCGTACCCTAGTTAGCGCCAAGCATGACGGCTACATCCATCTGGGATCCTAACGTCTCCCTCACAAGAAGTCCCGTCGCCGCCAGTGTTCCCCGACAGGTGACAGTCAATCG" ]
|
|
|
|
nalazi_se_u = []
|
|
ne_nalazi_se_u = []
|
|
|
|
|
|
for index in range(10):
|
|
if "ATTTCGGC" in list_dnk_sekvenci[index]:
|
|
nalazi_se_u.append(str(index+1))
|
|
else:
|
|
ne_nalazi_se_u.append(str(index+1))
|
|
|
|
print("Lista sekvenci u kojima se ne nalazi gen 'ATTTCGGC': ")
|
|
print(ne_nalazi_se_u)
|
|
|
|
print("Lista sekvenci u kojima se nalazi gen 'ATTTCGGC': ")
|
|
print(nalazi_se_u)
|
|
|
|
input()
|
|
|
|
|