Skip to content

FASTQC command number expected for "--memory" #58

@ahwanpandey

Description

@ahwanpandey

Hello,

Just wanted to report a small warning from FASTQC. I believe --memory requires integer and not decimal?

Thanks!
Ahwan

The command being run

]$ cat .command.sh
#!/usr/bin/env bash -C -e -u -o pipefail
printf "%s %s\n" 3-66130-Ascites_R1.fastq.gz 66130_Ascites_1.gz 3-66130-Ascites_R2.fastq.gz 66130_Ascites_2.gz | while read old_name new_name; do
    [ -f "${new_name}" ] || ln -s $old_name $new_name
done

fastqc \
    --quiet \
    --threads 6 \
    --memory 682.6666666667 \
    66130_Ascites_1.gz 66130_Ascites_2.gz

cat <<-END_VERSIONS > versions.yml
"DINCALCILAB_SAMURAI:SAMURAI:FASTQ_TRIM_FASTP_FASTQC:FASTQC_RAW":
    fastqc: $( fastqc --version | sed '/FastQC v/!d; s/.*v//' )
END_VERSIONS

The warning

]$ cat .command.err
INFO:    Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
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
Value "682.6666666667" invalid for option memory (number expected)
Fontconfig error: No writable cache directories

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions