Software package for BalLeRMix and scripts used in the study "Flexible mixture model approaches that accommodate footprint size variability for robust detection of balancing selection" (Cheng & DeGiorgio 2020)
5
stars
1
forks
source link
error when using --fixX and --rangeA + feature request #8
Following our email exchange, I am submitting my questions here for more convenience. Thank you so much for your quick and helpful answers!
I saw that a new version of the script (BalLeRMix_v2.4.py) was uploaded a few days ago. Using this script, I am receiving new Type error messages when I try using the options --fixX and --rangeA:
when trying --fixX 0.5 for example I get "TypeError: float() argument must be a string or a number, not 'list'" at line 281
trying --rangeA 1500,3000,500 returns "TypeError: 'float' object cannot be interpreted as an integer" at line 346
I also noticed that the v2.3 script did not enable to accommodate multiple sample sizes in the input file. When I've tried with the most recent script, I've been getting a new error message:
File "/software/ballermix/BalLeRMix_v2.4.py", line 353, in getGrids
AdGrid = [-log(1e-32)] + [getAd(a) for a in aGrid[1:]]
NameError: name 'log' is not defined
I'm not sure if this is related to sample size as well?
Thank you again for your help and for implementing this valuable ressource.
Hi Dominique, thanks for creating this issue! I made some (minor) changes to fix the error messages you're getting. Can you pull the latest version to see if it works on your end?
Hello,
Following our email exchange, I am submitting my questions here for more convenience. Thank you so much for your quick and helpful answers!
I saw that a new version of the script (BalLeRMix_v2.4.py) was uploaded a few days ago. Using this script, I am receiving new Type error messages when I try using the options --fixX and --rangeA:
I also noticed that the v2.3 script did not enable to accommodate multiple sample sizes in the input file. When I've tried with the most recent script, I've been getting a new error message:
I'm not sure if this is related to sample size as well?
Thank you again for your help and for implementing this valuable ressource.
Best,
Dominique Hicks