Quickdraws is a software tool for performing Genome-Wide Association Studies (GWAS)
Project description
Quickdraws
Quickdraws relies on cuda-enabled pytorch for speed, and it is expected to work on most cuda-compatible Linux systems.
Installation
It is strongly recommended to either set up a python virtual environment, or a conda environment:
Python virtual environment
python -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel
Conda environment
conda create -n quickdraws python=3.11 -y
conda activate quickdraws
pip install --upgrade pip setuptools wheel
Install pytorch and quickdraws
It is necessary for anything bigger than toy examples to use either:
- on Linux, a cuda-enabled version of pytorch
- on macOS, the latest nightly build of pytorch, which can leverage the MPS backend
Use the pytorch configuration helper to find suitable installation instruction for your system. The code snippets below will probably work for most systems, and should install quickdraws in approximately 10 minutes:
Linux
pip install torch --index-url https://download.pytorch.org/whl/cu118
pip install quickdraws
macOS
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
pip install quickdraws
Running example
Once you install quickdraws
, three executables should be available in your path:
convert-to-hdf5
quickdraws-step-1
quickdraws-step-2
.
Clone the Git repository to access the example data and script demonstrating how these can be used:
git clone https://github.com/PalamaraLab/quickdraws.git
cd quickdraws
bash run_example.sh
Local development
To make changes to the quickdraws sourcecode, obtain the repository and install it using poetry. Assuming you have poetry installed:
git clone https://github.com/PalamaraLab/quickdraws.git
cd quickdraws
poetry install
Documentation
See https://github.com/PalamaraLab/quickdraws/wiki/Quickdraws-GWAS-Software-Documentation
Summary Statistics for some UKB traits
See https://www.stats.ox.ac.uk/publication-data/sge/ppg/quickdraws/
Contact information
For any technical issues please contact Hrushikesh Loya (loya@stats.ox.ac.uk)
Citation
Loya et al., "A scalable variational inference approach for increased mixed-model association power" under review
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
Built Distribution
File details
Details for the file quickdraws-0.0.4.tar.gz
.
File metadata
- Download URL: quickdraws-0.0.4.tar.gz
- Upload date:
- Size: 55.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b7bdc556fef1b6c5c6a15048f03754a923b8f90384360455b9a5f7da9884c1 |
|
MD5 | 12ea16ec5502358f2f76dba4552a99cf |
|
BLAKE2b-256 | 3e41c75dd7963220194e68c6dbfdfa442b5b0254f2d1ab78d9d2fffd0808d768 |
File details
Details for the file quickdraws-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: quickdraws-0.0.4-py3-none-any.whl
- Upload date:
- Size: 64.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1a7e7b7fecd2928e727ac3a12caf8ffce1a37911fa17d862e2c0aecd3ab16f |
|
MD5 | 339b044a48ef9dbea42ccd6e7f7f5341 |
|
BLAKE2b-256 | e4fc6da3bd44105388ced7112b099c4d72631b42992de87238315ff228b42088 |