Difference between revisions of "FND-CSC-Data models"
m |
m |
||
Line 28: | Line 28: | ||
== Abstract == | == Abstract == | ||
<section begin=abstract /> | <section begin=abstract /> | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "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. | 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. | ||
<section end=abstract /> | <section end=abstract /> | ||
Line 37: | Line 37: | ||
== This unit ... == | == This unit ... == | ||
=== Prerequisites === | === Prerequisites === | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "prerequisites" --> |
− | <!-- included from "ABC-unit_components. | + | <!-- included from "./data/ABC-unit_components.txt", 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: | ||
*[[RPR-Introduction|RPR-Introduction (Introduction to R)]] | *[[RPR-Introduction|RPR-Introduction (Introduction to R)]] | ||
Line 46: | Line 46: | ||
=== Objectives === | === Objectives === | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "objectives" --> |
This unit will ... | This unit will ... | ||
* Introduce the concept of relational datamodels and the terms we use to describe them; | * Introduce the concept of relational datamodels and the terms we use to describe them; | ||
Line 56: | Line 56: | ||
=== Outcomes === | === Outcomes === | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "outcomes" --> |
After working through this unit you ... | After working through this unit you ... | ||
* can interpret and critically evaluate an ERD diagram; | * can interpret and critically evaluate an ERD diagram; | ||
Line 66: | Line 66: | ||
=== Deliverables === | === Deliverables === | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "deliverables" --> |
− | <!-- included from "ABC-unit_components. | + | <!-- included from "./data/ABC-unit_components.txt", 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. | *<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. | + | <!-- included from "./data/ABC-unit_components.txt", 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. | *<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. | + | <!-- included from "./data/ABC-unit_components.txt", section: "deliverables-insights" --> |
*<b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|'''insights!''' page]]. | *<b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|'''insights!''' page]]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Vspace}} | {{Vspace}} | ||
Line 89: | Line 80: | ||
<div id="BIO"> | <div id="BIO"> | ||
== Contents == | == Contents == | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "contents" --> |
{{Task|1= | {{Task|1= | ||
Line 130: | Line 121: | ||
== Notes == | == Notes == | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "notes" --> |
− | <!-- included from "ABC-unit_components. | + | <!-- included from "./data/ABC-unit_components.txt", section: "notes" --> |
<references /> | <references /> | ||
Line 140: | Line 131: | ||
<div id="ABC-unit-framework"> | <div id="ABC-unit-framework"> | ||
== Self-evaluation == | == Self-evaluation == | ||
− | <!-- included from " | + | <!-- included from "./components/FND-CSC-Data_models.components.txt", section: "self-evaluation" --> |
<!-- | <!-- | ||
=== Question 1=== | === Question 1=== | ||
Line 165: | Line 156: | ||
− | <!-- included from "ABC-unit_components. | + | <!-- included from "./data/ABC-unit_components.txt", section: "ABC-unit_ask" --> |
---- | ---- | ||
Line 193: | Line 184: | ||
</div> | </div> | ||
[[Category:ABC-units]] | [[Category:ABC-units]] | ||
− | <!-- included from "ABC-unit_components. | + | <!-- included from "./data/ABC-unit_components.txt", section: "ABC-unit_footer" --> |
{{CC-BY}} | {{CC-BY}} |
Revision as of 01:26, 6 January 2018
Relational Data Models
Keywords: Relational data models - what, why, how
Contents
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.
This unit ...
Prerequisites
You need to complete the following units before beginning this one:
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.
Contents
Task:
- Read the introductory notes on data models.
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 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:
- 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.
- 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.
Further reading, links and resources
Notes
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-21
Version:
- 1.0
Version history:
- 1.0 First live version
- 0.1 First stub
This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License. Follow the link to learn more.