Malverso Week 9

From LMU BioDB 2015
Revision as of 22:17, 3 November 2015 by Malverso (Talk | contribs) (uploaded .gdb file)

Jump to: navigation, search

Export Information

Version of GenMAPP Builder: 3 build 5 Computer on which export was run: NON003461 (Bio Laptop 2) Postgres Database name: vcholerae_20151027_gmb3build5

UniProt XML filename : File:Uniprot-organism-243277.xml.gz

GO OBO-XML filename : File:Go daily-termdb.obo-xml Jwoodlee.gz

  • NOTE: Jake uploaded this file first, which is why when I tried to upload it, the website informed me that his was an exact copy. That is why his name is in the file name.
  • GO OBO-XML version (The version information can be found in the file properties after the file downloaded from the GO Download page has been unzipped): Last modified 10/27/2015 3:24 am
  • GO OBO-XML download link: [1]
  • Time taken to import to GenMAPP Builder: 8.20 minutes
  • Time taken to process: 6.45 minutes

GOA filename : File:46.V cholerae ATCC 39315.zip

  • GOA version : Last modified 10/13/2015 6:31 am
  • GOA download link: [2]
  • Time taken to import: .07 minutes
    • Note: file was last modified 13 Oct 20016 at 07:31

Name of .gdb file : File:Vc-Std 20151027 MA.zip

  • Time taken to export: 8 hours, 48 minutes, 26 seconds
    • Start time: 3:55:30 PM
    • End time: 12:43:56 AM
    • This was a much longer export time than others, maybe because I used a laptop.

Note: Export in progress says 1% but is broken, it will skip up eventually. I also left the classroom before the export completed and Dr.Dahlquist recorded my end time.

TallyEngine

  • I Ran the TallyEngine in GenMAPP Builder and recorded 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...
    • I Took a screenshot of the results and uploaded the image below.


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?

  • Not at first. I got 2738 for the number of vibrio cholerae genes using the command java -jar xmlpipedb-match-1.1.1.jar "VC_[0-9][0-9][0-9][0-9]" < "uniprot-taxonomy%3A243277.xml"
  • TallyEngine gave the number 3831 (ordered locus names) for both XML and Postgres.
  • This is a big difference.
  • So I made a new match command:
java -jar xmlpipedb-match-1.1.1.jar "VC_A?[0-9][0-9][0-9][0-9]" < "uniprot-taxonomy%3A243277.xml"
  • This takes into account that many genes have an A in their names. Also, every gene has a double but we only need to count one of each.
  • I got the same answer, 3831 when I used this command.

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.

Pgadminiii-query.png

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

  • I got 2737 at first, which is a different number.
  • This is because those with A's in their names are not accounted for.
  • Using the new SQL pattern:
select count(*) from genenametype where type = 'ordered locus' and value ~ 'VC_A?[0-9][0-9][0-9][0-9]';
  • This returned 3831, which is the same value the other methods used.

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.

  • I got 7664 OrderedLocusNames using the OrigonalRowCounts on Microsoft Access for both .gdb files.
  • On the OrigonalRowCounts table for my database, the values were often higher than the benchmark. For example, for the GeneOntology and Uniprot tables.
  • Looking at the orderedLocusNames in my database, I found that:
    • some of the names begin with VCA, not all begin with VC. ALso, some have underscores and some don't. About twice as many in this table than the tallyEngine results.
    • This is because every gene has a two versions - one with an underscore and one without.

Benchmark .gdb file:

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

Note: The benchmark .gdb file was downloaded at sourceforge

Visual Inspection

  • Look at the Systems table. Is there a date in the Date field for all gene ID systems present in the database?
  • No, many of them do not have dates. All that had dates had the same date => 10/27/2015.
  • 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?
  • On the Uniprot table they all seem to have the same type of ID.
  • On RefSeq there seems to be two different types of IDs used, one beginning with NP and another with WP.
  • On OrderedLocusNames there seems to be four different ID beginnings: VC, VC_, VCA, and VCA_.

.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

  • I opened GenMAPP and chose my Vc-Std_20151027_MA.gdb file as the database.
  • I clicked on 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:



Team Page

Heavy Metal HaterZ

Assignments

Individual Journal Entries

Shared Journal Entries