If you want to use the MetaXcan suite of tools, you will need to format your prediction weights in sqlite format.

how to convert fusion weights to predictdb format (sqlite)

Find a sample script that formats FUSION weights to predictdb format here

how to compute covariances between SNPs to use summary PrediXcan

If you want to use the summary version of PrediXcan, you will also need the covariances between SNPs Fine a sample script here

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The source code is licensed under MIT.

Suggest changes

If you find any mistakes (including typos) or want to suggest changes, please feel free to edit the source file of this page on Github and create a pull request.

Citation

For attribution, please cite this work as

Sabrina Mi (2020). Converting Fusion weight to PredictDB format. ImLab Notes. /post/2020/06/22/fusion-to-predictdb-format/

BibTeX citation

@misc{
  title = "Converting Fusion weight to PredictDB format",
  author = "Sabrina Mi",
  year = "2020",
  journal = "ImLab Notes",
  note = "/post/2020/06/22/fusion-to-predictdb-format/"
}