Difference between revisions of "BIN-Sequence"

From "A B C"
Jump to navigation Jump to search
m
m
Line 19: Line 19:
  
  
{{DEV}}
+
{{LIVE}}
  
 
{{Vspace}}
 
{{Vspace}}
Line 29: Line 29:
 
<section begin=abstract />
 
<section begin=abstract />
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "abstract" -->
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "abstract" -->
...
+
Sequence is the most fundamental concept to abstract biomolecules for computational purposes. In this unit we discuss some of the implications and conventions, and explore handling and processing character vectors and strings in R.
 
<section end=abstract />
 
<section end=abstract />
  
Line 44: Line 44:
 
<!-- included from "ABC-unit_components.wtxt", section: "notes-prerequisites" -->
 
<!-- included from "ABC-unit_components.wtxt", section: "notes-prerequisites" -->
 
You need to complete the following units before beginning this one:
 
You need to complete the following units before beginning this one:
*[[BIN-Abstractions]]
+
*You are expected to know the names, structures and (bio)chemical properties of the 20 proteinogenic amino acids;
*[[FND-Genetic_code]]
+
*[[BIN-Abstractions|BIN-Abstractions (Abstractions for Bioinformatics)]]
 +
*[[FND-Genetic_code|FND-Genetic_code (Genetic Code)]]
  
 
{{Vspace}}
 
{{Vspace}}
Line 52: Line 53:
 
=== Objectives ===
 
=== Objectives ===
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "objectives" -->
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "objectives" -->
...
+
This unit will ...
 +
* introduce the concept of sequence as an abstraction and the common one-letter codes for DNA and amino acids that we use to realize it;
 +
* list the conventions we use when writing sequence;
 +
* discuss how amino acid properties relate to their function in a folded protein, and how this conditions which amino acid is found where in a sequence;
 +
* demonstrate R code to read, analyse and manipulate strings.
  
 
{{Vspace}}
 
{{Vspace}}
Line 59: Line 64:
 
=== Outcomes ===
 
=== Outcomes ===
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "outcomes" -->
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "outcomes" -->
...
+
After working through this unit you ...
 +
* can draw the structure formula of all 20 proteinogenic amino acids<ref>''Technically'' there are 21 proteinogenic amino acids, because some proteins contain {{WP|Selenocysteine}} translated from TGA codons. However this is not universal, and thus '''<tt>Sec</tt>''' is as much a proteinogenic amino acid as [https://www.jpl.nasa.gov/spaceimages/images/wallpaper/PIA20291-800x600.jpg Pluto is not a planet]. Technically correct. One-letter code is '''U''' - as in Pl'''U'''to.</ref> and assign them to categories like "small", "charged" or "hydrophobic";
 +
* can identify the coding sequence and frame for a DNA sequence that is labelled as "plus" or "minus";
 +
* can competent read, analyse and manipulate strings in R;
 +
* can shuffle sequences (permute them) and create sequences with specific target ditributions of characters, in R.
  
 
{{Vspace}}
 
{{Vspace}}
Line 90: Line 99:
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "contents" -->
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "contents" -->
 
{{Task|1=
 
{{Task|1=
*Read the introductory notes on {{ABC-PDF|BIN-Sequence|the idea of biomolecular "sequence"}}.
+
*Read the introductory notes on {{ABC-PDF|BIN-Sequence|the concept of biomolecular "sequence"}}.
 
}}
 
}}
  
 +
{{Smallvspace}}
 +
 +
{{ABC-unit|BIN-Sequence.R}}
  
 
{{Vspace}}
 
{{Vspace}}
Line 104: Line 116:
 
<!-- {{#pmid: 19957275}} -->
 
<!-- {{#pmid: 19957275}} -->
 
<!-- {{WWW|WWW_GMOD}} -->
 
<!-- {{WWW|WWW_GMOD}} -->
<!-- <div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div> -->
+
<div class="reference-box">[http://en.wikipedia.org/wiki/Amino_acid '''Amino acids''' (Wikipedia)] - use this to review and memorize: structural formula, one-letter code, charge, relative size, and polarity for the 20 proteinogenic amino acids.</div>
 +
<div class="reference-box">[https://en.wikipedia.org/wiki/Sense_(molecular_biology) '''The "sense" of how nucleotide sequences are written''' (Wikipedia)]</div>
 +
<div class="reference-box">[https://github.com/tidyverse/stringr Introduction to the <tt>'''stringr'''</tt> package]</div>
 +
 
  
 
{{Vspace}}
 
{{Vspace}}
Line 121: Line 136:
 
== Self-evaluation ==
 
== Self-evaluation ==
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "self-evaluation" -->
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "self-evaluation" -->
 +
 +
* Answer the [[Amino_Acid_Exam_Questions| questions on amino acids from '''2002 - 2009 BCH441 Final Exam''' questions]].
 +
 
<!--
 
<!--
 
=== Question 1===
 
=== Question 1===
Line 165: Line 183:
 
:2017-08-05
 
:2017-08-05
 
<b>Modified:</b><br />
 
<b>Modified:</b><br />
:2017-08-05
+
:2017-09-28
 
<b>Version:</b><br />
 
<b>Version:</b><br />
:0.1
+
:1.0
 
<b>Version history:</b><br />
 
<b>Version history:</b><br />
 +
*1.0 First live version
 
*0.1 First stub
 
*0.1 First stub
 
</div>
 
</div>

Revision as of 13:23, 30 September 2017

Abstract

Sequence is the most fundamental concept to abstract biomolecules for computational purposes. In this unit we discuss some of the implications and conventions, and explore handling and processing character vectors and strings in R.


 


This unit ...

Prerequisites

You need the following preparation before beginning this unit. If you are not familiar with this material from courses you took previously, you need to prepare yourself from other information sources:

  • Biomolecules: The molecules of life; nucleic acids and amino acids; the genetic code; protein folding; post-translational modifications and protein biochemistry; membrane proteins; biological function.

You need to complete the following units before beginning this one:


 


Objectives

This unit will ...

  • introduce the concept of sequence as an abstraction and the common one-letter codes for DNA and amino acids that we use to realize it;
  • list the conventions we use when writing sequence;
  • discuss how amino acid properties relate to their function in a folded protein, and how this conditions which amino acid is found where in a sequence;
  • demonstrate R code to read, analyse and manipulate strings.


 


Outcomes

After working through this unit you ...

  • can draw the structure formula of all 20 proteinogenic amino acids[1] and assign them to categories like "small", "charged" or "hydrophobic";
  • can identify the coding sequence and frame for a DNA sequence that is labelled as "plus" or "minus";
  • can competent read, analyse and manipulate strings in R;
  • can shuffle sequences (permute them) and create sequences with specific target ditributions of characters, in R.


 


Deliverables

  • Time management: Before you begin, estimate how long it will take you to complete this unit. Then, record in your course journal: the number of hours you estimated, the number of hours you worked on the unit, and the amount of time that passed between start and completion of this unit.
  • Journal: Document your progress in your Course Journal. Some tasks may ask you to include specific items in your journal. Don't overlook these.
  • Insights: If you find something particularly noteworthy about this unit, make a note in your insights! page.


 


Evaluation

Evaluation: NA

This unit is not evaluated for course marks.


 


Contents

Task:


 

Task:

 
  • Open RStudio and load the ABC-units R project. If you have loaded it before, choose FileRecent projectsABC-Units. If you have not loaded it before, follow the instructions in the RPR-Introduction unit.
  • Choose ToolsVersion ControlPull Branches to fetch the most recent version of the project from its GitHub repository with all changes and bug fixes included.
  • Type init() if requested.
  • Open the file BIN-Sequence.R and follow the instructions.


 

Note: take care that you understand all of the code in the script. Evaluation in this course is cumulative and you may be asked to explain any part of code.


 


 



 


Further reading, links and resources

Amino acids (Wikipedia) - use this to review and memorize: structural formula, one-letter code, charge, relative size, and polarity for the 20 proteinogenic amino acids.


 


Notes

  1. Technically there are 21 proteinogenic amino acids, because some proteins contain Selenocysteine translated from TGA codons. However this is not universal, and thus Sec is as much a proteinogenic amino acid as Pluto is not a planet. Technically correct. One-letter code is U - as in PlUto.


 


Self-evaluation


 



 




 

If in doubt, ask! If anything about this learning unit is not clear to you, do not proceed blindly but ask for clarification. Post your question on the course mailing list: others are likely to have similar problems. Or send an email to your instructor.



 

About ...
 
Author:

Boris Steipe <boris.steipe@utoronto.ca>

Created:

2017-08-05

Modified:

2017-09-28

Version:

1.0

Version history:

  • 1.0 First live version
  • 0.1 First stub

CreativeCommonsBy.png This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License. Follow the link to learn more.