Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

JAVA Use this test file to test the program! Assignment Txt file to test the program dna.txt to test your program: Rodentia ATGTTCATTAACCGATGACTGTTTTCCACCAACCACAAAGATATTGGCACTCTTTATCTTCTGTTTGGCGCATGAGCTGGTATAACGGGCACTGCTCTTAGCCTTCTAATCCGTGCTGAATTAGGTCAGCCTGGAGCTCTGTTAGGAGATGACCAAATTTACAATGTAGTTGTAACTGCCCACGCATTCGTAATAATCTTCTTTATAGTTATGCCTATTATGATCGGAGGCTTTGGAAATTGACTAGTACCTTTGATAATTGGTGCGCCTGATATAGCATTTCCCCGAATAAACAATATGAGTTTCTGATTACTACCTCCATCCTTTCTTCTCCTTCTGGCTTCTTCCATAGTAGAAGCAGGCGCAGGGACTGGATGAACTGTATACCCTCCTCTAGCAGGTAACTTAGCCCATGCAGGAGCATCAGTAGACTTAACAATCTTTTCTCTACATCTGGCAGGGGTTTCTTCTATTTTAGGGGCTATTAACTTTATTACCACTATCATCAACATGAAACCCCCTGCAATATCTCAATATCAAACTCCCCTATTCGTGTGATCAGTACTTATCACAGCAGTACTTCTCCTTCTATCTTTACCAGTCTTAGCAGCTGGAATTACTATACTACTTACAGATCGAAATCTCAATACTACTTTCTTCGACCCGGCCGGAGGAGGGGATCCCATTCTATATCAACATCTATTTTGATTCTTTGGCCATCCTGAAGTCTATATTCTAATCCTCCCTGGGTTTGGAATAATTTCACACATTGTCACATACTATTCAGGAAAGAAAGAGCCCTTTGGTTATATGGGAATAGTGTGGGCAATAATGTCAATTGGGTTCTTAGGATTTATTGTATGGGCCCATCATATATTTACTGTAGGCATAGATGTTGATACACGAGCCTATTTTACCTCGGCCACTATAATTATTGCAATCCCGACAGGAGTCAAAGTATTCAGCTGACTAGCTACCCTGCATGGAGGAAATATTAAGTGATCCCCTGCCATAATGTGAGCCCTAGGTTTCATTTTTCTATTTACAGTAGGGGGTCTTACAGGCATTGTTCTAGCTAACTCATCTCTGGACATTGTCCTCCATGACACATACTACGTAGTAGCACACTTCCACTATGTACTATCAATAGGGGCCGTGTTCGCTATTATAGGAGGCTTCGTCCATTGATTCCCATTATTTTCGGGCTATACACTTAATAATACATGAGCAAAAATTCACTTCGTAATTATATTTGTTGGAGTCAATATAACATTCTTCCCCCAGCACTTCCTAGGTCTATCAGGTATGCCTCGACGATATTCTGATTATCCAGACGCCTATACAGCATGAAACACAGTGTCTTCAATGGGTTCATTCATTTCACTAACAGCAGTTATGTTAATAATTTTCATAATTTGAGAAGCCTTCGCATCTAAACGAGAAGTGGCAGTGATTGAGCTTACTACAACTAATATTGAGTGGCTCCACGGATGTCCTCCCCCATACCATACATTCGAAGAGCCCGCCTACGTCATACTGAAATAA Canis lupus

JAVA

Use this test file to test the program!

Assignment

image text in transcribed

Txt file to test the program

dna.txt to test your program:

