aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
AgeCommit message (Collapse)Author
2016-04-20Fine tuning file locatingpjotrp
2016-04-20tools.py: add function locate_without_errorpjotrp
2016-04-20[PATCH 027/100] Introduce tools.locatePjotr Prins
2016-04-20[PATCH 026/100] Introducing cached values PYLMM_COMMAND,Pjotr Prins
GEMMA_COMMAND, PLINK_COMMAND and TEMPDIR
2016-04-20Introducing TEMPDIRpjotrp
2016-04-20[PATCH 024/100] Sanitizing file handlingPjotr Prins
2016-04-20[PATCH 023/100] WIP fixing all pathsPjotr Prins
2016-04-20[PATCH 018/100] Find external tools: refactored code to work with GNU GuixPjotr Prins
2015-11-09Fixed issue that caused mapping to not work; for some reason the path to ↵zsloan
pylmm was wrong
2015-07-09Mapping methods now check for existing genotype files.zsloan
Currently we still usually get our samplelists from the genofile. This is dumb because it results in us having a bunch of "dummy" genofiles for certain data sets (seems to be mostly human ones). This means that checking for the genofile alone isn't enough to determine if a mapping method should exist for a given group I wrote some code that will instead get the samplelist from the plink .fam file for some of these groups/datasets (if the .fam file exists). Ideally I would like to remove all of the dummy .geno files, but we can't yet do so because it's currently the only place we seem to be storing the sample list for some groups. I also moved gemma into the plink directory to get it out of the git tree. Since it uses the same files as plink, it doesn't make sense for it to be in its own separate directory
2015-06-26Fixed bug where mapping results sometimes wouldn't display. This would occurzsloan
due to a chromosome (in this case the last) not having any markers. Improved the way plink gets its path/command to use a method similar to the one Pjotr used with pylmm. I'll also do this for the other mapping methods. Fixed issue where the Y axis would always say LOD score. It now says LRS for mapping methods that return LRS Switched interval mapping (qtl reaper) to use the marker_regression template and removed the interval_mapping template (since it's unnecessary) Some commented out changes remain (in show_trait_mapping_tools and create_lodchart) from when I was attempting to open the mapping results in a new page. I had resolved every issue but the mapping javascript (lod_chart) not being able to access js_data (which has all the result data; markers, p-values, etc). I'm pretty sure that this is because js_data was inserted into the html after the page was loaded while the chart code ran immediately. I experimented with adding a short timeout to the mapping javascript and data table javascript, but while it worked for the table it did not work for the mapping figure. I don't know why this is.
2015-05-12Add info to warningpjotrp
2015-05-12More elaborate handling of finding pylmmPjotr Prins
2015-05-12Move path search into tools.pypjotrp