A previous release had provenance metadata, but this release does not. View details.
This release is a pre-release and may not be stable for production use.
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.
- Core FaST-LMM (notebook) -- Lippert et al., Nature Methods 2011
Improvements:
- New features for single_snp (including effect size and multiple phenotype support) and epistasis (including reporting beta and using pre-computed eigenvalue decompositions) (notebook) -- Lippert et al., Nature Methods 2011
- Ludicrous-Speed GWAS (notebook) -- Kadie and Heckerman, bioRxiv 2018
- Heritability with Spatial Correction (notebook), Heckerman et al., PNAS 2016
- Two Kernels (notebook) -- Widmer et al., Scientific Reports 2014
- Set Analysis (notebook) -- Lippert et al., Bioinformatics 2014
- Epistasis (notebook) -- Lippert et al., Scientific Reports, 2013
- Prediction (notebook) -- Lippert et al., Nature Methods 2011
A C++ version, which is generally less functional, is available. See http://fastlmm.github.io/.
Quick install:
pip install fastlmm
FaST-LMM supports Python 3.11.5 through 3.14. Python 3.15 qualification is in progress.
HDF5 support is optional. To read or write HDF5 files, install:
pip install fastlmm[hdf5]
Existing HDF5 users upgrading from an earlier release should install this extra.
Install fastlmm[hdf5,bgen] to enable both optional formats.
If you need support for BGEN files, instead do:
pip install fastlmm[bgen]
For best performance, be sure your Python distribution includes a fast version of NumPy. We use Anaconda's Miniconda.
GPU and precision features (experimental alpha)
single_snp supports NumPy/CuPy backends and float32/float64 linear algebra.
Explicit xp/dtype override the ARRAY_MODULE/ARRAY_DTYPE environment defaults.
After 1.1.0a1 is published, install it with pip install "fastlmm[cupy]==1.1.0a1".
The extra uses PySnpTools and bed-reader's GPU support and follows CuPy's NVIDIA
CUDA prerequisites. CPU remains the default; Python 3.15 is currently CPU-only.
See the GPU guide
for platform limits and complete examples.
Documentation
- IPython Notebooks:
- Main Documentation
- Project Home and Full Annotated Bibliography
Code
Development
The project uses uv for reproducible development environments, dependency locking, testing, and builds:
uv sync --frozen --extra dev --extra hdf5 --extra bgen
cd tests
uv run --frozen --no-sync python test.py
cd ..
uv build --no-sources
See RELEASING.md for lower-bound, artifact, notebook, and release qualification.
Policy on AI-assisted development and contributions
AI tools may be used as productivity aids for drafting, exploration, and refactoring. Every contributed code or documentation change must be reviewed, edited, and validated by a human. AI does not replace design judgment, testing, or human responsibility for correctness.
The repository's published instructions and constraints for AI tools are in AGENTS.md.
Contacts
- Email the developers at fastlmm-dev@python.org.
- Join the user discussion and announcement list (or use web sign up).
- Open an issue on GitHub.
Metadata
Release files for fastlmm 1.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastlmm-1.1.0a1.tar.gz | 9.5 MB | Without provenance | Details for fastlmm-1.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastlmm-1.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for fastlmm-1.1.0a1-py3-none-any.whl |
Total release size: 19.0 MB
Release files / fastlmm-1.1.0a1.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | fastlmm-1.1.0a1.tar.gz |
|---|---|
| Size | 9.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aef0f8292fa376e7ee69bdfc6901ca94881729dcb6d72b4dcf4da41e06a8dd1e
|
|
BLAKE2b-256 checksum How to use checksums |
eceec812261465cedd694545b75bc0ea6dbf755e12ea29a0b0ace435a72aea6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.15.2
|
Release files / fastlmm-1.1.0a1-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | fastlmm-1.1.0a1-py3-none-any.whl |
|---|---|
| Size | 9.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2d0d0762efaf280747e6419c71c2edd03724233d81ea238aebb22c1e142bf7d
|
|
BLAKE2b-256 checksum How to use checksums |
0c71e0751634365d1efe7ce4e1200d2b7564e457b13df004a2390b938449d888
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.15.2
|
Security for fastlmm 1.1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 1.0.0 2 files With provenance
- Added 1.1.0a1 2 files Without provenance
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.