aboutsummaryrefslogtreecommitdiff
path: root/r_qtl/r_qtl2.py
diff options
context:
space:
mode:
Diffstat (limited to 'r_qtl/r_qtl2.py')
-rw-r--r--r_qtl/r_qtl2.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/r_qtl/r_qtl2.py b/r_qtl/r_qtl2.py
index 1755a05..9127dce 100644
--- a/r_qtl/r_qtl2.py
+++ b/r_qtl/r_qtl2.py
@@ -28,6 +28,11 @@ def control_data(zfile: ZipFile) -> dict:
"na.strings": ["NA"],
"comment.char": "#",
"sep": ",",
+ **{
+ f"{key}_transposed": False for key in (
+ "geno", "founder_geno", "pheno", "covar", "phenocovar", "gmap",
+ "pmap", "phenose")
+ },
**(json.loads(zfile.read(files[0]))
if files[0].endswith(".json")
else yaml.safe_load(zfile.read(files[0])))