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
.
This exercise is part of the course
Introduction to Bioconductor in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Unlist the set, select the first 21 letters, and assign to dna_seq
dna_seq <- subseq(___(___), end = 21)
dna_seq
# Transcribe dna_seq into an RNAString object and print it
___ <- ___(dna_seq)
rna_seq