Skip to content

mosdepth error on dev branch #626

@fa2k

Description

@fa2k

Description of the bug

I'm getting an error from mosdepth in the process NFCORE_RAREDISEASE:RAREDISEASE:QC_BAM:MOSDEPTH on the dev branch.

Command used and terminal output

[fa2k@nepe 0633350f5203e1d7fc8cb896d16d9d]$ cat .command.log 
INFO:    Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO:    Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
Usage: mosdepth [options] <prefix> <BAM-or-CRAM>
error parsing arguments


[fa2k@nepe 0633350f5203e1d7fc8cb896d16d9d]$ cat .command.sh
#!/bin/bash -euo pipefail
mosdepth \
    --threads 6 \
     \
    --fasta genome.fa \
    --d4 \
    NA12878_mosdepth \
    NA12878_sorted_md.bam

cat <<-END_VERSIONS > versions.yml
"NFCORE_RAREDISEASE:RAREDISEASE:QC_BAM:MOSDEPTH":
    mosdepth: $(mosdepth --version 2>&1 | sed 's/^.*mosdepth //; s/ .*$//')
END_VERSIONS

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions