dalloliogm / snps-database

This URL has Read+Write access

dalloliogm (author)
Thu Oct 15 05:47:18 -0700 2009
commit  1f83884f43a6f8eae70cc542383899a6d983c460
tree    cc4eb09e01eb1f988ee8978f7441dfa3cccfd3fc
parent  d3661e894bfc3e8d5ce7347abcc9240d6496bfb8
name age message
file .gitignore Fri Mar 20 05:29:28 -0700 2009 added gitignore [dalloliogm]
file Makefile Fri Mar 27 03:59:43 -0700 2009 added a makefile in the home dir [dalloliogm]
directory bugs/ Wed Jul 22 02:41:42 -0700 2009 updated and closed some bugs [dalloliogm]
directory docs/ Tue Dec 09 04:00:21 -0800 2008 added a clear_database script (which doesn't work) [dalloliogm]
file readme.txt Tue Feb 03 01:16:39 -0800 2009 added more instruction to the readme [dalloliogm]
directory src/ Loading commit data...
file tutorial.txt Wed Feb 11 09:31:04 -0800 2009 moved tutorial [dalloliogm]
readme.txt
database to handle SNPs data.

To setup the database, edit src/config.txt, and then execute 'make upload_database' from the src dir.

To work with the database, you should move to the src directory, open a python shell, and then import * from 
schema.connection:

$: cd src
$: ipython
>>> from schema.connection import *

Then you will have imported the metadata objects Individual, SNP, etc.. and everything needed to work with the database.

Refer to elixir tutorial for the syntax and an introduction:
- http://elixir.ematia.de/trac/wiki/TutorialDivingIn

Testing: to test the various script, move to the corresponding directories (src/HGDPIO, src/schema) and then use 
nosetests.