Open fbartusch opened 4 years ago
Hi Felix, Many thanks for your feedback. Which HiC-Pro version did you use ? I updated everything on the devel branch a couple of months ago, upgrading most of the packages, and including a conda yml file, etc. I will try to release the devel branch before the end of the year. Best Nicolas
Hi Nicolas,
Thans for your reply. I used the file in the definition file from the master branch and HiC-Pro 2.11.4. Now I saw that most problems I encountered seems to be fixed in the Singularity definition file in the devel branch.
Maybe you can get rid of the pre
section, as this hinders the build of the container on non-Debian based systems.
I adverted the new version to our user and we will try it out when it's released.
Best
Felix
Hello,
A user asked if we can install HiC-Pro on our HPC-cluster. So I tried to build a Singularity container from the definition file and experienced some problems and odd things:
In the
%pre
section you try to install debootstrap with apt-get. As I'm working on CentOS, this throws an error when building the image. The build also worked without that section.You install Miniconda 3 and then try later to install Python 2.7.15. This does not work on my machine and I'm quite sure that it also does not work for other people. I solved this by installing the latest Miniconda2 and and removed the additional python installation.
Also, conda was not able to resolve some dependencies. I think the problem is, that you place each package on a new line and also have the restriction for a specific version. For me it worked to place packages from the same repository on the same line. Maybe it would be better to provide a file describing the conda environment in a file and install the dependencies from this file.
Here's the modified Singularity definition file that worked for me. Maybe this feedback is helpful for you and others.
Best wishes, Felix