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

From Singularity container: haplogrep3 fails #15

Open
rkabiljo opened this issue Dec 15, 2023 · 6 comments
Open

From Singularity container: haplogrep3 fails #15

rkabiljo opened this issue Dec 15, 2023 · 6 comments

Comments

@rkabiljo
Copy link

Hello,
I am now in an environment where my only option is to run MitoHPC in a container. When I do that, following your instructions, it all works fine until haplogrep, when it fails on:
'Loading configuration from file 'haplogrep3.yaml' failed. Connection timed out'.

Any idea? Thank you,
Renata

@rkabiljo
Copy link
Author

Hello, I found out what the issue is. The environment I am running it in is Genomics England, and the issue is coming from their strict security settings: the haplogrep3.yaml file is pulling from a repository which is not whitelisted in their environment which causes the script to fail. Unfortunately they will not be able to whitelists this URL due to the data protection guidelines they have in place. Would it be possible to run this pipeline in 'offline' mode? I am talking only about the singularity container, as even installing from GitHub is not something they allow me at the moment. Thank you,
Renata

@dpuiu
Copy link
Owner

dpuiu commented Dec 20, 2023

Hi Renata, sorry about these issues and I am glad you found out what the problem was.

The easiest way to test MitoHPC is by creating a simple(cheap) GoogleCloud instance and installing the repository over there.

The Docker/Singularity images used the most up to date software (Haplogrep3,Gatk 4.4, java v19) and were not so extensively tested.

@rkabiljo
Copy link
Author

Hi Daniela,
My problem lies precisely in the fact that in a very, very strict environment I am running this in, it will have to be your Singularity container. I have tested MitoHPC from your GitHub, and it works well, but in order to incorporate it in a very important diagnostic pipeline, I am working under many security constrains, and this is one of them. The only way they will allow it is if it does not go to that haplogrep url from halpgrep3.yaml file. Is there a way out of it?
Thank you,
Regards,
Renata

@dpuiu
Copy link
Owner

dpuiu commented Dec 20, 2023

Yes, sure, I can create new singularity/docker containers which use haplogrep2 instead of haplogrep3

@rkabiljo
Copy link
Author

Anything that does not go to an external URL would work. I would immensely appreciate it - it's the environment of Genomics England, that's why it's so strict!

@squigzzz
Copy link

squigzzz commented Feb 7, 2024

I am having the same exact issue, except my security protocols are not as stringent and it kicks me out every few hundred requests since I am running thousands of samples through. Is there a way to download the yaml file locally and just supply it to haplogrep3 that way ?

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