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

bgdata.errors.TagNotFound: Tag master for package genomicscores/caddpack/1.0 not found #7

Open
Conghui2023 opened this issue Nov 12, 2024 · 11 comments

Comments

@Conghui2023
Copy link

Hi, when I run the 'run.sh' on the 'example' you provided, I encountered this problem, do you know the reason, and how can I solve it?

Traceback (most recent call last):
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/bin/oncodrivefml", line 11, in
sys.exit(cmdline())
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/oncodrivefml/main.py", line 104, in cmdline
override_config)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/oncodrivefml/main.py", line 39, in main
configuration = load_configuration(config_file, override=config_override_dict)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/oncodrivefml/config.py", line 33, in load_configuration
return BGConfig(config_template, config_file=config_file, use_env_vars=True, override_values=override, unrepr=False)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/bgconfig.py", line 232, in init
res = self.validate(Validator(), preserve_errors=True)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/configobj/init.py", line 2301, in validate
check = self.validate(validator, preserve_errors=preserve_errors, copy=copy, section=section[entry])
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/configobj/init.py", line 2254, in validate
val = section[entry]
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/configobj/init.py", line 552, in getitem
return self._interpolate(key, val)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/configobj/init.py", line 544, in _interpolate
return engine.interpolate(key, value)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/bgconfig.py", line 60, in interpolate
value = self.bgdata_engine.interpolate(key, value)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/bgdata/configobj.py", line 46, in interpolate
path = bgdata.get(match.group(1))
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/bgdata/manager.py", line 220, in get
return self._get(project, dataset, version, ref)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/bgdata/manager.py", line 201, in _get
build = self._ref2build(pkg, ref)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/bgdata/manager.py", line 157, in _ref2build
build = self._tag2build(pkg, ref)
File "/share/home/luoylLab/liconghui/.conda/envs/oncodrivefml_env/lib/python3.7/site-packages/bgdata/manager.py", line 143, in _tag2build
raise TagNotFound(err_msg)
bgdata.errors.TagNotFound: Tag master for package genomicscores/caddpack/1.0 not found (HTTPSConnectionPool(host='bbglab.irbbarcelona.org', port=443): Max retries exceeded with url: /bgdata/genomicscores/caddpack/1.0.master?e427999cf3e8c5371a16ed911bdd02 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x2b8f28256f10>: Failed to resolve 'bbglab.irbbarcelona.org' ([Errno -2] Name or service not known)")))

@FedericaBrando
Copy link
Member

Hi, Thanks for reporting the error.

Could you try another time, sometimes the connection with the bbglab.irbbarcelona.org is lost and then recovered.

Please let me know if the error persists.

@Conghui2023
Copy link
Author

Conghui2023 commented Nov 13, 2024 via email

@FedericaBrando
Copy link
Member

I see, can you provide me the version of oncodrivefml you are trying to run? Thanks

@Conghui2023
Copy link
Author

Conghui2023 commented Nov 13, 2024 via email

@FedericaBrando
Copy link
Member

could you try again with the latest oncodrivefml version (2.4.0) downloaded from pip?

@Conghui2023
Copy link
Author

Conghui2023 commented Nov 13, 2024 via email

@FedericaBrando
Copy link
Member

Can you confirm that you can access the following website:
bbglab.irbbarcelona.org

@Conghui2023
Copy link
Author

Conghui2023 commented Nov 14, 2024 via email

@Conghui2023
Copy link
Author

Conghui2023 commented Nov 17, 2024 via email

@FedericaBrando
Copy link
Member

Hi,

You can try the following approach:

Before running OncodriveFML, you can download the data first with these commands [source]:

  1. Remove the ~/.bgdata folder
  2. Downloading the cadd scores:
    bgdata get genomicscores/caddpack/1.0
  3. Downloading the genome reference:
    bgdata get datasets/genomereference/hg19
  4. export BGDATA_LOCAL=~/.bgdata and BGDATA_OFFLINE=TRUE environment variables
  5. modify the ./run.sh file to run with the --debug flag (so we are able to see what is going on in the run)
  6. run the example.

Please can you also ping bbglab.irbbarcelona.org to check that is indeed reachable from your terminal? Thanks

@FedericaBrando FedericaBrando pinned this issue Nov 19, 2024
@Conghui2023
Copy link
Author

Conghui2023 commented Nov 22, 2024 via email

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

2 participants