Skip to main content
Quickdraws Logo

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:

  1. on Linux, a cuda-enabled version of pytorch (now available by default from PyPI)
  2. on macOS, the latest pytorch, which can leverage the MPS backend

Use the pytorch configuration helper to find suitable installation instruction for your system, based on your preferred CUDA version. If you want a specific CUDA version, you may need to start with something like pip install torch --index-url https://download.pytorch.org/whl/cu118.

The code snippet below will probably work for most systems, and should install quickdraws in approximately 10 minutes for cuda or much quicker on macOS:

Linux or macOS

pip install quickdraws

Running example

Once you install quickdraws, three executables should be available in your path:

  1. convert-to-hdf5
  2. quickdraws-step-1
  3. 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://palamaralab.github.io/software/quickdraws/manual/

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

Release Notes

v0.1.5 (2025-08-03)

  • Pandas bug fixes in summary statistics calculation with sample_weights option
  • Supports non integer FID/IID sample names now

v0.1.4 (2025-03-27)

  • Bug fix, introduced --chunksize argument in quickdraws-step-1 aswell

v0.1.3 (2025-01-24)

  • Better memory usage and speed for step 0, introduced --chunksize argument

v0.1.2 (2025-01-07)

  • Minor updates to documentation
  • Remove reliance on specific CUDA torch for Linux
  • Resolve numpy dependency conflict

v0.1.1 (2024-10-24)

  • Minor updates to documentation
  • Remove reliance on pre-release Torch for macOS

v0.1.0 (2024-10-15)

First public release to accompany the paper (see citation above).

Metadata

Release files for quickdraws 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quickdraws 0.1.5
File Size Uploaded Provenance
quickdraws-0.1.5.tar.gz 55.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for quickdraws 0.1.5
File Interpreter ABI Platform
quickdraws-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 121.2 kB

Release files / quickdraws-0.1.5.tar.gz

Download URL quickdraws-0.1.5.tar.gz
Size 55.7 kB
Tags Source
SHA-256 checksum
How to use checksums
11475fe2e0f1ce86f7a64f07b5466b5bb12c0533d06b256f461cc77b89acb8cd
BLAKE2b-256 checksum
How to use checksums
e95d2b728a6ce304b713bc1adf8425d9c85fbce651966bc1b846740627ef219d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

Release files / quickdraws-0.1.5-py3-none-any.whl

Download URL quickdraws-0.1.5-py3-none-any.whl
Size 65.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04c7044cf76b6a585f12ee9ab357fb3e0144329d0c79b6ab0f39ff7736a6c36e
BLAKE2b-256 checksum
How to use checksums
cfe438fdcb879a94992e7eda13f248b4b9afcc91195279bad3bf3cccc7068803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

Security for quickdraws 0.1.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page