Introduction to HIV Databases Alejandro Pironti Dar es Salaam November 14 th, 2011.

Slides:



Advertisements
Similar presentations
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizards Guide to PHP by David Lash.
Advertisements

2010/11 : [1]Building Web Applications using MySQL and PHP (W1)MySQL Recap.
Management Information Systems, Sixth Edition
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
Introduction to Structured Query Language (SQL)
1 Database Systems (Part I) Introduction to Databases I Overview  Objectives of this lecture.  History and Evolution of Databases.  Basic Terms in Database.
Introduction to Databases
1 Lecture 31 Introduction to Databases I Overview  Objectives of this lecture  History and Evolution of Databases  Basic Terms in Database and definitions.
Databases Using MySQL Creating Tables Queries. Databases  A database is a collection of data organized for efficient access  A relational database is.
WFM-6103: Hydrologic Information System (HIS) Akm Saiful Islam Lecture-5: Database Management System April-October, 2006 Institute of Water and Flood Management.
5 Chapter 5 Structured Query Language (SQL1) Revision.
Introduction to Structured Query Language (SQL)
CSC 2720 Building Web Applications Database and SQL.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Structured Query Language SQL: An Introduction. SQL (Pronounced S.Q.L) The standard user and application program interface to a relational database is.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizard’s Guide to PHP by David Lash.
Introduction to SQL Steve Perry
2440: 141 Web Site Administration Database Management Using SQL Professor: Enoch E. Damson.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
CS 474 Database Design and Application Terminology Jan 11, 2000.
Dbwebsites 2.1 Making Database backed Websites Session 2 The SQL… Where do we put the data?
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Rensselaer Polytechnic Institute CSCI-4380 – Database Systems David Goldschmidt, Ph.D.
CHAPTER:14 Simple Queries in SQL Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Chapter 4 Introduction to MySQL. MySQL “the world’s most popular open-source database application” “commonly used with PHP”
CSC 2720 Building Web Applications Database and SQL.
Database Fred Durao What is a database? A database is any organized collection of data. Some examples of databases you may encounter in.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Chap No: 04 Advanced Relational Database
Databases. Not All Tables Are Created Equal Spreadsheets use tables to store data and formulas associated with that data The “meaning” of data is implicit.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Entity-Relationship (ER) Modelling ER modelling - Identify entities - Identify relationships - Construct ER diagram - Collect attributes for entities &
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
Visual Programing SQL Overview Section 1.
SQL John Nowobilski. What is SQL? Structured Query Language Manages Data in Database Management Systems based on the Relational Model Developed in 1970s.
GLOBEX INFOTEK Copyright © 2013 Dr. Emelda Ntinglet-DavisSYSTEMS ANALYSIS AND DESIGN METHODSINTRODUCTORY SESSION EFFECTIVE DATABASE DESIGN for BEGINNERS.
Database Basics BCIS 3680 Enterprise Programming.
1 CS 430 Database Theory Winter 2005 Lecture 10: Introduction to SQL.
1 MySQL and SQL. 2 Topics  Introducing Relational Databases  Terminology  Managing Databases MySQL and SQL.
Database: SQL, MySQL, LINQ and Java DB © by Pearson Education, Inc. All Rights Reserved.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
SQL. What is a database? G a collection of data G Usually consists of entities and relations G An entity is an individual “object” that exists and is.
Working with MySQL A290/A590, Fall /07/2014.
LM 5 Introduction to SQL MISM 4135 Instructor: Dr. Lei Li.
Creating E/R Diagrams with SQL Server Management Studio, Writing SQL Queries D0ncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer.
CS320 Web and Internet Programming SQL and MySQL Chengyu Sun California State University, Los Angeles.
MY SQL INTRODUCTION TO LOGIN BASIC COMMANDS OTHER COMMANDS.
Database Presentation BIM, Mrs. Bailey. **Database Notes** Use new sheet of paper! Microsoft Access - known as a database management system or DBMS Database.
EuResist? EuResist is an international project designed to improve the treatment of HIV patients by developing a computerized system that can recommend.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
CPSC-310 Database Systems
Databases and DBMSs Todd S. Bacastow January
Databases Chapter 16.
Data Definition and Data Types
Spreadsheets, Modelling & Databases
CS3220 Web and Internet Programming SQL and MySQL
Chapter 4 Introduction to MySQL.
CS3220 Web and Internet Programming SQL and MySQL
Presentation transcript:

