Skip to main content

Fast GWAS

Project description

FaST-LMM

FaST-LMM, which stands for Factored Spectrally Transformed Linear Mixed Models, is a program for performing genome-wide association studies (GWAS) on datasets of all sizes, up to one millions samples.

This release contains the following features, each illustrated with an IPython notebook.

Improvements:

A C++ version, which is generally less functional, is available. See http://fastlmm.github.io/.

Quick install:

If you have Miniconda or Anaconda installed, installation is as easy as:

conda install "mkl==2019.4" "scipy" "numpy"
pip install --no-build-isolation fastlmm

Documentation

Code

Contacts

Installing for developers and regression tests

When working on the developer version, first add the src directory of the package to your PYTHONPATH environment variable.

For building C-extensions, first make sure all of the above dependencies are installed (including cython)

To build extension (from .\src dir), type the following at the OS prompt:

python setup.py build_ext --inplace

Don't forget to set your PYTHONPATH to point to the directory above the one named fastlmm in the fastlmm source code. For e.g. if fastlmm is in the [somedir] directory, then in the unix shell use:

export PYTHONPATH=$PYTHONPATH:[somedir]

Or in the Windows DOS terminal, one can use:

set PYTHONPATH=%PYTHONPATH%;[somedir]

(or use the Windows GUI for env variables).

Note for Windows: You must have Visual Studio installed.

Running regression tests

From the directory tests at the top level, run:

python test.py

This will run a series of regression tests, reporting "." for each one that passes, "F" for each one that does not match up, and "E" for any which produce a run-time error. After they have all run, you should see the string "............" indicating that they all passed, or if they did not, something such as "....F...E......", after which you can see the specific errors.

Note that you must use "python setup.py build_ext --inplace" to run the regression tests, and not "python setup.py install".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastlmm-0.5.10.tar.gz (58.7 MB view hashes)

Uploaded Source

Built Distributions

fastlmm-0.5.10-cp39-cp39-win_amd64.whl (10.9 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

fastlmm-0.5.10-cp39-cp39-macosx_10_9_x86_64.whl (10.9 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

fastlmm-0.5.10-cp38-cp38-win_amd64.whl (10.9 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

fastlmm-0.5.10-cp38-cp38-macosx_10_9_x86_64.whl (10.9 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

fastlmm-0.5.10-cp37-cp37m-win_amd64.whl (10.9 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

fastlmm-0.5.10-cp37-cp37m-macosx_10_9_x86_64.whl (10.9 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page