In part 1 of this project, we will mimic how protein is formed from DNA.
Create a DNAStrand class.
Create a method, readDNA, that reads in the dna sequence file by looping through each line. Store the sequence in an Arraylist.
Create another method, createCompliment, which uses the read-in sequence Arraylist and takes in no parameters, iterates through it, and creates its compliment by checking each letter. Store the compliment in another Arraylist. Remember that the compliment to ”a” is ”t” and ”c” is ”g”. The output should keep all strings as LOWERCASE. HINT: Use the string methods.
Create getCompliment and getDnaSequence methods that return the corresponding Arraylist. So getCompliment should return the Arraylist created in createCompliment.