Reproducibility
The companion prusie-analysis repository archives the input-preparation pipelines, benchmarking harness, raw measurement records, and scripts used to generate all manuscript tables and figures.
Tables and figures
Level A reproducibility in prusie-analysis regenerates all manuscript tables and figures directly from the archived measurement records, without requiring R, raw association datasets, or model refitting:
git clone https://github.com/LucaJiang/prusie-analysis.git
cd prusie-analysis
python -m pip install -r environment/requirements-level-a.txt
make all
The prusie repository itself includes the rendered documentation figures and a compact documentation summary. From a prusie source checkout, you can verify that all documentation tables match the archived records and rebuild the static documentation site with:
python tools/generate_results.py --check
python tools/build_docs.py
Benchmark protocol
All empirical benchmarks compare prusie 0.3.0 against susieR 0.16.6 (commit 8e56a8e038e989856d106d9ca5175cc664fea9d2). Complete-call timing measures the public susie_rss execution from in-memory input arrays to returned posterior and credible-set results, excluding module imports, disk I/O, LD matrix computation, and result serialization. Fitting-stage timing isolates the core solver, variance updates, and posterior construction using lightweight instrumentation added to both packages.
The benchmark protocol and execution scripts document the timing boundaries, parameter settings, repeat structure, and binary SHA-256 digests (including the separate 10-call susieR replay for the 10,000-variant nested window). See Performance for runtime and memory summaries and Numerical accuracy for posterior consistency analyses.
Real GWAS and eQTL inputs
Level B in prusie-analysis (01_inputs/) provides the scripts for variant quality control, allele harmonization, and single-threaded PLINK LD computation for the 200 FinnGen R13 type 2 diabetes GWAS loci (, paired with 99 1000 Genomes FIN reference samples) and 14,157 GTEx v11 whole-blood eGenes (, paired with 525 1000 Genomes EUR reference samples). Because the underlying cohort summaries and reference genotypes are subject to provider access terms, raw summary statistics and genotype matrices are obtained directly from their respective repositories rather than redistributed here.
Toy R comparison
For local verification against an active R installation without downloading external datasets, prusie includes a self-contained comparison runner:
python tools/benchmark/reproduce.py --rscript Rscript --validation-only --output-dir toy-comparison
This script requires susieR 0.16.6 and jsonlite in the target R environment. Additional options for local timing and BLAS configuration checks are described in tools/benchmark/README.md.