Difference between revisions of "BIN-Sequence"

From "A B C"
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="BIO">
+
<div id="ABC">
  <div class="b1">
+
<div style="padding:5px; border:1px solid #000000; background-color:#b3dbce; font-size:300%; font-weight:400; color: #000000; width:100%;">
 
Sequence
 
Sequence
  </div>
+
<div style="padding:5px; margin-top:20px; margin-bottom:10px; background-color:#b3dbce; font-size:30%; font-weight:200; color: #000000; ">
 
+
(The 20 amino acids and the one-letter code)
  {{Vspace}}
+
</div>
 
 
<div class="keywords">
 
<b>Keywords:</b>&nbsp;
 
The 20 amino acids and the one-letter code
 
 
</div>
 
</div>
  
{{Vspace}}
+
{{Smallvspace}}
 
 
 
 
__TOC__
 
 
 
{{Vspace}}
 
 
 
 
 
{{LIVE}}
 
 
 
{{Vspace}}
 
  
  
</div>
+
<div style="padding:5px; border:1px solid #000000; background-color:#b3dbce33; font-size:85%;">
<div id="ABC-unit-framework">
+
<div style="font-size:118%;">
== Abstract ==
+
<b>Abstract:</b><br />
 
<section begin=abstract />
 
<section begin=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.
 
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 />
 
+
</div>
{{Vspace}}
+
<!-- ============================ -->
 
+
<hr>
 
+
<table>
== This unit ... ==
+
<tr>
=== Prerequisites ===
+
<td style="padding:10px;">
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "prerequisites" -->
+
<b>Objectives:</b><br />
<!-- included from "ABC-unit_components.wtxt", section: "notes-external_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:
 
<!-- included from "FND-prerequisites.wtxt", section: "biomolecules" -->
 
*<b>Biomolecules</b>: The molecules of life; nucleic acids and amino acids; the genetic code; protein folding; post-translational modifications and protein biochemistry; membrane proteins; biological function.
 
<!-- included from "ABC-unit_components.wtxt", section: "notes-prerequisites" -->
 
You need to complete the following units before beginning this one:
 
*You are expected to know the names, structures and (bio)chemical properties of the 20 proteinogenic amino acids;
 
*[[BIN-Abstractions|BIN-Abstractions (Abstractions for Bioinformatics)]]
 
*[[FND-Genetic_code|FND-Genetic_code (Genetic Code)]]
 
 
 
{{Vspace}}
 
 
 
 
 
=== Objectives ===
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "objectives" -->
 
 
This unit will ...
 
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;
 
* 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;
Line 58: Line 28:
 
* 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;
 
* 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.
 
* demonstrate R code to read, analyse and manipulate strings.
 
+
</td>
{{Vspace}}
+
<td style="padding:10px;">
 
+
<b>Outcomes:</b><br />
 
 
=== Outcomes ===
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "outcomes" -->
 
 
After working through this unit you ...
 
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 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. The memnonic for the <tt>Sec</tt> one-letter code '''U''' 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 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 competently read, analyse and manipulate strings in R;
 
* can shuffle sequences (permute them) and create sequences with specific target ditributions of characters, in R.
 
* can shuffle sequences (permute them) and create sequences with specific target ditributions of characters, in R.
 +
</td>
 +
</tr>
 +
</table>
 +
<!-- ============================  -->
 +
<hr>
 +
<b>Deliverables:</b><br />
 +
<section begin=deliverables />
 +
<li><b>Time management</b>: 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.</li>
 +
<li><b>Journal</b>: Document your progress in your [[FND-Journal|Course Journal]]. Some tasks may ask you to include specific items in your journal. Don't overlook these.</li>
 +
<li><b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|'''insights!''' page]].</li>
 +
<section end=deliverables />
 +
<!-- ============================  -->
 +
<hr>
 +
<section begin=prerequisites />
 +
<b>Prerequisites:</b><br />
 +
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:<br />
 +
*<b>Biomolecules</b>: The molecules of life; nucleic acids and amino acids; the genetic code; protein folding; post-translational modifications and protein biochemistry; membrane proteins; biological function.
 +
This unit builds on material covered in the following prerequisite units:<br />
 +
*You are expected to know the names, structures and (bio)chemical properties of the 20 proteinogenic amino acids;
 +
*[[BIN-Abstractions|BIN-Abstractions (Abstractions for Bioinformatics)]]
 +
*[[FND-Genetic_code|FND-Genetic_code (Genetic Code)]]
 +
<section end=prerequisites />
 +
<!-- ============================  -->
 +
</div>
  
{{Vspace}}
+
{{Smallvspace}}
  
  
=== Deliverables ===
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "deliverables" -->
 
