Accessing and Manipulating Biological Databases Exercises (Part-3)

May 10, 2017
By

(This article was first published on R-exercises, and kindly contributed to R-bloggers)

In the exercises below we cover how we can Manipulate Biological Data using Seqinr packages

Install Packages
seqinr
Answers to the exercises are available here.

If you obtained a different (correct) answer than those listed on the solutions page, please feel free to post your answer as a comment on that page.

Exercise 1
Read a Fasta File in your current directory and print the complement of the sequence
Exercise 2
List the Standard codon tables available for translation of the nucleotide sequences
Exercise 3
List the Vertebrate Mitochondrial codon tables available for translation of the nucleotide sequences
Exercise 4
Find out the synonym codons of a any three letter codon in the standard codon table

Learn more about Data Pre-Processing in the online course R Data Pre-Processing & Data Management – Shape your Data!. In this course you will learn how to:

  • import data into R in several ways while also beeing able to identify a suitable import tool
  • use SQL code within R
  • And much more

Exercise 5
Read a Fasta File in your current directory and translate into amino acids using Vertebrate Mitochondrial codon table
Exercise 6
Read a Fasta File in your current directory and do frame 1 translation into amino acid sequences.
Exercise 7
Read a Fasta File in your current directory and do frame 1 translation into amino acid sequences and create a string of amino acid sequences from the vector
Exercise 8
Read a Fasta File in your current directory and do translation into amino acid sequences and find the Iso Electric Point of the translated sequence
Exercise 9
Read a Fasta File in your current directory and do frame 1 translation into amino acid sequences and find the Molecular Weight of the translated sequence
Exercise 10
Open the Nucleotide Fasta file and translate the sequences to Amino acids and plot a graph based on different categories of amino acids in the sequence.

To leave a comment for the author, please follow the link and comment on their blog: R-exercises.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)