summaryrefslogtreecommitdiff
path: root/topics/lmms/gemma/permutations.gmi
diff options
context:
space:
mode:
authorPjotr Prins2024-09-02 12:36:15 +0200
committerPjotr Prins2024-09-02 12:36:19 +0200
commitb9f5da8ba86ef48eccb5f7f75c718cae87a91e44 (patch)
tree758ea1a3b0dde97be243121fd1968a2cc4aeab43 /topics/lmms/gemma/permutations.gmi
parenta5b9ee8803a22e4f32f860301b1e8beb8f7905a9 (diff)
downloadgn-gemtext-b9f5da8ba86ef48eccb5f7f75c718cae87a91e44.tar.gz
Dealing with phenotypes
Diffstat (limited to 'topics/lmms/gemma/permutations.gmi')
-rw-r--r--topics/lmms/gemma/permutations.gmi13
1 files changed, 12 insertions, 1 deletions
diff --git a/topics/lmms/gemma/permutations.gmi b/topics/lmms/gemma/permutations.gmi
index 7327227..c0a930e 100644
--- a/topics/lmms/gemma/permutations.gmi
+++ b/topics/lmms/gemma/permutations.gmi
@@ -407,7 +407,18 @@ where K.json has a json["input"] which essentially is above structure.
./bin/gemma-wrapper --keep --force --json --loco --input K.json -- -lmm 9 -g BXD-test.txt -p BXD_pheno_Dave-GEMMA.txt -n 5 -a BXD.8_snps.txt > GWA.json
```
-WIP
+Now I have to deal with phenotype files as they are rewritten. We should still cater for `-p` for GEMMA. We already have `--permute-phenotypes filen` for gemma-wrapper. Now we are adding `--phenotypes` to gemma-wrapper which replaces both!
+Note that we can use -p if --phenotypes is NOT defined. Problem is we have a few paths now:
+
+* [X] Check phenotypes are directly passed into GEMMA with -p switch
+* [ ] Check phenotypes are passed in as a file
+* [ ] Check phenotypes are coming in using the JSON file
+
+Fixed the first one with
+
+=> https://github.com/genetics-statistics/gemma-wrapper/commit/2b7570a7f0ba0d1080c730b208823c0622dd8f2c
+
+though that does not do caching (yet).
## Dealing with epoch