Difference between revisions of "FND-CSC-Data models"

From "A B C"
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<div id="ABC">
 
<div id="ABC">
<div style="padding:5px; border:1px solid #000000; background-color:#f4d7b7; font-size:300%; font-weight:400; color: #000000; width:100%;">
+
<div style="padding:5px; border:1px solid #000000; background-color:#b3dbce; font-size:300%; font-weight:400; color: #000000; width:100%;">
 
Relational Data Models
 
Relational Data Models
<div style="padding:5px; margin-top:20px; margin-bottom:10px; background-color:#f4d7b7; font-size:30%; font-weight:200; color: #000000; ">
+
<div style="padding:5px; margin-top:20px; margin-bottom:10px; background-color:#b3dbce; font-size:30%; font-weight:200; color: #000000; ">
 
(Relational data models - what, why, how)
 
(Relational data models - what, why, how)
 
</div>
 
</div>
Line 10: Line 10:
  
  
<div style="padding:5px; border:1px solid #000000; background-color:#f4d7b733; font-size:85%;">
+
<div style="padding:5px; border:1px solid #000000; background-color:#b3dbce33; font-size:85%;">
 
<div style="font-size:118%;">
 
<div style="font-size:118%;">
 
<b>Abstract:</b><br />
 
<b>Abstract:</b><br />
Line 41: Line 41:
 
<b>Deliverables:</b><br />
 
<b>Deliverables:</b><br />
 
<section begin=deliverables />
 
<section begin=deliverables />
<!-- included from "./data/ABC-unit_components.txt", section: "deliverables-time_management" -->
+
<ul>
 
<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>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>
<!-- included from "./data/ABC-unit_components.txt", section: "deliverables-journal" -->
 
 
<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>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>
<!-- included from "./data/ABC-unit_components.txt", section: "deliverables-insights" -->
 
 
<li><b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|'''insights!''' page]].</li>
 
<li><b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|'''insights!''' page]].</li>
 +
</ul>
 
<section end=deliverables />
 
<section end=deliverables />
 
<!-- ============================  -->
 
<!-- ============================  -->
Line 52: Line 51:
 
<section begin=prerequisites />
 
<section begin=prerequisites />
 
<b>Prerequisites:</b><br />
 
<b>Prerequisites:</b><br />
<!-- included from "./data/ABC-unit_components.txt", section: "notes-prerequisites" -->
 
 
This unit builds on material covered in the following prerequisite units:<br />
 
This unit builds on material covered in the following prerequisite units:<br />
 
*[[RPR-Introduction|RPR-Introduction (Introduction to R)]]
 
*[[RPR-Introduction|RPR-Introduction (Introduction to R)]]
Line 62: Line 60:
  
  
{{REVISE}}
 
  
 
{{Smallvspace}}
 
{{Smallvspace}}
Line 72: Line 69:
  
  
 +
=== Evaluation ===
 +
<b>Evaluation: NA</b><br />
 +
<div style="margin-left: 2rem;">This unit is not evaluated for course marks.</div>
 
== Contents ==
 
== Contents ==
<!-- included from "./components/FND-CSC-Data_models.components.txt", section: "contents" -->
 
  
 
{{Task|1=
 
{{Task|1=
Line 82: Line 81:
 
{{Smallvspace}}
 
{{Smallvspace}}
 
<html>
 
<html>
<a href="https://docs.google.com/drawings/d/1uupNvz18_FYFwyyVPebTM0CUxcJCPDQuxuIJGpjWQWg" target="_blank"><img src="https://docs.google.com/drawings/d/e/2PACX-1vRYfclMZ7ovR26i2KAN8bbzmBWApImKH4tPuk66ZYwkU1H9-zy0BkuS_JFrPjwpcBqwCriY2YDCwaWH/pub?w=480&amp;h=360"></a>
+
<a href="https://docs.google.com/presentation/d/13vWaVcFpWEOGeSNhwmqugj2qTQuH1eZROgxWdHGEMr0" target="_blank"><img src="https://drive.google.com/file/d/1Lh56XZUYlnUITOKXklRHnBcPOkXWwwHf/view?usp=sharing" width = "300px"></a>
 
</html>
 
</html>
 
{{Smallvspace}}
 
{{Smallvspace}}
  
Open the drawing, save it, and edit it. (Or you can use any other drawing tool.) To practice data modeling, think about and try modeling the following extensions to the "'''proteinDB'''" model:
+
Open the slide, save it, and edit it. (Or download to use any other drawing tool.) To practice data modeling, think about and try modeling the following extensions to the "'''proteinDB'''" model (in a new slide):
  
::*Some of the proteins that you might want to store are transcription factors. A transcription factor has a canonical binding site sequence, and there are sequences it actually has been observed to bind to. The actual binding instances in specific locations may have genes associated with them, which encode proteins. You might come up with other facts that are important too.
+
<ul>
::* A "systems model" would group together a number of proteins to a system such as "G1/S checkpoint control", "cell-wall repair", "acid/base homeostasis" etc.: i.e. a set of proteins that collaborate towards a common goal. Within that system a protein performs one or more functions, that may be associated with specific states of the protein (like its intracellular location, or its post-translational modification state). Proteins may be structurally part of any number of systems, and they may shuttle between systems. Systems can overlap, and sometimes we might want to group systems in a hierarchical fashion.
+
<li>Some of the proteins that you might want to store are transcription factors. A transcription factor has a canonical binding site sequence, and there are sequences it actually has been observed to bind to. The actual binding instances in specific locations may have genes associated with them, which encode proteins. You might come up with other facts that are important too.</li>
::* A protein-protein interaction database stores interaction information. Interactions may be observed by a number of different experimental methods and thus several different interactions may be reported for the same protein pair. Moreover, there may be meta-information, such as a confidence score that evaluates whether two proteins functionally interact with each other in the cell, rather than the observation being an experimental artefact. Some of the interactions may be between a protein and a complex, or between two complexes and can't be further resolved. But if a interaction is between two disinct proteins, and one of them is part of a complex, that too is importnat to know. Some interactions may be permanent, and some may be transient, i.e. depend on particular conditions.
+
<li>A "systems model" would group together a number of proteins to a system such as "G1/S checkpoint control", "cell-wall repair", "acid/base homeostasis" etc.: i.e. a set of proteins that collaborate towards a common goal. Within that system a protein performs one or more functions, that may be associated with specific states of the protein (like its intracellular location, or its post-translational modification state). Proteins may be structurally part of any number of systems, and they may shuttle between systems. Systems can overlap, and sometimes we might want to group systems in a hierarchical fashion.</li>
 +
<li>A protein-protein interaction database stores interaction information. Interactions may be observed by a number of different experimental methods and thus several different interactions may be reported for the same protein pair. Moreover, there may be meta-information, such as a confidence score that evaluates whether two proteins functionally interact with each other in the cell, rather than the observation being an experimental artefact. Some of the interactions may be between a protein and a complex, or between two complexes and can't be further resolved. But if a interaction is between two disinct proteins, and one of them is part of a complex, that too is importnat to know. Some interactions may be permanent, and some may be transient, i.e. depend on particular conditions.</li>
 +
</ul>
  
 
*Sketch each of these datamodels on your own. Think about the principles that were discussed in the introduction. You will probably start by listing the entities first, then the attributes of the entities, then the relationships that you need to represent the facts. Don't forget the cardinalities.
 
*Sketch each of these datamodels on your own. Think about the principles that were discussed in the introduction. You will probably start by listing the entities first, then the attributes of the entities, then the relationships that you need to represent the facts. Don't forget the cardinalities.
 
*If you are the first to do so, post your model on the mailing list and share. In the ensuing discussion we would like to evaluate the design decisions, provide feedback, and iterate improvements. We also may be curious about which tool people used for sketching and whether that was convenient.
 
  
 
}}
 
}}
Line 101: Line 100:
  
  
== Self-evaluation ==
 
<!--
 
=== Question 1===
 
 
Question ...
 
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
Answer ...
 
<div class="mw-collapsible-content">
 
Answer ...
 
 
</div>
 
  </div>
 
 
  {{Vspace}}
 
 
-->
 
== Notes ==
 
