Closed rfeng2023 closed 7 months ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Hi @gaow , another concern for current export is we can not find corresponding original file (one gene could have multiple original files) through condition_top_loci column in meta file, which only have context name, that means, if users need to load original data, they would be confused to load which one if they are not quite familiar with data. Especially with the case that one eQTL context was stored in one file named as pQTL. One solution is that we can add original file prefix to each context in that meta data table, but I am a little bit hesitate about that as I don't want that meta looks so messy. especially we can have a lot of contexts in that file. Another solution is ask users load context meta, and extract similar string in that, but that is still not convenient. While I think you mentioned that we will export all susie data to one file. In that case this might not be a problem, people may not need to use original files anymore.....
tested on e/s/p/ha/m/meta QTL with demo data. in this version
all variant names would align to the aligned big geno bim file. and * (-1) in effect size if there is a flip happened.
Haven't finished for: