Skip to content

matplotlib temp file #305

@sunta3iouxos

Description

@sunta3iouxos

Description of the bug

It appears as if the matplotlib library is not respecting the stated $TMP file set in the config files for nf-core.
The file that it defaults to does not have access to my tmp file

  Process `NFCORE_CUTANDRUN:CUTANDRUN:DEEPTOOLS_PLOTHEATMAP_GENE_ALL (all_genes)` terminated with an error exit status (137)


Command executed:

  plotHeatmap \
      --sortUsing sum \
      --matrixFile all_genes.computeMatrix.mat.gz \
      --outFileName all_genes.plotHeatmap.pdf \
      --outFileNameMatrix all_genes.plotHeatmap.mat.tab

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_CUTANDRUN:CUTANDRUN:DEEPTOOLS_PLOTHEATMAP_GENE_ALL":
      deeptools: $(plotHeatmap --version | sed -e "s/plotHeatmap //g")
  END_VERSIONS

Command exit status:
  137

Command output:
  (empty)

Command error:
  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
  WARNING: Skipping mount /var/lib/apptainer/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container
  Matplotlib created a temporary config/cache directory at /tmp/matplotlib-07qqofj_ because the default path (.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
  .command.sh: line 6:    45 Killed                  plotHeatmap --sortUsing sum --matrixFile all_genes.computeMatrix.mat.gz --outFileName all_genes.plotHeatmap.pdf --outFileNameMatrix all_genes.plotHeatmap.mat.tab

Command used and terminal output

nextflow run nf-core/cutandrun -r 3.2.2 -profile singularity -c nextflow.config -work-dir /scratch/tmp/ -resume -params-file /NGS_25D31_DX253/nf-params_Ecoli.json

Relevant files

No response

System information

Nextflow version (24.10.0)
Hardware (HPC )
Executor (slurm)
Container engine: (Singularity)
OS (CentOS Linux)
Version of nf-core/cutandrun (3.2.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions