Closed tacazares closed 2 years ago
I ran into a plethora of strange issues when creating an environment on the OSC cluster for Tensorflow 2.5 Issues included, htslib error while installing pysam. Numpy errors while installing pybigwig. After lot of attempts, I was finally able to create the desired env. I am attaching a text file indicating the steps I took to resolve the issues. In general, whenever a package gave me error while installing via pip. The solution was to install the package first using conda before installing any other packages. For details please see the text file
I ran into some installation issues when I tried to install the new tensorflow 2.5 updated maxATAC on OSC and BMI. I started on both systems by loading anaconda.
I then created a new anaconda environment for maxatac:
conda create -n maxatac_tf2 python=3.9
Then I installed the maxatac git project using:
pip install -e .
When I ran maxatac I had the following error:
I fixed this issue with:
pip install pyyaml
I then had a new bug based on the sklearn:
I fixed this error by opening the file
/users/caz3so/.conda/envs/maxatac_tf2/lib/python3.9/site-packages/modisco/util.py
and changingfrom sklearn.neighbors.kde import KernelDensity
tofrom sklearn.neighbors import KernelDensity
.I also had to do this for the file
/users/caz3so/.conda/envs/maxatac_tf2/lib/python3.9/site-packages/modisco/coordproducers.py
.These changes fixed the errors that I was having, but they might have negatively impacted interpretation which uses the modisco package. We need to test interpretation now that we have updated the code base.