Nanguiano Week 9

From LMU BioDB 2015
Revision as of 03:35, 17 September 2016 by Nanguiano (Talk | contribs) (Using SQL Queries to Validate the PostgreSQL Database Results from the TallyEngine: removed question)

Jump to: navigation, search

Running GenMAPP Builder

I followed the process from the Running GenMAPP Builder Tutorial Page.

Software

The following software was utilized:

  1. Any tool that can unpack .gz and .zip files
  2. PostgreSQL on Windows (http://www.enterprisedb.com/products-services-training/pgdownload)
  3. GenMAPP Builder version 3.0.0 build 5 (https://github.com/lmu-bioinformatics/xmlpipedb/releases)
  4. Java JDK 1.8 64-bit
  5. GenMAPP 2 can be downloaded here. The file to download is "GenMAPPv2Setup.exe".
  6. XMLPipeDB match utility (https://sourceforge.net/projects/xmlpipedb/files/) for counting IDs in XML files
  7. Microsoft Access or any other tool that can read .mdb files

Quality Assurance

The template for this information was taken from the Gene Database Testing Report Sample Page.

Export Information

Version of GenMAPP Builder: 3.0.0 build 5

Computer on which export was run: Seaver 120-14, HP LV2311 Windows 7 Enterprise

Postgres Database name: V_Cholerae_20160916_gmbuilder03b5

UniProt XML filename (give filename and upload and link to compressed file): uniprot-organism%3A243277.xml

GO OBO-XML filename (give filename and upload and link to compressed file): go_daily-termdb.obo-xml

GOA filename (give filename and upload and link to compressed file): 46.V_cholerae_ATCC_39315.goa

Name of .gdb file (give filename and upload and link to compressed file): Vc-Std_20160916_NA.gdb

  • Time taken to export: 5.15 hours
    • Start time: 09/16/16, 12:26:08 PM
    • End time: 09/16/16, 7:16:23 PM
      • Note: There was a time during the export in which the computer was locked and not running the export, from 2:56pm - 4:19pm.

TallyEngine

  • The procedure for Tally Engine and the rest of the checks is transcribed from How Do I Count Thee? Let me Count The Ways.
  • I ran TallyEngine in GenMAPP Builder to record the number of records for UniProt and GO in the XML data and in the Postgres databases.
    • I chose the menu item Tallies > Run XML and Database Tallies for UniProt and GO...

Tallyengine Vcholerae results NA.png

    • Count for Ordered Locus: 3,831

Using XMLPipeDB match to Validate the XML Results from the TallyEngine

  • After entering into the directory containing the match utility and the uniprot xml file, I ran the command
java -jar xmlpipedb-match-1.1.1.jar "VC_[0-9][0-9][0-9][0-9]" < uniprot-organism%3A243277.xml
  • It returned a total of 2,738 unique matches.

Xmlpipedb match results NA.png

  • My results were not the same as my results for Tally Engine. Tally Engine returned 3,789 unique matches, while this returned 2,738. This is likely due to potentially due to differently formatted names in the xml file, as we are only checking for names in the structure VC_####.

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

  • Next, I checked the values in SQL to see if they would validate the results from Tally Engine or the match utility.
  • In PgAdminIII, I ran the command:
select count(*) from genenametype where type = 'ordered locus' and value ~ 'VC_[0-9][0-9][0-9][0-9]';

SQL Query Results NA.png

  • The results were not the same as the ones reported by Tally Engine, nor were they the same as the ones reported by the match utility. It returned 2,737 matches, one less than the result returned by the match utility. While it is less than the Tally Engine perhaps due to a different naming convention, I don't fully understand why it would be off by one from the match utility.

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 (2010): Vc-Std_External_20101022

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

  • Original GDB:
  • New GDB:
  • The new gdb had 10 additional tables.
  • The have the same number of OrderedLocusNames, 7,664, but most of the other values are different.

Note:

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?
    • No. The majority of systems to not have a date included in their date field.
  • 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?
    • The UniProt IDs all look correct.
    • The RefSeq IDs also all look correct.
    • The IDs in OrderedLocusNames appear to take two forms: one which is of the form VC_####, and one of the form VC_A####. This seems to prove the hypothesis that the difference between Tally Engine and the match/SQL results was due to a difference in searched names.
      • To test this, the command java -jar xmlpipedb-match-1.1.1.jar "VC_A?[0-9][0-9][0-9][0-9]" < uniprot-organism%3A243277.xml returns 3,831 unique matches, the same as the Tally Engine. Running the command select count(*) from genenametype where type = 'ordered locus' and value ~ 'VC_A?[0-9][0-9][0-9][0-9'; in SQL also returns 3,831. Therefore, I am decently confident that this was the reason the utilities were returning different results. I am still uncertain as to why SQL returned one less value than the match utility at first, before this new filter.

.gdb Use in GenMAPP

Putting a gene on the MAPP using the GeneFinder window

  • In the main GenMAPP Drafting Board window, left-click on the icon for "Gene" in the upper left corner of the window. Click on the Drafting Board to place the Gene on the MAPP. Now, right-click on the gene to access the GeneFinder window. Type or paste a gene ID into the Gene ID field. Select the appropriate Gene ID system from the drop-down menu and click the Search button.
    • I chose the Gene ID "VC0017" from the "OrderedLocusNames" system.
  • Double-clicking the gene to get the backpage returned the following webpage:

Week9 VC0017 Backpage NA.png

  • All crosslinks that were supposed to be present were present.

Creating an Expression Dataset in the Expression Dataset Manager

  • For my expression dataset, I downloaded the text file I had created for GenMAPP last year from the Merrell, et al data.

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:

Links

Nicole Anguiano
BIOL 367, Fall 2015

Assignment Links
Individual Journals
Shared Journals