Introduction to HIV Databases Alejandro Pironti Dar es Salaam November 14 th, 2011

June 6, 2016 What is a Database? An organized collection of data Usually organized to model relevant aspects of reality Examples: –Rooms in a hotel –Books in a library –Items in a store –Clinical HIV data –Protein data Image:

June 6, 2016 Database Management Systems Digital databases are stored in computers The software collection used to create and manage a database is called a database management system (DBMS) Today, we will focus on a DBMS with a relational model Image:

June 6, 2016 The Relational Database Model Data in a relational database is kept in tables Tables have a fixed structure of rows and columns Tables relate to each other by the means of identifiers called keys A computer language is used to alter and query the database Patients patientID: int Name: varchar Gender: varchar Born: date 1Robert Williams Male14/01/1955 2Jaime Gonzalez Male25/09/1983 3Lisa Schmidt Female30/01/1990 PatientDiagnoses pDiagnoseID : int diagnoseID : int patientID: int statusID: int Diagnosis Date: date /02/ /08/ /10/2011

June 6, 2016 The Relational Database Model Patients patientID: int Name: varchar Gender: varchar Born: date 1Robert Williams Male14/01/1955 2Jaime Gonzalez Male25/09/1983 3Lisa Schmidt Female30/01/1990 Diagnoses diagnoseID: intDiagnose: varchar 1Viral pneumonia 2Nasopharyngitis 3Dengue fever Status statusID: intstatus: int 1Resolved 2On treatment 3Resulted in death PatientDiagnoses pDiagnoseID : int diagnoseID : int patientID: int statusID: int Diagnosis Date: date /02/ /08/ /10/2011

June 6, 2016 The Relational Database Model A data model is needed to store data efficiently Tables represent either entities, e.g. –Patients –Diagnoses –Status or the relationships between the entities, e.g. –Which diagnosis was given to which patient and when –What was the status of a patients diagnosis and when Patients Diagnoses Has diagnosis Status Has patient Has diagnosis

June 6, 2016 Database Models Databases should be capable of holding large amounts of complexly interrelated information Entities and relationships may change Flexibility is required When designing a database, you have to look well ahead

June 6, 2016 Database Models A good compromise between flexibility and ease of use has to be found Separating information into many tables increases flexibility However, this complicates use, since tables have to be joined Image:

June 6, 2016 MySQL Relational database management system SQL: Structured query language Developed in 1994 by Michael Widenius and David Axmark Freely available

June 6, 2016 Important Table Column Characteristics in MySQL Data types: –INT: integer numbers –DECIMAL: floating point numbers –VARCHAR: text –DATETIME: dates and times –DATE: dates Column characteristics: –Primary Key: ID for a row –Not null: Empty entries not allowed –Autoincrement: Automatically increment value (ID assignment) Patients patientID: int Name: varchar Gender: varchar Born: date 1Robert Williams Male14/01/1955 2Jaime Gonzalez Male25/09/1983 3Lisa Schmidt Female30/01/1990 Diagnoses diagnoseID: intDiagnose: varchar 1Viral pneumonia 2Nasopharyngitis 3Dengue fever

June 6, 2016 Steps in Creating a Database 1.Think 1.What do you want to store? 2.What are the requirements? 3.How could the requirements change with time? 2.Design a database model 3.Implement the model in the computer 4.Fill with data

June 6, 2016 Demonstration

June 6, 2016 Creating a Database Scheme A database scheme is a collection of tables create schema schema_name

