Permalink
Browse files

Added wrapper to call pylmm from GN2

  • Loading branch information...
pjotrp committed Feb 20, 2016
1 parent f5c9e23 commit ec8bcdb64fcdb1f04ae9137481747ee6ef37ddca
Showing with 14 additions and 1 deletion.
  1. +13 −0 scripts/pylmm_redis
  2. +1 −1 setup.py
View
@@ -0,0 +1,13 @@
#! /bin/bash
#
# Small wrapper for calling pylmm from GN2. This will work
# when running pylmm from a checked out git repo.
#
# Note this version uses Redis to pass in data
#
# GNU Guix replaces PACKAGEDIR to point at the Guix store.
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PACKAGEDIR=$(dirname $SCRIPTDIR)
echo $PACKAGEDIR
/usr/bin/python $PACKAGEDIR/pylmm_gn2/lmm.py $*
View
@@ -9,5 +9,5 @@
url = "https://github.com/nickFurlotte/pylmm",
description = 'pyLMM is a lightweight linear mixed model solver for use in GWAS.',
packages=['pylmm'],
scripts=['scripts/pylmmGWAS.py','scripts/pylmmKinship.py'],
scripts=['scripts/pylmmGWAS.py','scripts/pylmmKinship.py','scripts/pylmm_redis'],
)

0 comments on commit ec8bcdb

Please sign in to comment.