Closed jotech closed 11 months ago
Check the length of the contigs: S221200000964/S221200000964_contigs.fasta Check the assembly and QC reports for this file...
the rule uses an official snakemake wrapper.
Thank you for all your help!
QC and assembly reports look okay to me. the lengths of contigs in the fasta are
Min. 1st Qu. Median Mean 3rd Qu. Max.
1000 1251 1726 3033 2995 136800
I have problems identifying the precise command that failed. Is it possible to execute it manually in the conda environment to see why it failed?
Do you have a cluster log file, there should be an error.
If the jobid is 1556261
you should find a cluster_log file with this number?
Are you using my cluster wrapper?
The command is at the end of this page: https://snakemake-wrappers.readthedocs.io/en/stable/wrappers/minimap2/aligner.html?highlight=minimap2%2Faligner
In theory you can activate the conda env and run something like the command.
Sorry for not getting back to you sooner; I got sick. Thank you for the advice. Here is the cluster log
Config file [..]/software/atlas/atlas/workflow/../config/default_config.yaml is extended by additional config specified via the command line.
Building DAG of jobs...
Failed to open source file https://github.com/snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml
ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8311e68650>: Failed to establish a new connection: [Errno 101] Network is unreachable')), attempt 1/3 failed - retrying in 3 seconds...
Failed to open source file https://github.com/snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml
ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8311881550>: Failed to establish a new connection: [Errno 101] Network is unreachable')), attempt 2/3 failed - retrying in 6 seconds...
Failed to open source file https://github.com/snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml
ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8311883110>: Failed to establish a new connection: [Errno 101] Network is unreachable')), attempt 3/3 failed - giving up!
WorkflowError:
Failed to open source file https://github.com/snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml
ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /snakemake/snakemake-wrappers/raw/v1.19.0/bio/minimap2/aligner/environment.yaml (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8311883110>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
File "[...]/software/miniconda3/envs/atlas-dev/lib/python3.11/site-packages/reretry/api.py", line 218, in retry_call
File "[...]/software/miniconda3/envs/atlas-dev/lib/python3.11/site-packages/reretry/api.py", line 31, in __retry_internal
It seems that the download didn't work. I tried rerunning it to see if it was a temporary issue, but the error remains. I think it is related to our SLURM setup, which works in offline mode only (see #666). Is there a way to download the wrapper upfront?
Probably the simplest thing to do is to use the test data (2 small samples) from the docs and run it. You can --skip-qc and run the process on the cluster until this error occurs. then Run atlas on the main nodes to install the wrappers.
this is an other solution: https://github.com/metagenome-atlas/atlas/issues/587#issuecomment-1327467019
There was no activity since some time. I hope your issue is solved in the mean time. This issue will automatically close soon if no further activity occurs.
Thank you for your contributions.
I almost forgot to give feedback. Your solution, as proposed in #587, worked indeed:
git clone https://github.com/snakemake/snakemake-wrappers
atlas run --wrapper-prefix 'git+file://path/to/your/local/clone'
Thank you!
Thank you very much.
Unfortunately the corresponding log file is empty
-rw-r--r-- 1 user group 0 Jun 28 14:49 S221200000964/logs/assembly/calculate_coverage/align_reads_from_S221200000964_to_filtered_contigs.log
The job is running only very shortly
workflow/rules/assemble.smk
I see thatv1.19.0/bio/minimap2/aligner
is involved but I can't see which command exactly is executed and can't debug it further.