Difference between revisions of "Blitvak Week 9"

From LMU BioDB 2015
Jump to: navigation, search
(added file retrieval info)
(added some details about the files, added links)
Line 1: Line 1:
 
==Initial Preparations==
 
==Initial Preparations==
 
''List of required programs was initially sourced from the [[Running GenMAPP Builder | Running GenMAPP Builder page]]''
 
''List of required programs was initially sourced from the [[Running GenMAPP Builder | Running GenMAPP Builder page]]''
''One of the key final goals is to perform an export of a ''Vibrio cholerae Gene Database'' GenMAPP Gene Database''
+
 
 +
''One of the final goals is to perform an export of a ''Vibrio cholerae GenMAPP Gene Database''
 +
 
 
In preparation for this assignment, it was ensured that these programs were installed on a Windows workstation:
 
In preparation for this assignment, it was ensured that these programs were installed on a Windows workstation:
 
*[http://www.7-zip.org/ 7-zip] for the unpacking of compressed files
 
*[http://www.7-zip.org/ 7-zip] for the unpacking of compressed files
 
*[http://www.enterprisedb.com/products-services-training/pgdownload PostgreSQL]
 
*[http://www.enterprisedb.com/products-services-training/pgdownload PostgreSQL]
*[https://sourceforge.net/projects/xmlpipedb/files/ | GenMAPP Builder]
+
*[https://sourceforge.net/projects/xmlpipedb/files/ GenMAPP Builder]
 
*[http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Java JDK 1.8 64-bit] (download jdk-8u65-windows-x64.exe)
 
*[http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Java JDK 1.8 64-bit] (download jdk-8u65-windows-x64.exe)
*[https://github.com/GenMAPPCS/genmapp | GenMAPP 2] (download GenMAPPv2Setup.exe)
+
*[https://github.com/GenMAPPCS/genmapp GenMAPP 2] (download GenMAPPv2Setup.exe)
*[https://sourceforge.net/projects/xmlpipedb/files/) | XMLPipeDB ''match'' utility]
+
*[https://sourceforge.net/projects/xmlpipedb/files/) XMLPipeDB ''match'' utility]
 
*A program that is able to read .mdb files (such as Microsoft Access)
 
*A program that is able to read .mdb files (such as Microsoft Access)
 
==Downloading the Required Files==
 
==Downloading the Required Files==
 +
''List of required files was initially sourced from the [[Running GenMAPP Builder | Running GenMAPP Builder page]]''
 
===Retrieving the UniProt XML file, Performed on 10/27===
 
===Retrieving the UniProt XML file, Performed on 10/27===
 
*The [http://www.uniprot.org/taxonomy/complete-proteomes UniProt Complete Proteomes] page was entered
 
*The [http://www.uniprot.org/taxonomy/complete-proteomes UniProt Complete Proteomes] page was entered
Line 24: Line 27:
 
*The GO OBO-XML file was downloaded from the [http://geneontology.org/page/download-ontology#Legacy_Downloads Gene Ontology download page]
 
*The GO OBO-XML file was downloaded from the [http://geneontology.org/page/download-ontology#Legacy_Downloads Gene Ontology download page]
 
*"obo-xml.gz" was selected/clicked under Legacy Downloads
 
*"obo-xml.gz" was selected/clicked under Legacy Downloads
 
+
===Downloading/Updating GenMAPP Builder,Performed on 10/27===
 
+
*The files were downloaded from the [https://github.com/lmu-bioinformatics/xmlpipedb/releases XMLPipeDB releases page on GitHub]
 
+
*[https://github.com/lmu-bioinformatics/xmlpipedb/releases/download/gmbuilder-3.0.0-build-5/gmbuilder-3.0.0-build-5.zip Download link for gmbuilder-3.0.0-build-5 (the version used in this assignment)]
 
+
**'''All of the downloaded files, if compressed, were extracted using 7-Zip. All required files were placed in one folder'''
 +
==Gene Database Testing Report==
 
===Export Information===
 
===Export Information===
 
 
Version of GenMAPP Builder: 3.0.0-build-5
 
Version of GenMAPP Builder: 3.0.0-build-5
  
Line 36: Line 39:
 
Postgres Database name: V.cholerae_20151027_gmb3build5
 
Postgres Database name: V.cholerae_20151027_gmb3build5
  
UniProt XML filename (give filename and upload and link to compressed file):
+
UniProt XML filename: [[Media:uniprot-organism_BL_20151027.xml.gz|compressed uniprot-organism%3A243277_BL_20151027.xml]]
* UniProt XML version (The version information can be found at [http://uniprot.org/news the UniProt News Page]):  
+
* UniProt XML version (found out using the [http://www.uniprot.org/help/?fil=section:news UniProt News Page]: UniProt release 2015_10
 
* UniProt XML download link: http://www.uniprot.org/uniprot/?query=organism:243277#
 
* UniProt XML download link: http://www.uniprot.org/uniprot/?query=organism:243277#
 
* Time taken to import: 2.99 minutes
 
* Time taken to import: 2.99 minutes
** Note:  
+
** Note: Import times were as expected; nothing unusual occurred during the import process.
  
GO OBO-XML filename (give filename and upload and link to compressed file):
+
GO OBO-XML filename: [[Media:BL 20151027 go daily-termdb.zip|compressed BL_20151027_go_daily-termdb.obo-xml]]
* GO OBO-XML version (The version information can be found in the file properties after the file downloaded from the [http://beta.geneontology.org/page/download-ontology GO Download page] has been unzipped): ''Date modified - 10/27/2015 2:24 AM''
+
* GO OBO-XML version (derived from the date modified on the file, itself): Date modified - ''10/27/2015 2:24 AM''
 
* GO OBO-XML download link: [http://geneontology.org/page/download-ontology#Legacy_Downloads GO website]
 
* GO OBO-XML download link: [http://geneontology.org/page/download-ontology#Legacy_Downloads GO website]
 
* Time taken to import: 6.98 minutes
 
* Time taken to import: 6.98 minutes
 
* Time taken to process: 4.54 minutes
 
* Time taken to process: 4.54 minutes
** Note:
+
** Note: Import times were as expected; nothing unusual occurred during the import process.
  
GOA filename (give filename and upload and link to compressed file):
+
GOA filename: [[Media:46.V_cholerae_ATCC_39315_BL_20151027.zip| compressed 46.V_cholerae_ATCC_39315_BL_20151027.goa]]
* GOA version (News on [http://www.ebi.ac.uk/GOA/ this page] records past releases; current information can be found in the Last modified field on the [ftp://ftp.ebi.ac.uk/pub/databases/GO/goa/proteomes/ FTP site]):  
+
* GOA version (taken from [http://ftp.ebi.ac.uk/pub/databases/GO/goa/proteomes/ here]: Last Update - ''13-Oct-2015 07:31''
 
* GOA download link: [http://ftp.ebi.ac.uk/pub/databases/GO/goa/proteomes/46.V_cholerae_ATCC_39315.goa link]
 
* GOA download link: [http://ftp.ebi.ac.uk/pub/databases/GO/goa/proteomes/46.V_cholerae_ATCC_39315.goa link]
 
* Time taken to import: 0.06
 
* Time taken to import: 0.06
** Note:
+
** Note: Import times were as expected; nothing unusual occurred during the import process.
  
Name of .gdb file (give filename and upload and link to compressed file): Vc-Std_20151027_BL.gdb
+
Name of .gdb file: [[Media:Vc-Std_20151027_BL.zip | compressed Vc-Std_20151027_BL.gdb]]
 
* Time taken to export: one hour and nineteen minutes
 
* Time taken to export: one hour and nineteen minutes
 
** Start time: 3:56
 
** Start time: 3:56
 
** End time: 5:15
 
** End time: 5:15
 
+
Note: Export times were as expected; nothing unusual occurred during the export process. Program windows, however, were closed by the time the export product was observed; the time taken to export was found out by observing the time on the Date Modified part of the produced file. The found end time was in line with the times found by others (ranged around an hour and 15 minutes)
Note:
+
  
 
===TallyEngine===
 
===TallyEngine===

Revision as of 23:17, 31 October 2015

Initial Preparations

List of required programs was initially sourced from the Running GenMAPP Builder page

One of the final goals is to perform an export of a Vibrio cholerae GenMAPP Gene Database

In preparation for this assignment, it was ensured that these programs were installed on a Windows workstation:

Downloading the Required Files

List of required files was initially sourced from the Running GenMAPP Builder page

Retrieving the UniProt XML file, Performed on 10/27

  • The UniProt Complete Proteomes page was entered
  • The Superkingdom Bacteria was selected and Reference proteome was clicked on (72 results currently)
  • "vibrio cholerae" was added to the search bar and search was clicked upon. The results were filtered to the only proteome of interest (Vibrio cholerae serotype O1 (strain ATCC 39315 / El Tor Inaba N16961))
  • The result was clicked upon and, on the result page, UniProtKB was clicked upon in the "Map to" section (on left of the page)
  • On the UniProtKB results page, Download was clicked; in the box that appeared, download all was selected, the format was set to XML, and the file was set to be compressed.

Retrieving the GOA file, Performed on 10/27

  • The UniProt-GOA ftp site was entered
  • The link to the "proteomes" directory was clicked in the main directory
  • In "proteomes", the file V_cholerae_ATCC_39315.goa was searched for, found, and downloaded by using right-click with "Save link as"

Retrieving the GO OBO-XML file, Performed on 10/27

Downloading/Updating GenMAPP Builder,Performed on 10/27

Gene Database Testing Report

Export Information

Version of GenMAPP Builder: 3.0.0-build-5

Computer on which export was run: Workstation in Seaver 120

Postgres Database name: V.cholerae_20151027_gmb3build5

UniProt XML filename: compressed uniprot-organism%3A243277_BL_20151027.xml

GO OBO-XML filename: compressed BL_20151027_go_daily-termdb.obo-xml

  • GO OBO-XML version (derived from the date modified on the file, itself): Date modified - 10/27/2015 2:24 AM
  • GO OBO-XML download link: GO website
  • Time taken to import: 6.98 minutes
  • Time taken to process: 4.54 minutes
    • Note: Import times were as expected; nothing unusual occurred during the import process.

GOA filename: compressed 46.V_cholerae_ATCC_39315_BL_20151027.goa

  • GOA version (taken from here: Last Update - 13-Oct-2015 07:31
  • GOA download link: link
  • Time taken to import: 0.06
    • Note: Import times were as expected; nothing unusual occurred during the import process.

Name of .gdb file: compressed Vc-Std_20151027_BL.gdb

  • Time taken to export: one hour and nineteen minutes
    • Start time: 3:56
    • End time: 5:15

Note: Export times were as expected; nothing unusual occurred during the export process. Program windows, however, were closed by the time the export product was observed; the time taken to export was found out by observing the time on the Date Modified part of the produced file. The found end time was in line with the times found by others (ranged around an hour and 15 minutes)

TallyEngine

  • Run the TallyEngine in GenMAPP Builder and record the number of records for UniProt and GO in the XML data and in the Postgres databases.
    • Choose the menu item Tallies > Run XML and Database Tallies for UniProt and GO...
    • Take a screenshot of the results. Upload the image to the wiki and display it on this page.

TallyEngine Results BL 20151029.png

Using XMLPipeDB match to Validate the XML Results from the TallyEngine

Follow the instructions found on this page to run XMLPipeDB match.

Are your results the same as you got for the TallyEngine? Why or why not?

  • 2738 unique matches were found through XMLPipeDB match

Using SQL Queries to Validate the PostgreSQL Database Results from the TallyEngine

For more information, see this page.

You can also look for counts at the SQL level, using some variation of a select count(*) query. This requires some knowledge of which table received what data. Here’s an initial tip: the gene/name tags in the XML file land in the genenametype table. A query on this table counting values from this table that were marked as ordered locus in the XML file matching the pattern VC_[0-9][0-9][0-9][0-9] would look like this:

select count(*) from genenametype where type = 'ordered locus' and value ~ 'VC_[0-9][0-9][0-9][0-9]';

In pgAdmin III, you can issue these queries by clicking on the pencil/SQL icon in the toolbar, typing the query into the SQL Editor tab, then clicking on the green triangular Play button to run.

Are your results the same as reported by the TallyEngine? Why or why not?

  • 2737 unique matches were found in pgAdmin III (postgres db)

OriginalRowCounts Comparison

Within the .gdb file, look at the OriginalRowCounts table to see if the database has the expected tables with the expected number of records. Compare the tables and records with a benchmark .gdb file.

Benchmark .gdb file:

7664 unique matches found using Microsoft Access


Copy the OriginalRowCounts table from the benchmark and new gdb and paste them here:

Note: Some IDs have underscores, some have four numbers, and some have the letter A

Visual Inspection

Perform visual inspection of individual tables to see if there are any problems.

  • Look at the Systems table. Is there a date in the Date field for all gene ID systems present in the database?
  • Open the UniProt, RefSeq, and OrderedLocusNames tables. Scroll down through the table. Do all of the IDs look like they take the correct form for that type of ID?

Note: select count(*) from genenametype where type = 'ordered locus' and value ~ 'VC_A?[0-9][0-9][0-9][0-9]';

.gdb Use in GenMAPP

Note:

Putting a gene on the MAPP using the GeneFinder window

  • Try a sample ID from each of the gene ID systems. Open the Backpage and see if all of the cross-referenced IDs that are supposed to be there are there.

Note:

Creating an Expression Dataset in the Expression Dataset Manager

  • How many of the IDs were imported out of the total IDs in the microarray dataset? How many exceptions were there? Look in the EX.txt file and look at the error codes for the records that were not imported into the Expression Dataset. Do these represent IDs that were present in the UniProt XML, but were somehow not imported? or were they not present in the UniProt XML?

Note:

Coloring a MAPP with expression data

Note:

Running MAPPFinder

Note:


Compare Gene Database to Outside Resource

The OrderedLocusNames IDs in the exported Gene Database are derived from the UniProt XML. It is a good idea to check your list of OrderedLocusNames IDs to see how complete it is using the original source of the data (the sequencing organization, the MOD, etc.) Because UniProt is a protein database, it does not reference any non-protein genome features such as genes that code for functional RNAs, centromeres, telomeres, etc.

Note:






Downloaded on 10/27

  • The complete proteome for V. cholerae was downloaded from UniProtKB in the XML format
  • The GOA file for V. cholerae was downloaded from this link
  • The GO OBO-XML formatted file for V. cholerae was downloaded from GO website
  • The most recent version (3.0.0, build 5) of gmBuilder was downloaded from GitHub


Brandon Litvak
BIOL 367, Fall 2015

Weekly Assignments Individual Journal Pages Shared Journal Pages