Skip to content

Error while loading shared library for BWA in Sarek pipeline with Singularity #1575

@Simonassaf

Description

@Simonassaf

Description of the bug

Running the Sarek pipeline while using Singularity results in the following error: bwa: error while loading shared lib. This issue occurs occasionally when running bwa to get the version information, producing the message: bwa: failed to load shared library. This error string is included instead of the version in the intermediate version.yml file generated by the module, leading to a corrupt YAML file (missing quotes around the string due to the presence of :). Consequently, the Nextflow job, that combines all these version.yml files into one, fails. Note that this error is occurring after 40 subsamples.

Command used and terminal output

./nextflow run nf-core/sarek -r 3.4.2 -profile singularity --input ./input-sarek.csv --outdir /home/sarek-nf-results --genome null --igenomes_ignore --fasta ./GCF_002263795.3_ARS-UCD2.0_genomic.fna  --skip_tools baserecalibrator --tools deepvariant

[b9/3b06bd] process > NFCORE_SAREK:SAREK:FASTQC (zr8425-99-lane_99)                                                              [ 98%] 259 of 263, cached: 259
[d2/7b9351] process > NFCORE_SAREK:SAREK:FASTP (zr8425-595-lane_595)                                                             [ 56%] 149 of 263, cached: 149
[1f/2990a2] process > NFCORE_SAREK:SAREK:FASTQ_ALIGN_BWAMEM_MEM2_DRAGMAP_SENTIEON:BWAMEM1_MEM (zr8425-105-lane_105)              [  2%] 40 of 1787
[-        ] process > NFCORE_SAREK:SAREK:FASTQ_ALIGN_BWAMEM_MEM2_DRAGMAP_SENTIEON:BWAMEM2_MEM                                    -
[-        ] process > NFCORE_SAREK:SAREK:FASTQ_ALIGN_BWAMEM_MEM2_DRAGMAP_SENTIEON:DRAGMAP_ALIGN                                  -
[-        ] process > NFCORE_SAREK:SAREK:FASTQ_ALIGN_BWAMEM_MEM2_DRAGMAP_SENTIEON:SENTIEON_BWAMEM                                -
[-        ] process > NFCORE_SAREK:SAREK:BAM_MARKDUPLICATES:GATK4_MARKDUPLICATES                                                 -
[-        ] process > NFCORE_SAREK:SAREK:BAM_MARKDUPLICATES:CRAM_QC_MOSDEPTH_SAMTOOLS:SAMTOOLS_STATS                             -
[-        ] process > NFCORE_SAREK:SAREK:BAM_MARKDUPLICATES:CRAM_QC_MOSDEPTH_SAMTOOLS:MOSDEPTH                                   -
[-        ] process > NFCORE_SAREK:SAREK:CRAM_TO_BAM                                                                             -
[-        ] process > NFCORE_SAREK:SAREK:CRAM_SAMPLEQC:BAM_NGSCHECKMATE:BCFTOOLS_MPILEUP                                         -
Plus 9 more processes waiting for tasks…
ERROR ~ mapping values are not allowed here
 in 'reader', line 2, column 13:
        bwa: bwa: error while loading shared lib ...
                ^

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmoreinfo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions