<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/manipulate-biological-data-using-biostrings-package-exercisespart-2/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.r-exercises.com/2017/05/28/manipulate-biological-data-using-biostrings-package-exercises-part-2/?utm_source=rss&utm_medium=rss&utm_campaign=manipulate-biological-data-using-biostrings-package-exercises-part-2"> R-exercises</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><a target="_blank" rel="nofollow" href="https://i0.wp.com/www.r-exercises.com/wp-content/uploads/2017/04/image-1.jpg"><img sizes="(max-width: 150px) 100vw, 150px" alt="" class="wp-image-5504" src="https://i0.wp.com/www.r-exercises.com/wp-content/uploads/2017/04/image-1-150x150.jpg?resize=150%2C150" data-recalc-dims="1"></a><br>
Bioinformatics is an amalgamation Biology and Computer science.Biological Data is manipulated using Computers and Computer software’s in Bioinformatics. Biological Data includes DNA; RNA &amp; Proteins. DNA &amp; RNA is made of Nucleotide which are our genetic material in which we are coded.Our Structure and Functions are done by protein, which are build of Amino acids</p>
<p>In this exercise we try correlate the relation between DNA, RNA &amp; Protein. </p>
<p>Conversion of DNA to RNA is known as Transcription. DNA/RNA to protein is known as Translation.</p>
<p>Here we also discuss Sequence Alignment Techniques. Sequence Alignment is comparing the similarity between the sequences to check how much the DNA,RNA or Protein are related to each other.<br>
Three are three types of Sequence Alignment<br>
1. Global Alignment<br>
2. Local Alignment<br>
3. Over lap Alignment</p>
<p>In the exercises below we cover how we can Manipulate Biological Data using Biostrings package in Bioconductor.</p>
<p>Install Packages<br>
Biostrings</p>
<p>Answers to the exercises are available <a target="_blank" rel="nofollow" href="http://r-exercises.com/2017/05/28/manipulate-biological-data-using-biostrings-package-solutions-part-2/">here</a>.</p>
<p>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.</p>
<p><strong>Exercise 1</strong></p>
<p>Create a DNA String and find out the complement of the DNA</p>
<p><strong>Exercise 2</strong></p>
<p>Create a RNA String and find out the complement of the RNA</p>
<p><strong>Exercise 3</strong></p>
<p>Create a DNA string and find the reverse complement of the same.</p>
<p><strong>Exercise 4</strong></p>
<p>Create a RNA string and find the reverse complement of the same.</p>
<p><strong>Exercise 5</strong></p>
<p>Create a DNA string and translate the same into Amino Acids using Standard Genetic codon and print the three letter codon of the amino acids</p>
<p><strong>Exercise 6</strong></p>
<p>Create a DNA string and translate the same into Amino Acids using Standard Genetic codon and print the three letter codon of the amino acids</p>
<p><strong>Exercise 7</strong></p>
<p>Create two DNA Strings and align the sequence using Global Alignment technique and print the score of the alignment</p>
<p><strong>Exercise 8</strong></p>
<p>Create two DNA Strings and align the sequence using Global Alignment technique and print the score of the alignment after specifying your own score for match and mismatch among the sequence</p>
<p><strong>Exercise 9</strong></p>
<p>Create two DNA Strings and align the sequence using Local Alignment technique and print the score of the alignment</p>
<p><strong>Exercise 10</strong></p>
<p>Create two DNA Strings and align the sequence using Overlap Alignment technique and print the score of the alignment</p>
<div>
<h3>Related exercise sets:</h3>
<ol>
<li><a title="Bioinformatics Tutorial with Exercises in R (part 1)" target="_blank" rel="nofollow" href="http://www.r-exercises.com/2017/01/22/bioinformatics-lessons-in-r-1-biostrings-exercises/">Bioinformatics Tutorial with Exercises in R (part 1) </a></li>
<li><a title="Manipulate Biological Data Using Biostrings Package Exercises (Part 1)" target="_blank" rel="nofollow" href="http://www.r-exercises.com/2017/05/21/manipulate-biological-data-using-biostrings-package-part-1/">Manipulate Biological Data Using Biostrings Package Exercises (Part 1) </a></li>
<li><a title="Accessing and Manipulating Biological Databases  Exercises (Part-3)" target="_blank" rel="nofollow" href="http://www.r-exercises.com/2017/05/10/accessing-and-manipulating-biological-databases-exercises-part-3/">Accessing and Manipulating Biological Databases Exercises (Part-3) </a></li>
<li><a target="_blank" rel="nofollow" href="http://www.r-exercises.com/start-here-to-learn-r/">Explore all our (>1000) R exercises</a></li>
<li><a target="_blank" rel="nofollow" href="http://www.r-exercises.com/r-courses/">Find an R course using our R Course Finder</a> directory</li>
</ol>
</div>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.r-exercises.com/2017/05/28/manipulate-biological-data-using-biostrings-package-exercises-part-2/?utm_source=rss&utm_medium=rss&utm_campaign=manipulate-biological-data-using-biostrings-package-exercises-part-2"> R-exercises</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/OM9mQNt9bjg"></a></div>