ZhiGroup / RaPID

MIT License
30 stars 6 forks source link

script parameter_estimation #9

Closed RobinHofmeister closed 4 years ago

RobinHofmeister commented 4 years ago

thank for sharing the RaPID software which is working well.

However, I am trying to find optimal parameters using the script provided and I have several issues.

When the input vcf file is phased, I had to modify the line 37 to change "/" to "|" (minor change, not important..).

When I then run the script using the example file, I got no results. The script is running without any errors but no output file is written and there is no std output on the shell.

I found that in the for loop of the function "compute_w" , there is " if " and " elif " but no "else" and the 300 iterations are going into the "else" option.

ardalan-n commented 4 years ago

Thank you for your comment. I just made minor changes to the script and it should work now for phased data as well. It should also output the range even if the max window is still within the permissible range.

Best, Ardalan