<!-- included from "ABC-unit_components.wtxt", section: "deliverables-time_management" -->
 
*<b>Time management</b>: 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.
 
<!-- included from "ABC-unit_components.wtxt", section: "deliverables-journal" -->
 
*<b>Journal</b>: Document your progress in your [[FND-Journal|Course Journal]]. Some tasks may ask you to include specific items in your journal. Don't overlook these.
 
<!-- included from "ABC-unit_components.wtxt", section: "deliverables-insights" -->
 
*<b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|'''insights!''' page]].
 
  
{{Vspace}}
+
{{Smallvspace}}
  
  
=== Evaluation ===
+
__TOC__
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "evaluation" -->
 
<!-- included from "ABC-unit_components.wtxt", section: "eval-none" -->
 
<b>Evaluation: NA</b><br />
 
:This unit is not evaluated for course marks.
 
  
 
{{Vspace}}
 
{{Vspace}}
  
  
</div>
+
=== Evaluation ===
<div id="BIO">
+
<b>Evaluation: NA</b><br />
 +
<div style="margin-left: 2rem;">This unit is not evaluated for course marks.</div>
 
== Contents ==
 
== Contents ==
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "contents" -->
 
 
{{Task|1=
 
{{Task|1=
 
*Read the introductory notes on {{ABC-PDF|BIN-Sequence|the concept of biomolecular "sequence"}}.
 
*Read the introductory notes on {{ABC-PDF|BIN-Sequence|the concept of biomolecular "sequence"}}.
Line 106: Line 85:
 
{{ABC-unit|BIN-Sequence.R}}
 
{{ABC-unit|BIN-Sequence.R}}
  
{{Vspace}}
+
{{Smallvspace}}
 
 
 
 
 
 
{{Vspace}}
 
 
 
 
 
== Further reading, links and resources ==
 
<!-- {{#pmid: 19957275}} -->
 
<!-- {{WWW|WWW_GMOD}} -->
 
<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}}
 
 
 
 
 
== Notes ==
 
<!-- included from "../components/BIN-Sequence.components.wtxt", section: "notes" -->
 
<!-- included from "ABC-unit_components.wtxt", section: "notes" -->
 
<references />
 
  
{{Vspace}}
 
  
 
</div>
 
<div id="ABC-unit-framework">
 
 
== Self-evaluation ==
 
== 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]].
 
* Answer the [[Amino_Acid_Exam_Questions| questions on amino acids from '''2002 - 2009 BCH441 Final Exam''' questions]].
Line 155: Line 108:
  
 
-->
 
-->
 +
== Further reading, links and resources ==
 +
<!-- {{#pmid: 19957275}} -->
 +
<!-- {{WWW|WWW_GMOD}} -->
 +
<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}}
+
== Notes ==
 
+
<references />
 
 
  
 
{{Vspace}}
 
{{Vspace}}
  
 
<!-- included from "ABC-unit_components.wtxt", section: "ABC-unit_ask" -->
 
 
----
 
 
{{Vspace}}
 
 
<b>If in doubt, ask!</b> 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.
 
 
----
 
 
{{Vspace}}
 
  
 
<div class="about">
 
<div class="about">
Line 183: Line 129:
 
:2017-08-05
 
:2017-08-05
 
<b>Modified:</b><br />
 
<b>Modified:</b><br />
:2017-09-28
+
:2020-09-23
 
<b>Version:</b><br />
 
<b>Version:</b><br />
:1.0
+
:1.1
 
<b>Version history:</b><br />
 
<b>Version history:</b><br />
 +
*1.1 2020 Updates
 
*1.0 First live version
 
*1.0 First live version
 
*0.1 First stub
 
*0.1 First stub
 
</div>
 
</div>
[[Category:ABC-units]]
 
<!-- included from "ABC-unit_components.wtxt", section: "ABC-unit_footer" -->
 
  
 
{{CC-BY}}
 
{{CC-BY}}
  
 +
[[Category:ABC-units]]
 +
{{UNIT}}
 +
{{LIVE}}
 
</div>
 
</div>
 
<!-- [END] -->
 
<!-- [END] -->

Latest revision as of 13:22, 23 September 2020

Sequence

(The 20 amino acids and the one-letter code)


 


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.


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 competently 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.

  • 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.

    This unit builds on material covered in the following prerequisite units:


     



     



     


    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.


     


     


    Self-evaluation

    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. The memnonic for the Sec one-letter code U is: u as in PlUto.


     


    About ...
     
    Author:

    Boris Steipe <boris.steipe@utoronto.ca>

    Created:

    2017-08-05

    Modified:

    2020-09-23

    Version:

    1.1

    Version history:

    • 1.1 2020 Updates
    • 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.