CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to Bioconductor in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de 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
Modifier et exécuter le code