Chapter 7 Data Integration

(Integration of biological data; Identifier mapping; Entrez; UniProt; BioMart. ID mapping service and match() function.)

7.1 Overview

7.1.1 Abstract:

Data integration is a challenging problem. This unit discusses the issues and how the large databases solve this with NCBI's Entrez system and the EBI's UniProt Knoledeg Base and BioMart System. R coding exercises put some technical issues in practice.

7.1.2 Objectives:

This unit will:

  • introduce issue of database integration and how the NCBI and the EBI address this;
  • demonstrate use of Entrez, UniProt and BioMart;
  • teach ID mapping techniques with R.

7.1.3 Outcomes:

After working through this unit you:

  • are familar with the NCBI and EBI query and retrieval systems;
  • can use BioMart bot online and in R code;
  • can retrieve ID cross references via scripts and match IDs in large tables with R's match() function.

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

7.1.5 Prerequisites:

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

BIN-Databases (Bioinformatics Databases)
BIN-EBI (Databases and services at the EBI)
BIN-FUNC-Databases (Molecular Function Databases)
BIN-Miscellaneous_DB (Miscellaneous Databases for Bioinformatics)
BIN-NCBI (The NCBI Database and Services)
BIN-PDB (The RCSB-PDB Structure Database)

7.2 Task 15 - Data integration

7.3 Task 16 - Uniprot mapping service

  • Visit the UniProt ID mapping service, enter NP_010227 into the identifier field, select options from RefSeq Protein to UniProtKB and click Go.
  • Confirm that this retrieved the right identifier.
  • Also note that you could have searched with a list of IDs, and downloaded the results, e.g. for further processing in R.

7.4 Task 17

  • Open RStudio and load the ABC-units R project. If you have loaded it before, choose File → Recent projects → ABC-Units. If you have not loaded it before, follow the instructions in the RPR-Introduction unit.
  • Choose Tools → Version Control → Pull Branches to fetch the most recent version of the project from its GitHub repository with all changes and bug fixes included.
  • Type init() as requested.
  • Open the file BIN-Data_integration.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.

7.5 Task 18

7.6 Self-evaluation