<!-- included from "./components/FND-CSC-Data_models.components.txt", section: "notes" -->
 
<!-- included from "./data/ABC-unit_components.txt", section: "notes" -->
 
<references />
 
== Further reading, links and resources ==
 
<!-- {{#pmid: 19957275}} -->
 
<!-- {{WWW|WWW_GMOD}} -->
 
<!-- <div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div> -->
 
  
 
{{Vspace}}
 
{{Vspace}}
  
 
<!-- included from "./data/ABC-unit_components.txt", 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 150: Line 112:
 
:2017-08-05
 
:2017-08-05
 
<b>Modified:</b><br />
 
<b>Modified:</b><br />
:2017-09-21
+
:2020-09-20
 
<b>Version:</b><br />
 
<b>Version:</b><br />
:1.0
+
:1.1
 
<b>Version history:</b><br />
 
<b>Version history:</b><br />
 +
*1.1 New schema sketch
 
*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 "./data/ABC-unit_components.txt", section: "ABC-unit_footer" -->
 
  
 
{{CC-BY}}
 
{{CC-BY}}
  
 +
[[Category:ABC-units]]
 
</div>
 
</div>
 
<!-- [END] -->
 
<!-- [END] -->

Revision as of 06:02, 21 September 2020

Relational Data Models

(Relational data models - what, why, how)


 


Abstract:

Computational work with data often begins with data modeling: parsing facts about the world into a set of entities, their attributes, and their relationships. These are usually represented in a "relational data model". This unit introduces the concept, discusses pitfalls in creating such models and how they can be addressed, and practices designing and evaluating datamodels.


Objectives:
This unit will ...

  • Introduce the concept of relational datamodels and the terms we use to describe them;
  • Provide a template that you can use for modelling;
  • Present problems for you to think through in designing your own data models.

Outcomes:
After working through this unit you ...

  • can interpret and critically evaluate an ERD diagram;
  • have practiced building your own datamodels;
  • have participated in the discussion and improvement of three models motivated by common bioinformatics tasks.

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:
This unit builds on material covered in the following prerequisite units:


 



 



 


Evaluation

Evaluation: NA

This unit is not evaluated for course marks.

Contents

Task:

In the PDF notes, a protein data model is developed. You can access a sketch of the data model by clicking on the image:


 

 

Open the slide, save it, and edit it. (Or download to use any other drawing tool.) To practice data modeling, think about and try modeling the following extensions to the "proteinDB" model (in a new slide):

  • Some of the proteins that you might want to store are transcription factors. A transcription factor has a canonical binding site sequence, and there are sequences it actually has been observed to bind to. The actual binding instances in specific locations may have genes associated with them, which encode proteins. You might come up with other facts that are important too.
  • A "systems model" would group together a number of proteins to a system such as "G1/S checkpoint control", "cell-wall repair", "acid/base homeostasis" etc.: i.e. a set of proteins that collaborate towards a common goal. Within that system a protein performs one or more functions, that may be associated with specific states of the protein (like its intracellular location, or its post-translational modification state). Proteins may be structurally part of any number of systems, and they may shuttle between systems. Systems can overlap, and sometimes we might want to group systems in a hierarchical fashion.
  • A protein-protein interaction database stores interaction information. Interactions may be observed by a number of different experimental methods and thus several different interactions may be reported for the same protein pair. Moreover, there may be meta-information, such as a confidence score that evaluates whether two proteins functionally interact with each other in the cell, rather than the observation being an experimental artefact. Some of the interactions may be between a protein and a complex, or between two complexes and can't be further resolved. But if a interaction is between two disinct proteins, and one of them is part of a complex, that too is importnat to know. Some interactions may be permanent, and some may be transient, i.e. depend on particular conditions.
  • Sketch each of these datamodels on your own. Think about the principles that were discussed in the introduction. You will probably start by listing the entities first, then the attributes of the entities, then the relationships that you need to represent the facts. Don't forget the cardinalities.


 



 


About ...
 
Author:

Boris Steipe <boris.steipe@utoronto.ca>

Created:

2017-08-05

Modified:

2020-09-20

Version:

1.1

Version history:

  • 1.1 New schema sketch
  • 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.