Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diffDomain installation #17

Open
architghosh opened this issue Feb 23, 2024 · 4 comments
Open

diffDomain installation #17

architghosh opened this issue Feb 23, 2024 · 4 comments

Comments

@architghosh
Copy link

architghosh commented Feb 23, 2024

Hi,

We're facing a few failed attempts when trying to install diffdomain on our HPC cluster (from the container itself)...
For approach one, a conda environment, we tried our personal account on a standalone server with internet access, because it appears to access a mirror site is not in our firewall list. the error message with the command line
conda env create --name diffdomain -f environment_linux.yml

... CondaEnvException: Pip failed
Pip subprocess error:
ERROR: Ignored the following versions that require a different python version: 0.12.0 Requires-Python >=3.8; 0.12.0rc1 Requires-Python >=3.8; 0.12.1 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement diffdomain-py3==0.2.0 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4,
0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.1, 0.2.2)
ERROR: No matching distribution found for diffdomain-py3==0.2.0

For a container approach, I am able to pull a apptainer image on a login node on seadragon2 using the command:
apptainer pull docker://guming5/diffdomain-centos7:v1
But the instruction of using the container, " "In this image, there is a contact conda environment named diffdomain (/home/work/.conda/envs/diffdomain) meeting all requests, in which you can use the diffDomain Python3 version directly."
I failed to change to user 'work', it asks a password.

I was wondering if you could provide any suggestions to resolve the above errors.

Thank you!

Archit

@varunkas
Copy link

I have the same problem. In my local machine, running docker, I am able to switch user to "work". But when running using singularity, su work asks for a password. Can you please help? Thanks

@varunkas
Copy link

After reading a bit, I realise that su work inside an singularity container is only possible when it is launched with singularity shell --fakeroot option. However, our HPC does not allow this... I am wondering if there is any other way? Is it possible to get a version of the docker image, where the conda environments are installed outside of the home environment? Thank you very much!

@Tian-Dechao
Copy link
Owner

Please first try install DiffDomain with other options.

Thank you for your suggestion. While we plan to incorporate this feature into the updated Docker version of DiffDomain, it won't be implemented in the coming weeks.

@varunkas
Copy link

Dear @Tian-Dechao , thank you very much for getting back to me. Yes, I did try installation with Conda earlier, but I got an error when running the python script. Turns out that the error was not related to the installation, but rather to the header in the TAD.bedpe file generated by arrowhead. Once I removed these headers, everything ran through. And the results look great! Thank you very much for the nice tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants