diff options
author | Pjotr Prins | 2023-11-24 09:07:55 +0100 |
---|---|---|
committer | Pjotr Prins | 2023-11-24 09:07:55 +0100 |
commit | fb22ae84c143a27ddc4699327e8aff6c93a0bf6c (patch) | |
tree | 419c28241bc102e39907a3d9c5897eb428cb418e /scripts/precompute | |
parent | e4cb959730ed5d89c8f5e96de2ddbd405fcf2cc9 (diff) | |
download | gn-guile-fb22ae84c143a27ddc4699327e8aff6c93a0bf6c.tar.gz |
Fetch genotype inds from json file
Diffstat (limited to 'scripts/precompute')
-rwxr-xr-x | scripts/precompute/precompute-hits.scm | 6 |
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;" |