In-Class Exercise: Biopython Fasta parsing and Sequence utilities

1. Use Biopython to create a function that parses the test_fasta.txt file. Return a dictionary with the keys being the accession numbers and the values sequences. The sequences should be made into Seq objects. -> Use the function from the lecture or from the Biopython tutorial in section 2.4.3

[Optional: Use the Python urllib module to access the file over the web instead of copy and pasting.]

2. Make a function (def manip_seq) that utilizes the Biopython utils and sequtils collection of functions to do the following:

(1) transcribe a sequence

(2) translate a sequence (use mitochondrial translation)

(3) determine GC content

(4) reverse complement the sequence (antiparallel function)

Have the function print out the result of each of these actions.

3. Run the manip_seq function on each of the sequences from the fasta file (test_fasta.txt). test_fasta.txt