This KBase module is an application wrapper for the command line application GEMMA.
GEMMA is open source software and supported by this repo.
GEMMA_GWAS has only a single user interface method for accepting a KBase Trait Matrix and Variation object for running the GWAS analysis.
Currently, GEMMA_GWAS supports only output of the normal delimited GEMMA output file, and an interactive
The following consists of a video tutorial for the GEMMA_GWAS analysis pipeline.
Metadata object utilize the Attribute Mapping data object and the the Import TSV/Excel as Attribute Mapping... as the the import application.
Using the metadata objects created in the previous step we import and validate (against the metadata files), a trait matrix object. You will need to make sure every column header in the trait matrix exists in the trait metadata file and every trait in the row header column exists within the trait meta object.
Using the Import Variation application from the VariationUtils module we can import Variant Call Format (VCF) files as KBase variantion objects.
Note: Variation files are often very large and require the assistance of uploading and/or endpoint services to get into the KBase staging, please refer to globus for instructions on this.
After we created the inputs for our GEMMA_GWAS application we can execute the application. You can select either a multivariate model or univariate model currently. The univariate model seeks to identify genomic locations associated with each individual trait, while the mutlivariate model seeks to identify locations within the genome associated to each trait collectively in the supplied trait matrix object.
Add your KBase developer token to test_local/test.cfg and run the following:
$ make
$ kb-sdk testAfter making any additional changes to this repo, run kb-sdk test again to verify that everything still works.
To use this code in another SDK module, call kb-sdk install GEMMA_GWAS in the other module's root directory.
You may find the answers to your questions in our FAQ or Troubleshooting Guide.



