about summary refs log tree commit diff
path: root/gn/deploy/machines
diff options
context:
space:
mode:
authorpjotrp <pjotr.public01@thebird.nl>2026-11-18 12:15:20 +0000
committerpjotrp <pjotr.public01@thebird.nl>2026-11-18 12:15:20 +0000
commit3e57d588519ac2b562be9960f704044e49574f99 (patch)
tree79c727ee2d8c039116f87f94df3b7f8afb787c57 /gn/deploy/machines
parent4679ce291bf714fd0c4337644d1f1ff202399a2e (diff)
downloadguix-bioinformatics-main.tar.gz
gemma: add pangemma-git, and move gemma-wrapper to b00c1da HEAD main
pangemma-git builds the genenetwork fork of GEMMA, the one that reads an
lmdb genotype store.  Built from its own premake project, as the fork's
guix.scm does (premake5 gmake, then make config=release with the lmdbxx and
lmdb include paths), with gsl, openblas, zlib, guile-3.0 and lmdb as inputs
and lmdbxx, pkg-config and premake5 to build.  Tests are off because the
suite needs its example data and ruby.

It installs as `pangemma` and not `gemma`, so a profile can hold both engines
and pick per run -- which is what genenetwork4 does: the same workflow runs
either engine.  The point of the separate binary is the store: `-g X.mdb`
reads genotypes from a memory map instead of re-parsing BIMBAM text, measured
on HLC as 141 s of cluster job time for a 23-chromosome LOCO against 958 s
for GEMMA on BIMBAM, with identical results.

gemma-wrapper moves from 156939f to b00c1da (revision 6): that range adds
bin/geno2mdb.py (the store builder that works without the ruby lmdb gem),
its two interop fixes, the cached-K/PLINK fixes, the drop-in version banner
and the one-thread-per-parallel-job cap.  The comment above the package now
names each commit and what it buys.

One build fix, found by running the installed wrapper: ruby-build-system wraps
every file in bin/ with a ruby launcher, bin/geno2mdb.py included, so the
installed converter was a Ruby file with a .py name and `python3 $(which
geno2mdb.py)` was a SyntaxError.  A phase after 'wrap restores the gem's own
copies, which carry the python shebang.  Verified end to end from a scratch
directory with both packages: the packaged converter builds a 7320 x 198 Gb
store from the BXD fixture and the packaged pangemma scans it
(-loco 1 -gk, then -lmm 9 -maf 0.1: 636 analyzed SNPs, a 637-line assoc).
Diffstat (limited to 'gn/deploy/machines')
0 files changed, 0 insertions, 0 deletions