aboutsummaryrefslogtreecommitdiff
path: root/scripts/precompute
diff options
context:
space:
mode:
authorPjotr Prins2023-11-24 09:07:55 +0100
committerPjotr Prins2023-11-24 09:07:55 +0100
commitfb22ae84c143a27ddc4699327e8aff6c93a0bf6c (patch)
tree419c28241bc102e39907a3d9c5897eb428cb418e /scripts/precompute
parente4cb959730ed5d89c8f5e96de2ddbd405fcf2cc9 (diff)
downloadgn-guile-fb22ae84c143a27ddc4699327e8aff6c93a0bf6c.tar.gz
Fetch genotype inds from json file
Diffstat (limited to 'scripts/precompute')
-rwxr-xr-xscripts/precompute/precompute-hits.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/precompute/precompute-hits.scm b/scripts/precompute/precompute-hits.scm
index 0bce8d7..e8ba0a2 100755
--- a/scripts/precompute/precompute-hits.scm
+++ b/scripts/precompute/precompute-hits.scm
@@ -7,6 +7,7 @@
(use-modules (dbi dbi)
(gn db mysql)
(gn data dataset)
+ (gn data genotype)
(gn data hits)
(gn data strains)
(gn util convert)
@@ -16,6 +17,11 @@
(srfi srfi-1)
)
+
+(define inds (geno-inds-bxd "BXD.json"))
+(display inds)
+(assert (= 235 (length inds)))
+
;; potentially you want to test connection with mysql client:
;;
;; mysql -uwebqtlout -pwebqtlout -A -h 127.0.0.1 -P 3306 db_webqtl -e "show tables;"