DIKU-DevStudio/PerseQ — pull request #50 by paddie (2012-05-31 00:11:06+00:00)
Title: EPIC GWAS IMPORT ERROR

I've been having fevery dreams these last couple of weeks, and I suddenly realized why. The import used one idiotic assumption when loading the GWAS. That each study only references a __single__ disease. This, in retrospect, is obviously not the case, given that multiple GWAS correlations could possibly be identified in a study.

This means that each study now has a list of diseases they reference, instead of just one, and each disease now has many more studies to reference (possibly).

In other words, there is actually a many-to-many relationship between disease and study, whereas the old model only had a one disease to many studies relation.
* added disease <*----*> study relation
* updated templates to reflect this model change