June 6, 2016 Creating Tables Tables organize information in the database use schema_name create table table_name (column1 type1, column2, type2,…,primary_key(column))

June 6, 2016 Inserting Information Information can be stored in the tables insert into table_name values (value1, value2, …)

June 6, 2016 Retrieving Information: WHERE If we want to retrieve information in tables that fulfills certain characteristics we use WHERE clauses select column1, column2, … from table1, table2, … where column1=property1 and column2 =property2 and …

June 6, 2016 Retreiving Information: JOIN If we want to join two tables we use a JOIN query select column1, column2, … from table1 join table2 on (table1.column1 = table2.column2) where column1=property1 and column2 =property2 and …

June 6, 2016 Summary Data is stored in databases Databases are collections of tables Tables represent real-world objects or notions and the relationships among them You need to put thought into database design MySQL is a popular database management system Basic database commands: –Create Tables –Fill information into tables –Query for specific information in tables and reconstruct relationships among tables

June 6, 2016 EuResist EuResist is a non-profit network composed of members: –The Karolinska Institute, University of Siena, University of Cologne, Max Planck Institute for Informatics, Informa s.r.l. And partners: –IBM Research, Rega Institute, irsiCaixa, CPR-Santé, Centro Hospitalar de Lisboa Ocidental The EuResist Integrated Database (EIDB) a database comprising clinical, demographic, and genomic data of HIV-infected patients: –> patients –> treatments –> Pol sequences –> viral load measurements –>1000 V3 Loops

June 6, 2016 The EuResist Prediction Engine A data-driven system to assist in the selection of combination antiretroviral therapies. Given a viral sequence and a set of drugs, EuResist ranks a list of combination therapies according to their success probability The engine can be provided with additional information in order to enhance prediction accuracy

June 6, 2016 The Statistical Learning Engines The EuResist Prediction Engine is composed of three sub-engines. Each of the engines concentrates on different aspects: –The Evolutionary Engine uses mutagenetic trees to compute the genetic barrier to drug resistance. This feature is used in a logistic regression.

June 6, 2016 The EuResist Prediction Engine is composed of three sub-engines. Each of the engines concentrates on different aspects: –The Generative Discriminative Engine employs logistic regression and a Bayesian network modeling interactions between current and past antiretroviral drugs The Statistical Learning Engines

June 6, 2016 The EuResist Prediction Engine is composed of three sub-engines. Each of the engines concentrates on different aspects: –The Mixture of Effects Engine includes second and third-order variable interactions between drugs and mutations and uses them in a random forest The Statistical Learning Engines

June 6, 2016 The Statistical Learning Engines The EuResist Prediction Engine is composed of three sub-engines. All engines predict therapy success by using logistic regression but concentrate on different aspects: –The predictions of each of the engines are combined into one by consensus, which amounts to the average

June 6, 2016 The Standard Datum Definition In order to be trained, the prediction engines need examples of successful and failing therapies An adequate definition of success and failure is essential for good performance Success: ΔVL ≥ 102 cp/ml or VL ≤ 500 cp/ml at week 8 (within weeks 4-12) Failure: Otherwise

June 6, 2016 EuResist Satellite DB Local database tool for management of HIV patient data Permits uploading of stored data to the EuResist Database, thus facilitating cooperations Freely available at

June 6, 2016 Los Alamos National Laboratory HIV Databases Contains many databases –HIV Sequence Database Sequence Analyses Clinical information –Vaccine Trials Database –CTL/CD8+ T-Cell Epitope Database –T Helper/CD4+ T-Cell Epitope Database –Antibody Database Publicly available on the internet

June 6, 2016 Stanford HIV Database Mutations that arise during antiretroviral therapy Drug susceptibility information for isolates with certain mutations Summaries of clinical studies Collection of treatment change episodes Drug resistance tables Listing of literature evidence for specific mutations Mutations by treatment and subtype Drug-resistance-mutation interpretation tools