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

nf-core/viralrecon run halted due to R version clash #422

Open
asanenjoy opened this issue Mar 24, 2024 · 1 comment
Open

nf-core/viralrecon run halted due to R version clash #422

asanenjoy opened this issue Mar 24, 2024 · 1 comment

Comments

@asanenjoy
Copy link

Hello! My nf-core/viralrecon run was halted due to R version clash. Please see the error message below -

ERROR ~ Error executing process > 'NFCORE_VIRALRECON:ILLUMINA:PLOT_MOSDEPTH_REGIONS_AMPLICON'

Caused by:
Process NFCORE_VIRALRECON:ILLUMINA:PLOT_MOSDEPTH_REGIONS_AMPLICON terminated with an error exit status (1)

Command executed:

plot_mosdepth_regions.r
--input_files cGMPSARS-CoV-2.regions.bed.gz
--output_dir ./
--output_suffix mosdepth
--input_suffix .regions.bed.gz

cat <<-END_VERSIONS > versions.yml
"NFCORE_VIRALRECON:ILLUMINA:PLOT_MOSDEPTH_REGIONS_AMPLICON":
r-base:
(R --version 2>&1) | sed 's/^.R version //; s/ .$//')
END_VERSIONS

Command exit status:
1

Command output:
(empty)

Command error:
Warning message:
package ‘optparse’ was built under R version 4.0.5
Warning message:
package ‘scales’ was built under R version 4.0.5
Loading required package: grid
Error: package or namespace load failed for ‘ComplexHeatmap’:
.onLoad failed in loadNamespace() for 'Cairo', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/root/work/conda/env-05a634cd6ec064941b9d92badb58aa6c/lib/R/library/Cairo/libs/Cairo.so':
libicuuc.so.70: cannot open shared object file: No such file or directory
Execution halted

Have updated my r-base in conda-forge, which is 4.3.3 instead of 4.0.5. Attempted with the following command -

conda install -c conda-forge r-base=4.0.5

That didn't work though... Not quite sure how I can fix this.

Any input would be much appreciated! Thank you!

@svarona
Copy link
Contributor

svarona commented May 9, 2024

@asanenjoy could you provide us the command you used to run viralrecon and the .nextflow.log file?

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