Closed sivianil closed 1 year ago
Python 3.7 can be installed from here: https://www.python.org/downloads/macos/. The package versions need to match what is listed in the requirements file for ensure expected performance of the model. Alternatively, you could also use Docker to setup all the requirements (see cue/install/docker/Dockerfile).
Thanks for the quick response! Much appreciated. What about samtools, bcftools and htslib versions?I have 1.16 versions. It should be compatible with pysam right!!
Cue doesn't depend on those tools directly -- only the Python version and the packages listed in the requirements.txt file should match the expected version.
As you mentioned earlier, I need to use python3.7 and the package versions in the requirements.txt file. I followed your instructions and ran the model. But still can't get rid of the error I posted earlier.
Could you provide the full command you're running and the versions you currently have installed -- the output of 'pip freeze' in your virtual environment.
Unfortunately I can't use python3.7 on my MacOS since it is deprecated. I tried to update all the packages to the recent versions which are compatible with python3.8 or 3.10. I fixed all the bugs arose during the setup. But after running the model, it cannot create variant file due to some error with pysam (Check the screenshot). I tried different versions of pysam 0.18, 0.19.1 and the recent versions. Still running into the same error!.. Do you have any alternate solution? I'm just asking out of the curiosity, did you tried to run this models using python3.8 or 3.10 interpreter and updating the package versions?
Best, Anil