Rodentia ATGTTCATTAACCGATGACTGTTTTCCACCAACCACAAAGATATTGGCACTCTTTATCTTCTGTTTGGCGCATGAGCTGGTATAACGGGCACTGCTCTTAGCCTTCTAATCCGTGCTGAATTAGGTCAGCCTGGAGCTCTGTTAGGAGATGACCAAATTTACAATGTAGTTGTAACTGCCCACGCATTCGTAATAATCTTCTTTATAGTTATGCCTATTATGATCGGAGGCTTTGGAAATTGACTAGTACCTTTGATAATTGGTGCGCCTGATATAGCATTTCCCCGAATAAACAATATGAGTTTCTGATTACTACCTCCATCCTTTCTTCTCCTTCTGGCTTCTTCCATAGTAGAAGCAGGCGCAGGGACTGGATGAACTGTATACCCTCCTCTAGCAGGTAACTTAGCCCATGCAGGAGCATCAGTAGACTTAACAATCTTTTCTCTACATCTGGCAGGGGTTTCTTCTATTTTAGGGGCTATTAACTTTATTACCACTATCATCAACATGAAACCCCCTGCAATATCTCAATATCAAACTCCCCTATTCGTGTGATCAGTACTTATCACAGCAGTACTTCTCCTTCTATCTTTACCAGTCTTAGCAGCTGGAATTACTATACTACTTACAGATCGAAATCTCAATACTACTTTCTTCGACCCGGCCGGAGGAGGGGATCCCATTCTATATCAACATCTATTTTGATTCTTTGGCCATCCTGAAGTCTATATTCTAATCCTCCCTGGGTTTGGAATAATTTCACACATTGTCACATACTATTCAGGAAAGAAAGAGCCCTTTGGTTATATGGGAATAGTGTGGGCAATAATGTCAATTGGGTTCTTAGGATTTATTGTATGGGCCCATCATATATTTACTGTAGGCATAGATGTTGATACACGAGCCTATTTTACCTCGGCCACTATAATTATTGCAATCCCGACAGGAGTCAAAGTATTCAGCTGACTAGCTACCCTGCATGGAGGAAATATTAAGTGATCCCCTGCCATAATGTGAGCCCTAGGTTTCATTTTTCTATTTACAGTAGGGGGTCTTACAGGCATTGTTCTAGCTAACTCATCTCTGGACATTGTCCTCCATGACACATACTACGTAGTAGCACACTTCCACTATGTACTATCAATAGGGGCCGTGTTCGCTATTATAGGAGGCTTCGTCCATTGATTCCCATTATTTTCGGGCTATACACTTAATAATACATGAGCAAAAATTCACTTCGTAATTATATTTGTTGGAGTCAATATAACATTCTTCCCCCAGCACTTCCTAGGTCTATCAGGTATGCCTCGACGATATTCTGATTATCCAGACGCCTATACAGCATGAAACACAGTGTCTTCAATGGGTTCATTCATTTCACTAACAGCAGTTATGTTAATAATTTTCATAATTTGAGAAGCCTTCGCATCTAAACGAGAAGTGGCAGTGATTGAGCTTACTACAACTAATATTGAGTGGCTCCACGGATGTCCTCCCCCATACCATACATTCGAAGAGCCCGCCTACGTCATACTGAAATAA Canis lupus ATGTTCATTAACCGATGACTGTTCTCCACTAATCACAAGGATATTGGTACTTTATACTTACTATTTGGAGCATGAGCCGGTATAGTAGGCACTGCTTTGAGCCTCCTCATCCGAGCCGAACTAGGTCAGCCCGGTACTTTACTAGGTGACGATCAAATTTATAATGTCATCGTAACCGCCCATGCTTTCGTAATAATCTTCTTCATAGTCATGCCCATCATAATTGGGGGCTTTGGAAACTGACTAGTGCCGTTAATAATTGGTGCTCCGGACATGGCATTCCCCCGAATAAATAACATGAGCTTCTGACTCCTTCCTCCATCCTTTCTTCTACTATTAGCATCTTCTATGGTAGAAGCAGGTGCAGGAACGGGATGAACCGTATACCCCCCACTGGCTGGCAATCTGGCCCATGCAGGAGCATCCGTTGACCTTACAATTTTCTCCTTACACTTAGCCGGAGTCTCTTCTATTTTAGGGGCAATTAATTTCATCACTACTATTATCAACATAAAACCCCCTGCAATATCCCAGTATCAAACTCCCCTGTTTGTATGATCAGTACTAATTACAGCAGTTCTACTCTTACTATCCCTGCCTGTACTGGCTGCTGGAATTACAATACTTTTAACAGACCGGAATCTTAATACAACATTTTTTGATCCCGCTGGAGGAGGAGACCCTATCCTATATCAACACCTATTCTGATTCTTCGGACATCCTGAAGTTTACATTCTTATCCTGCCCGGATTCGGAATAATTTCTCACATTGTCACTTACTACTCAGGGAAAAAAGAGCCTTTCGGTTATATAGGAATAGTATGAGCAATAATATCTATTGGGTTTTTAGGCTTTATCGTATGAGCTCACCATATGTTTACCGTAGGAATAGATGTAGACACACGAGCGTACTTTACGTCCGCCACTATAATTATCGCTATTCCAACGGGAGTAAAAGTATTTAGTTGACTGGCAACACTTCATGGAGGCAATATTAAATGATCTCCAGCTATGCTATGAGCTTTAGGGTTTATTTTCTTATTTACAGTAGGCGGGTTAACAGGTATTGTCCTAGCTAATTCGTCCTTAGACATCGTTCTTCATGATACATATTATGTTGTGGCTCATTTTCACTATGTGCTTTCAATAGGAGCAGTTTTTGCCATTATGGGAGGATTTGCCCACTGATTCCCTTTATTCTCAGGTTATACTCTTAACGATACTTGAGCAAAGATTCACTTTACAATTATGTTTGTGGGAGTAAATATAACTTTCTTCCCTCAACATTTCCTAGGTTTATCTGGAATACCTCGTCGATACTCTGACTACCCAGATGCATATACTACCTGAAATACCGTCTCCTCTATAGGATCGTTTATCTCGCTTACAGCGGTGATGCTTATAATTTTTATGATCTGGGAAGCCTTTGCATCCAAACGAGAAGTTGCTATAGTAGAACTTACTACAACTAACATTGAGTGACTACATGGATGTCCCCCTCCATACCACACGTTCGAAGAACCTACATATGTGATCCAAAAATAA Felis silvestris ATGTTCATAAACCGTTGACTATTTTCAACTAATCACAAAGATATTGGTACTCTTTACCTTTTATTCGGTGCCTGAGCTGGCATGGTGGGGACTGCTCTTAGTCTTCTAATCCGGGCCGAACTGGGCCAACCTGGTACACTACTAGGAGATGATCAGATTTACAATGTAATCGTCACTGCCCATGCTTTTGTAATGATCTTTTTTATGGTGATGCCTATTATAATTGGAGGGTTCGGAAACTGATTGGTCCCATTAATAATTGGAGCTCCTGACATAGCATTTCCCCGAATAAACAACATGAGCTTCTGACTCCTCCCTCCATCCTTTCTACTCTTACTCGCCTCATCTATGGTAGAAGCCGGAGCGGGAACTGGCTGAACAGTATACCCACCCCTAGCCGGCAACCTGGCTCATGCAGGAGCATCCGTAGACCTAACTATTTTTTCACTACACCTGGCAGGTGTCTCCTCAATCTTGGGTGCTATTAATTTCATTACTACTATTATTAATATAAAACCTCCTGCCATGTCCCAATATCAAACACCTCTATTTGTCTGATCAGTCTTAATCACTGCTGTCTTACTACTTCTATCACTTCCAGTCTTAGCAGCGGGAATCACTATATTATTAACAGATCGAAACCTAAACACCACATTCTTTGACCCCGCTGGGGGAGGAGATCCTATCTTATACCAACACTTATTCTGATTCTTTGGCCATCCAGAAGTTTACATTTTAATCCTACCCGGTTTTGGGATAATCTCACATATTGTTACCTACTATTCAGGTAAAAAAGAACCCTTTGGCTACATGGGAATAGTTTGAGCCATGATATCAATCGGCTTCCTGGGCTTTATCGTATGAGCCCATCACATGTTTACTGTAGGAATGGATGTAGACACACGAGCATACTTTACATCAGCCACTATAATTATTGCCATTCCTACCGGGGTGAAAGTATTTAGTTGACTGGCTACTCTTCATGGAGGTAATATTAAATGGTCCCCTGCTATATTATGAGCCTTAGGCTTTATTTTCCTATTTACCGTAGGAGGCCTAACGGGAATTGTACTAGCAAACTCTTCACTAGACATTGTTCTTCACGACACATATTACGTAGTGGCCCACTTTCACTATGTCTTGTCAATAGGAGCAGTATTCGCTATCATAGGAGGCTTCGTCCATTGATTCCCCCTATTCTCAGGATATACCCTTGACAACACTTGAGCAAAGATTCACTTTACGATTATGTTTGTAGGAGTCAATATAACGTTCTTCCCTCAGCACTTCCTAGGCCTGTCCGGAATGCCACGACGTTATTCTGACTATCCAGATGCATATACAACTTGAAATACGATTTCCTCAATGGGCTCTTTCATCTCATTAACAGCAGTCATGTTAATAGTTTTCATAGTGTGAGAAGCTTTCGCATCCAAGCGAGAAGTGGCCATAGTAGAACTAACCACAACTAATCTTGAATGATTGCATGGATGTCCTCCTCCGTACCACACATTTGAAGAGCCAACTTACGTACTATTAAAATAA Genetta servalina ATGTTCATAAATCGTTGACTATTTTCCACTAATCATAAAGATATCGGAACTCTTTACCTCCTATTCGGTGCCTGAGCTGGCATAGTAGGAACTGCTCTTAGCCTTTTAATTCGGGCAGAGCTTGGCCAACCTGGAACCCTATTAGGAGATGATCAGATTTATAATGTAATTGTAACCGCCCACGCATTTGTAATGATTTTCTTTATGGTAATGCCTATTATAATTGGAGGATTTGGAAATTGACTGGTGCCACTAATAATTGGAGCGCCAGATATGGCATTTCCTCGAATAAACAACATGAGCTTTTGACTTCTGCCGCCGTCCTTTCTACTTCTGCTTGCCTCTTCAATAGTAGAAGCTGGCGCAGGGACTGGATGAACCGTATATCCACCCTTAGCTGGCAACCTAGCCCACGCAGGAGCATCTGTGGATCTAACTATCTTCTCCCTTCATCTTGCAGGCGTTTCTTCAATTTTAGGAGCCATTAACTTTATTACTACAATTATCAACATAAAACCACCTGCCATATCTCAATACCAAACACCCTTATTTGTTTGATCTGTCTTAATTACTGCCGTCTTATTACTCCTATCCCTACCTGTTCTAGCAGCTGGTATTACTATATTATTAACAGATCGAAATCTAAATACTACCTTTTTTGATCCTGCTGGGGGAGGAGATCCTATTCTATACCAACATTTATTCTGATTCTTTGGACACCCAGAAGTATATATCTTGATTTTACCAGGATTTGGGATAATCTCGCACATCGTCACTTATTATTCGGGCAAAAAGGAGCCTTTTGGTTATATAGGTATGGTTTGAGCAATAATATCCATTGGCTTTCTAGGCTTCATTGTATGAGCCCACCACATATTCACCGTAGGAATAGACGTTGATACACGAGCTTACTTTACATCAGCTACTATAATCATTGCTATCCCAACCGGAGTAAAAGTATTCAGCTGACTTGCCACTCTTCACGGAGGGAATATTAAATGATCTCCTGCTATACTATGAGCCCTAGGCTTTATTTTCCTGTTTACTGTAGGTGGCTTAACAGGCATTGTATTAGCTAATTCCTCACTAGACATTGTCCTTCACGACACATATTATGTAGTAGCTCATTTCCACTATGTACTGTCAATAGGAGCAGTTTTTGCTATTATAGGAGGCTTTGTTCATTGATTTCCTCTTTTCTCAGGATATACTCTTGACAATACTTGAGCAAAAATTCACTTCACAATTATATTTGTAGGTGTAAACATAACATTCTTTCCTCAACACTTCCTTGGATTATCTGGCATGCCTCGACGTTACTCCGACTACCCAGATGCATATACAACTTGAAATACAATCTCCTCAATAGGCTCTTTCATTTCACTAACAGCAGTTATATTAATAATTTTCATAATTTGAGAAGCCTTCGCATCTAAACGAGAAGTGGCAATAGTAGAACTAACTACAACTAATCTCGAATGATTACATGGGTGTCCTCCTCCATATCATACATTTGAAGAGCCAGCCTACGTGTCTCTAAAATAA Gulo gulo ATGTTCATAAATCGATGATTATTCTCCACTAATCATAAAGACATCGGCACCCTCTATCTTTTATTCGGCGCATGAGCCGGAATAGTAGGTACAGCCCTGAGCCTATTAATTCGCGCTGAATTGGGACAACCTGGTGCTCTGCTGGGAGATGACCAGATTTACAATGTAATTGTGACTGCCCATGCCTTCGTAATAATTTTCTTTATAGTGATACCCATCATGATTGGAGGTTTTGGGAACTGGTTAGTGCCCTTAATAATTGGTGCACCTGACATGGCATTCCCACGTATAAACAATATAAGCTTCTGGCTTCTACCCCCCTCCTTCCTCTTACTCTTAGCCTCCTCCATAGTAGAAGCAGGCGCGGGAACAGGATGAACTGTGTACCCTCCTCTAGCAGGAAATCTGGCACACGCAGGAGCATCTGTGGACCTAACAATCTTTTCCTTGCACCTGGCAGGTGTCTCATCCATCCTGGGGGCCATCAACTTTATTACAACTATTATTAACATGAAACCTCCTGCAATGTCACAATATCAAACCCCCCTATTTGTATGATCCGTATTAATTACGGCCGTACTCCTACTCCTATCCCTACCAGTGCTAGCAGCCGGCATTACCATATTACTCACGGATCGAAATCTAAACACTACTTTCTTCGACCCTGCCGGAGGAGGAGATCCTATCTTGTACCAACATCTATTCTGATTTTTTGGGCATCCTGAAGTATATATTCTAATTTTACCAGGATTCGGAATTATTTCACACGTCGTAACATATTACTCAGGGAAAAAAGAACCATTTGGCTACATGGGTATAGTTTGGGCAATAATATCTATCGGATTTTTAGGGTTCATTGTATGAGCCCATCATATGTTTACCGTAGGGATGGACGTTGACACACGAGCATATTTCACTTCAGCCACTATAATTATCGCAATCCCGACGGGAGTGAAAGTATTCAGCTGACTAGCCACCCTACATGGAGGAAACATCAAATGATCACCAGCCATATTATGAGCCTTGGGCTTTATCTTTCTTTTCACAGTGGGTGGTTTAACAGGCATTGTGCTGTCAAATTCATCACTAGACATCGTTCTTCACGACACATACTATGTAGTAGCACATTTCCATTACGTTCTCTCAATGGGAGCAGTTTTTGCAATCATAGGCGGGTTTGTCCACTGATTCCCCCTATTTACAGGCTACATACTAAACGATACTTGAGCAAAAATTCATTTCACAATTATATTCGTGGGAGTAAACATGACATTCTTTCCCCAACATTTTTTGGGCCTATCAGGTATACCCCGACGATACTCTGACTACCCAGATGCCTACACGACATGAAATACGGTATCTTCCATAGGCTCCTTCATTTCACTAACAGCGGTAATACTAATAATCTTCATAATTTGAGAAGCTTTCGCATCCAAACGAGAAGTACTGACAGTGGAGCTTACTTCTACAAACATTGAATGATTACACGGATGTCCTCCCCCATATCACACATTCGAAGAACCAGCCTACGTGCTATCAAAATAA Halichoerus grypus ATGTTCATAGATCGATGGTTATTTTCCACAAATCATAAGGATATCGGCACTCTTTATTTGCTGTTTGGCGCATGAGCTGGAATAGCAGGCACCGCCCTTAGTCTCTTAATCCGCGCAGAACTAGGACAACCTGGCGCCCTACTAGGAGATGACCAAATTTACAACGTAATTGTCACCGCCCATGCATTTGTAATAATTTTCTTCATAGTAATGCCTATCATAATTGGCGGCTTTGGGAACTGACTAGTGCCCTTAATAATTGGAGCTCCTGATATAGCATTCCCCCGAATAAATAATATAAGTTTCTGACTTTTACCGCCATCCTTTCTACTACTACTGGCCTCCTCTATAGTAGAAGCAGGTGCCGGGACCGGGTGAACCGTTTATCCTCCCCTAGCTGGGAACCTGGCTCATGCAGGGGCATCTGTAGATCTAACGATTTTCTCCCTCCACTTAGCGGGTGTATCATCTATTCTTGGGGCTATCAACTTCATCACTACTATCATTAATATAAAACCCCCTGCAATGTCTCAATACCAAACTCCACTGTTCGTGTGATCCGTATTAATCACGGCAGTACTCCTGCTATTGTCACTACCAGTCCTAGCAGCTGGCATCACCATGCTACTCACAGACCGAAACCTGAATACAACATTCTTCGACCCTGCCGGAGGAGGTGATCCTATCCTGTATCAACATCTATTCTGATTCTTCGGACATCCCGAAGTGTATATTCTAATCCTACCAGGATTCGGAATAATCTCACACATTGTTACCTACTATTCAGGGAAAAAAGAACCTTTTGGCTATATAGGAATAGTTTGAGCAATAATGTCCATCGGCTTCCTGGGCTTCATTGTATGAGCCCACCATATATTCACTGTAGGGATGGACGTCGACACACGAGCATACTTCACTTCAGCCACTATAATTATTGCAATTCCGACAGGAGTTAAAGTATTCAGCTGACTAGCTACCCTTCATGGGGGCAATATCAAGTGATCTCCAGCCATATTATGAGCCCTGGGCTTTATCTTCCTATTTACAGTGGGAGGCCTTACAGGCATCGTACTAGCCAACTCATCACTAGACATTGTCCTGCATGACACATATTATGTAGTAGCACATTTCCATTATGTCTTATCAATAGGAGCAGTATTCGCTATTATGGGTGGATTCGTCCATTGATTCCCCCTATTCTCAGGCTATACACTCGACAACACTTGAGCAAAAATTCACTTCACAATCATGTTCGTAGGAGTCAACATAACATTCTTTCCCCAACACTTCCTAGGTCTATCAGGAATACCTCGGCGATACTCCGACTACCCAGACGCCTACACTACATGAAATACAGTCTCCTCCATGGGCTCATTCATTTCACTCACAGCAGTGATATTAATGGTATTCATAATCTGAGAAGCTTTCGCATCTAAGCGAGAAGTAGCAGCAGTTGAATTAACTACAACTAATATCGAATGACTGCATGGATGTCCCCCTCCTTACCACACATTTGAAGAGCCCACCTACGTCGTACTAAAATAA Hyaena hyaena ATGTTCATAACTCGCTGATTATTTTCTACTAACCACAAAGACATTGGCACCCTTTACCTTCTATTTGGTGCTTGAGCAGGTATGGTAGGGACTGCCCTCAGTCTCCTAATTCGAGCTGAACTTGGTCAACCTGGCTCTTTATTAGGAGATGATCAGATTTATAATGTAGTTGTTACCGCCCACGCATTTGTAATAATCTTTTTCATGGTCATGCCAATCATGATCGGGGGTTTCGGTAATTGATTAGTGCCTCTGATAATCGGCGCACCAGATATGGCATTCCCCCGGATAAACAATATGAGCTTTTGACTGCTACCCCCATCCTTCCTACTCCTACTTGCATCTTCAATGGTAGAAGCTGGCGCAGGTACTGGGTGAACCGTGTATCCCCCTCTAGCTGGCAATCTGGCCCATGCAGGAGCATCTGTAGACCTAACCATCTTTTCCCTCCACTTAGCAGGTGTCTCCTCAATCCTAGGTGCCATTAACTTTATCACAACCATCATTAATATAAAACCCCCAGCCCTATCACAATACCAGACACCTTTATTTGTATGATCTGTCCTAATCACTGCCGTACTACTACTTCTATCACTGCCAGTCCTAGCAGCTGGAATTACCATACTCCTAACAGATCGAAATCTTAATACAACCTTTTTCGACCCTGCCGGAGGGGGTGATCCTATTTTGTACCAACACTTATTCTGATTCTTTGGTCACCCGGAAGTATATATTCTAATTCTACCGGGATTTGGAATAATTTCACACATTGTTACATACTATTCAGGTAAAAAAGAACCTTTCGGTTATATAGGTATAGTTTGGGCCATAATGTCCATTGGTTTCCTGGGCTTTATTGTATGAGCACACCATATGTTTACAGTAGGCATGGACGTAGACACACGAGCATACTTTACATCAGCTACTATAATCATTGCCATCCCAACCGGAGTAAAGGTATTCAGCTGACTTGCAACCCTTCACGGAGGAAACATTAAATGATCCCCCGCTATGCTATGGGCCCTGGGCTTTATTTTCCTGTTTACCGTGGGTGGCCTAACGGGAATTGTATTGGCCAACTCCTCACTAGATATTGTCCTTCACGACACGTACTACGTAGTGGCCCATTTCCACTACGTACTATCCATGGGTGCAGTTTTCGCCATCATAGGAGGCTTCGTTCACTGATTCCCACTATTCTCAGGATATACTCTAGATGACACCTGAGCAAAAATCCACTTTACAATTATATTCGTGGGTGTTAACATAACATTCTTCCCTCAGCATTTTCTAGGTCTGTCCGGAATACCTCGACGTTATTCCGACTACCCAGACGCATATACAACCTGAAACACAATTTCCTCAATGGGCTCTTTCATTTCACTGACAGCTGTAATATTGATAATTTTCATAATTTGAGAAGCCTTTGCATCCAAACGAGAAGTGGCAATAGTAGAACAAACCACAACCAATCTTGAGTGGTTGCACGGATGTCCTCCCCCTTATCATACATTTGAAGAACCGACTTACGTTTCTCTAAAATAA Lutra lutra ATGTTCATAGACCGATGATTATTCTCCACGAACCATAAAGATATTGGCACCCTTTACCTTCTATTCGGTGCATGAGCCGGAATGGTAGGCACCGCCCTCAGCCTACTAATCCGTGCAGAATTAGGCCAACCCGGCGCCCTGCTAGGAGATGACCAAATTTACAATGTTATTGTCACCGCCCATGCATTTGTAATAATTTTCTTTATGGTAATACCAATTATAATCGGAGGGTTTGGAAACTGACTGGTGCCCTTAATAATTGGCGCGCCTGATATAGCATTCCCACGAATAAATAATATGAGCTTTTGACTCCTGCCTCCATCCTTCCTTCTCCTTCTGACCCCATCTATGGTAGAAGCGGGTGCAGGGACAGGATGAACTGTGTATCCTCCTCTGGCAGGTAACCTAGCGCATGCAGGAGCATCAGTAGACCTGACAATCTTTTCCCTGCACTTAGCAGGTGTATCATCCATTCTGGGAACCATTAACTTTATTACTACCATTATCAACATAAAACCCCCCGCAATATCACAATACCAGACCCCATTGTTCGTATGATCCGTCCTAATTACAGCCGTACTCCTGCTCCTATCTCTACCAGTCCTAGCAGCCGGTATTATCATGCTACTCACAGACCGAAACCTGAATACCACTCTCTTTGACCCGGCCGGAGGAGGAGACCCCGTCCTATACCAACATCTATTCTGGTTCTTCGGACATCTAGAGGTATATATCCTAATTTTACCTGGGTTCGGAATTATCTCACACGTCGTAACGTACTATTCAGGAAAAAAAGAACCATTTGGCTATATGGGAATAGTGTGGGCGATAATATCTATCGGTTTCCTAGGCTTTATTGTATGAGCCCACCATATATTTACTGTAGGCATGGATGTCGATACTCGGGCATATTTTACATCAGCCACTATAATCATTGCTATTCCCACGGGGGTTAAAGTGTTTAGTTGACTGGCTACTCTGCACGGAGGTAATATTAAATGATCGCCAGCTATGCTATGGGCCCTGGGGTTCATTTTTCTATTCACAGTCGGCGGTCTAACGGGCATCGTATTGTCAAATTCGTCACTAGACATTGTCCTTCACGACACGTACTACGTGGTAGCACATTTCCATTACGTTCTTTCAATAGGGGCAGTATTTGCAATTATAGGTGGATTTGTCCACTGATTTCCACTATTCACGGGTTATACACTAAATGATACCTGAGCAAAAATCCACTTTACAATTATATTCGTCGGAGTAAACATGACATTCTTTCCTCAACACTTCTTAGGCCTATCGGGTATGCCTCGACGCTATTCCGACTACCCAGATGCCTACACTACATGAAATACAGTATCCTCCATAGGTTCATTCATTTCACTAACAGCAGTAATACTGATAATCTTCATAATCTGAGAAGCCTTCGCATCCAAACGAGAAGTACTAACGGTAGAACACACCTCAACAAACATTGAGTGACTACATGGATGCCCTCCCCCATATCACACCTTCGAAGAACCAACCTATGTGCTATCAAAATAA

