Exercise

Manipulating Biostrings

Using a short sequence (dna_seq) from the zikaVirus object, it is your turn to have a go with the two biological processes of transcription and translation.

In the first two parts of this exercise, you will apply these processes separately. In the last part, you'll apply them in one step.

You'll be using a very small sequence in this exercise, but remember that the power of Biostrings comes to light when manipulating much larger sequences.

The Biostrings package has already been loaded for you. Using zikaVirus, you will translate the first 21 characters into an AAString.

Instructions 1/3

undefined XP
    1
    2
    3
  • unlist() the zikaVirus set and select the first 21 base pairs with subseq(). The resulting object will be a "DNAString" object.
  • Transcribe the dna_seq into an "RNAString" and assign it to rna_seq.