How to prepare an input file for MMP
Last updated
Was this helpful?
Last updated
Was this helpful?
See a tutorial video on how to use the Multiple Manhattan Plot (MMP) tool from the .
Prepare an input file for the Multiple Manhattan Plot (MMP) tool on your local machine. MMP uses GWAS summary data that is for and for . You can also use your own or external summary stats as input. For summary stats created with other tools (e.g. ) make a to get the summary data out of the Sandbox and into the Green Downloads bucket. Do not use FinnGen Sandbox for MMP input file preparation as it will slow down your analysis due to the need for and cause extra admin work.
The program MMP::io that creates the input file for MMP is available at:
See also a (at 25min 23sec) including usage of Multiple Manhattan Plot tool.
Download the MMP::io binary program from GitHub:
Download the program matching your platform
Extract this .tar file (e.g. tar -xf mmpio-linux-x86-64.tar
)
You should now have a mmpio
file and a config.json.sample
file in your working directory
MMP::io needs to know where to find your GWAS summary stats, and what column names are used for chromosome, reference, etc.
This is done by:
Copying the file config.json.sample
to config.json
Editing this config.json
with the paths to the GWAS summary stats and info about the column names
Here is an example of what the config.json file can look like once correctly edited:
On the common line, go to the directory containing the files mmpio
and config.json
. Then run the program:
The program will read all variants below the given significance threshold in each configured summary stat file. It will then take the union of these variants and print out stats from each summary stat file for the union of the variants (NA will be printed if a variant is missing in a summary stat).
While MMP::io is running it will output something like this:
If you needed you can change the configuration in config.json
and run MMP::io again with ./mmp
Go to MMP::io release page:
When the program is finnished you will have a mmp.tsv
file that ready for .