User Tools

Site Tools


userguide:export_db

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
userguide:export_db [2009/02/03 13:28]
132.168.73.124
userguide:export_db [2012/03/02 14:58]
132.168.72.131
Line 1: Line 1:
-===== Database Export =====+====== Database Export =====
 +Many validated identification results can be exported within a relational database.  
 +This feature requires :  
 +  * Postgresql 8.x, 9.x (test done on 8.1, 8.4, 9.1) 
 +  * an existing database 
 + 
 +For more information on MSI db, see [[..:​msidb|corresponding page]] 
 + 
 +===== Installing a database ===== 
 + 
 +==== Installing Postgresql ==== 
 +{{:​userguide:​postgres-install-msi.png?​400}} 
 +  * Execute PostgreSQL 8.1.msi 
 +  * Follow instructions 
 +  * Note : master password needs to be set at this stage 
 + 
 + 
 +=== Setting up a database === 
 +{{:​userguide:​setting-up-database.png?​600}} 
 + 
 +{{:​userguide:​setting-up-database-2.png?​600}} 
 + 
 +Under user « postgres » : 
 +  * Connect to database (dble_click) 
 +  * Create new user « example » with permission to login and create a database 
 +  * Disconnect from database (R-click) 
 +  * Reconnect under « example » username (cf. above) 
 +{{:​userguide:​setting-up-database-3.png?​500}} 
 + 
 +{{:​userguide:​setting-up-database-4.png?​600}} 
 +  * Select database Uppsala and click the button « execute arbitraty sql queries » 
 +  * In query window select file/open  
 +  * Select the file MSIDBModel (previously named ExportDBModel) included in the IRMa installation folder 
 +  * All the queries necessary to create the MSidb are now open 
 + 
 +{{:​userguide:​setting-up-database-5.png?​500}} \\ 
 +{{:​userguide:​setting-up-database-6.png?​400}} \\  
 +{{:​userguide:​setting-up-database-7.png?​400}} \\ 
 +  * Execute the queries 
 +  * The database gets populated with all the tables IRMa needs to store identifications data 
 + 
 + 
 +===== Connecting to a database ===== 
 +  * Disconnect from the database and quit pgAdmin III 
 +  * Go back to IRMa 
 +  * In IRMa preferences select the DB export tab 
 +  * Under Connection settings, select Edit 
 +{{:​userguide:​connecting-to-database-1.png?​300}} 
 + 
 +  * Test connexion to make sure you can access the DB 
 +{{:​userguide:​connecting-to-database-2.png?​300}}{{:​userguide:​connecting-to-database-3.png?​250}} 
 + 
 +  * Make sure that under the tab « Saved elements » you deselect the export of unassigned queries and peptides (this slows down the transfer and tracks quite useless information) 
 +{{:​userguide:​connecting-to-database-4.png?​300}} \\ 
 + 
 + 
 +  * {{:​userguide:​connecting-to-database-5.png?​500}} 
 + 
 +  * **You’re ready to export** 
 +{{:​userguide:​connecting-to-database-6.png?​500}} 
 + 
  
-Validated identification results can be exported whithin a relational database :  
-  * [[{{:​userguide:​msidbmodel.png|model version 18}}]] 
-  * {{:​userguide:​msimodel_d1.pdf|model version D.1}} 
userguide/export_db.txt · Last modified: 2016/07/25 10:54 by 132.168.72.225