Using symbol tables Write a program named DNAStatistics that reads data from a file containing, on each line, the name of a mammalian species, a tab character, and a sequence of letters representing the nucleotides of the ONA for some of that mammal's genes. There are four kinds of nucleotides, represented by one of four letters: A, C, G, and T DNA sequences (some of them) contain instructions on how to build a particular protein. A protein is a sequence of amino acids and a DNA's nucleotides specify, in order, which amino acids are in that sequence. It does this by grouping the nucleotides A C G, and T into sets of three, called a codon so for example, the sequence-ATGTTCATTAACCG-contains five codons: ATG GTT CAT, TAA, and CCG The program will print a report that lists, for each sequence: the total number of nucleotides the number of each nucleotide the total number of codons the number of different codons, that is, of the sixty-four possible codons, print how many are in this sequence the number of each codon, not printing any that do not occur in the sequence e For example, here is the output for the giant panda: Ailuropoda nelanoleuca Number of nucleotides:1545 A: 414 C: 355 G: 279 T: 497 Number of codons: 515 Number of different codons: 58 AAA : 7 AAC: 8 AAG: 2 AAT: 10 : 17 ACC: 4 ACG: 1 ACT: 14 AGC: 2 AGT: 1 ATA: 23 ATC: 9 ATG: 11 ATT: 29 CAA: 4 CAC: 8 CAG: 2 CAT: 1e CCA: 5 CCC: 8 CCG: 2 CCT: 13 CGA: 7 CGT: 1 CTA: 19 CTC: 6 CTG: 8 CTT: 13 GAA: GAC: 6 GAG: 4 GAT: GCA: 20 GcC: 12 GCG: 1 GCT: 1e GGA: 19 GGC: 18 GGG: 8 GGT: 1e STA: 17 GTC: 8 GTG: 6 GTT: 7 TAA: 1 TAC: 7 TAT: 12 TCA: 11 TCC: 4 TCG: 2 TCT: 1e TGA: 14 TGG: 3 TGT: 1 TTA: 11 TTC: 23 Use symbol tables wherever you need to keep a count. You may use any suitable symbol table implementation Use the data file seaeences txt to test your program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students explore these related Databases questions