Object-oriented In-class problems.
!. Create a "Sequence" class, with name, accession number, and sequence as data members. Have a method to count the total number of letters in the sequence, and a method to count the number of each type of letter. Have set and get methods for the data members, and a constructor for the class. Use the ".seq" and ".pep" files in /home/bios546 as the inputs for the constructor. That is, your constructor take the name of one of those files as a parameter, then read that file and make the object from it.
2. Create a "DNA_Sequence" class that inherits from Sequence. That is, Sequence is the super-class and DNA_Sequence is the sub-class. Have a method to determine the G+C content, and a method to reverse-complement the sequence.
3. Create a method in the "UNIVERSAL" class that dumps the data for the object invoking it: prints the hash keys followed by their values.