thehyve/GWAVA

Name: GWAVA

Owner: The Hyve

Description: Genome Wide Association Study Visualizer (LODZ2 project)

Created: 2017-05-03 09:24:29.0

Updated: 2017-05-19 06:58:01.0

Pushed: 2017-07-26 08:46:06.0

Homepage:

Size: 28460

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Genome-Wide Association Visual Analyzer for tranSMART

This is an instruction of how to generate a gwava war file to work with 17.1 version of tranSMART. It relates to https://github.com/thehyve/transmart-core/ repository.

1. Required libraries

The following libraries must be present in /lib folder:

2. Configuration
Settings required for tranSMART configuration file:
def gwavaEnabled??????= true
...
/* {{{ Spring Security configuration */    
grails { plugin { springsecurity {
    ...
    if (useRequestMap) { ... }
    else {
        def gwavaMappings = [
             [pattern: '/gwasWeb/**', access: ['IS_AUTHENTICATED_ANONYMOUSLY']],
        ]
        ...
        interceptUrlMap = [ ... ] +
        (gwavaEnabled ?  gwavaMappings : []) +
        [
            [pattern: '/**', access: ['IS_AUTHENTICATED_REMEMBERED']], // must be last
        ]
        ...
     }
     ...
}}}                
...
/* {{{ gwava */
if (org.transmartproject.app.gwavaEnabled) {
    // assume deployment alongside transmart
    com { recomdata { rwg { 
        webstart {
            def url       = new URL(org.transmartproject.app.transmartURL)
            codebase      = "$url.protocol://$url.host${url.port != -1 ? ":$url.port" : ''}/gwava"
            jar           = './ManhattanViz2.1k.jar'
            mainClass     = 'com.pfizer.mrbt.genomics.Driver'
            gwavaInstance = 'transmartstage'
            transmart.url = org.transmartproject.app.transmartURL - ~'\\/$'
       } 
       qqplots {
           cacheImages = jobsDirectory + '/cachedQQplotImages/'
           temporaryImageFolder = '/images/tempImages/'
           temporaryImageFolderFullPath = explodedWarDir + temporaryImageFolder
       }
       manhattanplots {
           cacheImages = jobsDirectory + '/cachedManhattanplotImages/'
           temporaryImageFolder = '/images/tempImages/'
           temporaryImageFolderFullPath = explodedWarDir + temporaryImageFolder
       }
   } } }
}
...
Settings for build.xml:
3. Generating a war file

IMPORTANT! Oracle Java 7 Web Start (default webStartProvider for Linux) is working only when war is built using JAVA7

Run:

ant transmartwar 

War file will be created inside /dist folder.

4. Test data

17.1 tranSMART test data contains a study called MAGIC, however, it is not a part of basic transmart-data loading scripts. It can be loaded using transmart-batch. Check https://github.com/thehyve/transmart-core/tree/master/transmart-batch/ for more detailed instructions.

License

Copyright © 2014-2017 Pfizer Inc.

Genome-Wide Association Visual Analyzer for tranSMART is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.