Working HPC - is there a docker version, singularity version #425
Replies: 14 comments 14 replies
-
Oh, this is unfortunate. It won't allow you to access other nodes on your cluster. Here would be the instructions to use Docker. The atlas verison in the Docker container are V2.3 If you want you to rebuild the docker file it uses the old one and updates atlas: https://github.com/metagenome-atlas/atlas/blob/master/Dockerfile |
Beta Was this translation helpful? Give feedback.
-
I am also working on a HPC that does not allow conda. But i found when i use: $singularity pull metagenomeatlas/atlas I get the following message: Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Hmm, I should find a solution for this use case. Is there a container with miniconda or mambaforge for singularity? |
Beta Was this translation helpful? Give feedback.
-
I could not see if this was the case. And on the HPC i use there is not option for docker. any ideas on what i can do? |
Beta Was this translation helpful? Give feedback.
-
Ok, @soilmicrobiome My solution would be as follows:
atlas should now create each conda env in a singularity container. The important advantage this solution is compatible with cluster execution. E.g. It is possible to let atlas submit multiple jobs to your cluster system. See the docs for more info. |
Beta Was this translation helpful? Give feedback.
-
great! i'll give it a try |
Beta Was this translation helpful? Give feedback.
-
I finally got a version of atlas working with singularity (apparently one of our servers has a file system that is not compatible with the container, but another one was). I can successfully run "atlas init". But when it comes to "atlas run all" there are still conda issues: part of the error message: _[2021-05-15 11:22 INFO] Executing: snakemake --snakefile /cvmfs/HPC_name/easybuild/software/2020/avx2/Compiler/intel2020/metagenome-atlas/2.4.3/lib/python3.6/site-packages/atlas/Snakefile --directory /project/6010084/user/path_to_files --rerun-incomplete --configfile '/project/6010084/user/path_to_files/config.yaml' --nolock --use-conda --conda-prefix /project/6010084/databases_software/atlas/databases/conda_envs all Building DAG of jobs... I guess this means the HPC can't create a conda env in a singularity container? Is it time i find a Conda friendly place to run atlas? |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay. Obviously a conda-frendly version would help. I for example just installed conda in my scratch directory. Is there no other error about why the conda installation failed? Maybe an stupid error from my side would be solved by using |
Beta Was this translation helpful? Give feedback.
-
The people that are in charge of the HPC have been working on it over the last few weeks. They think they have it solved -- the last few lines of the output in a test run stated : "10 of 10 steps (100%) done Once i get the details, I'll let you know how they got it to run in case thats of use to anyone! |
Beta Was this translation helpful? Give feedback.
-
Great! Yes, It hink, it would be beneficial to others. |
Beta Was this translation helpful? Give feedback.
-
they did not give me too much info apart from: the previous singularity had a "mamba" installed with bugs, which could not create environments. The mamba installed in ubuntu 18.04 works, but not in ubuntu 20.04. |
Beta Was this translation helpful? Give feedback.
-
While there is always an up-to-date docker container for metagenome-atlas it doesn't contain the databases. I don't think it's a good idea to maintain a 250gb docker container due to several reasons, especially because it doesn't allow to submit multiple jobs to a cluster cloud. I'm also not sure if the public repositories would host such a big container or many versions of it. I recommend to first explore other options but if you want. to make a docker container here some help: In the older version, I made a Dockerfile that allows creating such a Docker container, but also it keeps the database outside the docker so the docker can be easily updated. |
Beta Was this translation helpful? Give feedback.
-
I built the singularity image on a VM(ubuntu) as follows: cmd: singularity build ./metagenomeatlas-2.8.1.sif docker://quay.io/biocontainers/metagenome-atlas:2.8.1--pyhdfd78af_0
Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help.
Rest everything looks fine. Thank you once again |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am working on a HPC that we are not permitted to use conda on. Is there instruction to compile from scratch or a docker or singularity version available?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions