This Julia package performs standard Genome-Wide Association Studies. MendelGWAS is one component of the umbrella OpenMendel project.
Note: The three OpenMendel packages (1) SnpArrays, (2) MendelSearch, and (3) MendelBase must be installed before any other OpenMendel package will run. It is easiest if these three packages are installed in the above order and before any other OpenMendel package.
Within Julia, use the package manager to install MendelGWAS:
pkg> add https://github.com/OpenMendel/MendelGWAS.jl
This package supports Julia v1.0+
To run this analysis package you will need to prepare a Control file and have your data files available. The Control file holds the names of your data files and any optional parameters for the analysis. Details on the general format and contents of the Control and data files can be found on the MendelBase documentation page. Descriptions of the specific options available within the MendelGWAS analysis package are in its documentation page.
There are example data files in the "data" subfolder of each Mendel package.
To run this analysis package, first launch Julia. Then load the package with the command:
julia> using MendelGWAS
Next, if necessary, change to the directory containing your files, for example,
julia> cd("~/path/to/data/files/")
Finally, to run the analysis using the parameters in the control file Control_file.txt use the command:
julia> GWAS("Control_file.txt")
Note: The package is called MendelGWAS but the analysis function is called simply GWAS.
If you use OpenMendel analysis packages in your research, please cite the following reference in the resulting publications:
Zhou H, Sinsheimer JS, Bates DM, Chu BB, German CA, Ji SS, Keys KL, Kim J, Ko S, Mosher GD, Papp JC, Sobel EM, Zhai J, Zhou JJ, Lange K. OPENMENDEL: a cooperative programming project for statistical genetics. Hum Genet. 2020 Jan;139(1):61-71. doi: 10.1007/s00439-019-02001-z. Epub 2019 Mar 26. PMID: 30915546; PMCID: PMC6763373.
This project has been supported by the National Institutes of Health under awards R01GM053275, R01HG006139, R25GM103774, and 1R25HG011845.