Tool to merge many GWAS summary statistics into one file ready to use in MMP.
Documentation for users: Download, Configure and Run.
Want to contribute to the code? Chek the section For developers.
-
Make and go to a directory for MMP::io files, for example:
mkdir ~/mmpio cd ~/mmpio
-
Download mmpio from the release page
-
Move it to the current mmpio directory you created in (1.):
mv ~/Downloads/mmpio-macos-arm64.tar .
-
Extract the archive:
tar -xf mmpio-macos-arm64.tar
Still in the mmpio directory you created in (1.), do:
-
Copy
config.json.sample
toconfig.json
-
Edit
config.json
with name, paths and columns for each of your datasets -
Specify groups of input files to be used for heterogeneity testing.
Your current directory should now be the mmpio directory created in (1.) and it should contain the files mmpio
and config.json
.
Still in the mmpio directory you created in (1.), do:
./mmpio
This outputs a mmp.tsv
file ready for upload on MMP.
Note
macOS users: You may need an extra step to run the downloaded mmpio
binary due to macOS security settings.
Here is how to allow running the mmpio
binary:
xattr -d com.apple.quarantine /path/to/downloaded/mmpio
In order to make changes to the mmpio program, you need to have the following:
- The Go programming language. Installation instructions here: https://go.dev/doc/install
To build the mmpio
binary:
- Clone this git repository.
- Go to the
src
directory within this repository. - Run
go build -v
to make themmpio
binary.