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

use nf-core on an HPC with internet access #114

Open
Donbbit opened this issue Dec 3, 2024 · 2 comments
Open

use nf-core on an HPC with internet access #114

Donbbit opened this issue Dec 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Donbbit
Copy link

Donbbit commented Dec 3, 2024

Description of the bug

Hello, I would like to ask if it's necessary to use nf-core on an HPC with internet access. After installing the software, I submitted a job using qsub, and I received the following error:

ERROR ~ Error executing process > 'NFCORE_ONCOANALYSER:WGTS:READ_ALIGNMENT_DNA:BWAMEM2_ALIGN (1)'

Caused by:
Failed to create Conda environment
command: conda env create --prefix /hsfscqjf2/ST_CQ/Reference/software/envs/wgs/test_example/oncoanalyser/work/conda/env-b8fbc0e3a4801429-6fa9e2f9e8bfb5dd9553b0c9cc3af98f --file /home/lvmeiqi/.nextflow/assets/nf-cor
status : 1
message:
Channels:
- conda-forge
- bioconda
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): ...working... Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSCo

  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50678a5ee0>: Failed to establish a n

  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b5062b20e60>: Failed to establish a n

  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50678a6060>: Failed to establish a n

  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50678a6300>: Failed to establish a n

  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50678a65a0>: Failed to establish a n

  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50678a66f0>: Failed to establish a n

  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50678a64e0>: Failed to establish a n

  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50665b8770>: Failed to establish a n

  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50665b8b00>: Failed to establish a n

  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50665df6e0>: Failed to establish a n

  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2b50665df860>: Failed to establish a n

  failed

  CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/linux-64/repodata.json>
  Elapsed: -

  An HTTP error occurred when trying to retrieve this URL.
  HTTP errors are often intermittent, and a simple retry will get you on your way.

  If your current network has https://repo.anaconda.com blocked, please file
  a support request with your network engineering team.

  'https//repo.anaconda.com/pkgs/main/linux-64'

Command used and terminal output

nextflow run nf-core/oncoanalyser \
  -profile conda \
  -revision 1.0.0 \
  --mode wgts \
  --genome GRCh38_hmf \
  --input samplesheet.csv \
  --outdir output_directory \
  --max_memory '20.GB' \
  -config ./refdata.local.config

System information

No response

@Donbbit Donbbit added the bug Something isn't working label Dec 3, 2024
@mashehu mashehu transferred this issue from nf-core/tools Dec 3, 2024
@mashehu
Copy link

mashehu commented Dec 3, 2024

try to remove the defaults channel from the config, your admin might have blocked that

@Donbbit
Copy link
Author

Donbbit commented Dec 3, 2024

try to remove the defaults channel from the config, your admin might have blocked that

Should I remove the below in .nextflow/assets/nf-core/oncoanalyser/nextflow.config :
conda.channels = ['conda-forge', 'bioconda', 'defaults']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants