Skip to content

ERROR ~ Error executing process > 'NFCORE_CHIPSEQ:CHIPSEQ:DEEPTOOLS_COMPUTEMATRIX (SPT5_T15_REP1)' #465

@tbooth

Description

@tbooth

Description of the bug

Error running the pipeline self-test with conda.

Command used and terminal output

$ nextflow run nf-core/chipseq -profile test,conda --outdir .

...

Execution cancelled -- Finishing pending tasks before exit
-[nf-core/chipseq] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_CHIPSEQ:CHIPSEQ:DEEPTOOLS_COMPUTEMATRIX (SPT5_T15_REP1)'

Caused by:
  Process `NFCORE_CHIPSEQ:CHIPSEQ:DEEPTOOLS_COMPUTEMATRIX (SPT5_T15_REP1)` terminated with an error exit status (1)


Command executed:

  computeMatrix \
      scale-regions --regionBodyLength 1000 --beforeRegionStartLength 3000 --afterRegionStartLength 3000 --missingDataAsZero --skipZeros --smartLabels \
      --regionsFileName genes.bed \
      --scoreFileName SPT5_T15_REP1.mLb.clN.bigWig \
      --outFileName SPT5_T15_REP1.mLb.clN.computeMatrix.mat.gz \
      --outFileNameMatrix SPT5_T15_REP1.mLb.clN.computeMatrix.vals.mat.tab \
      --numberOfProcessors 2
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_CHIPSEQ:CHIPSEQ:DEEPTOOLS_COMPUTEMATRIX":
      deeptools: $(computeMatrix --version | sed -e "s/computeMatrix //g")
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  multiprocessing.pool.RemoteTraceback: 
  """
  Traceback (most recent call last):
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/multiprocessing/pool.py", line 125, in worker
      result = (True, func(*args, **kwds))
                      ^^^^^^^^^^^^^^^^^^^
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar
      return list(map(*args))
             ^^^^^^^^^^^^^^^^
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/site-packages/deeptools/heatmapper.py", line 174, in compute_sub_matrix_wrapper
      return heatmapper.compute_sub_matrix_worker(*args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/site-packages/deeptools/heatmapper.py", line 379, in compute_sub_matrix_worker
      sub_matrix[:] = np.NAN
                      ^^^^^^
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/site-packages/numpy/__init__.py", line 414, in __getattr__
      raise AttributeError("module {!r} has no attribute "
  AttributeError: module 'numpy' has no attribute 'NAN'
  """
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/bin/computeMatrix", line 10, in <module>
      sys.exit(main())
               ^^^^^^
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/site-packages/deeptools/computeMatrix.py", line 398, in main
      hm.computeMatrix(scores_file_list, args.regionsFileName, parameters, blackListFileName=args.blackListFileName, verbose=args.verbose, allArgs=args)
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/site-packages/deeptools/heatmapper.py", line 252, in computeMatrix
      res, labels = mapReduce.mapReduce([score_file_list, parameters],
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/site-packages/deeptools/mapReduce.py", line 142, in mapReduce
      res = pool.map_async(func, TASKS).get(9999999)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9/lib/python3.12/multiprocessing/pool.py", line 774, in get
      raise self._value
  AttributeError: module 'numpy' has no attribute 'NAN'

Work dir:
  /tmp/nextflow_test/work/41/23b9506be5a8f576d9a28b2277caf9

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

 -- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '.nextflow.log' file for details

Relevant files

This is the result of running:

conda env export -p /tmp/nextflow_test/work/conda/env-ff6e32bd2f470527-a99740b96a460a4d021aea67a9fa0fe9

computematrix_env.yaml.txt

System information

N E X T F L O W version 25.04.3 build 5949
Running on HPC, local executor
conda 25.5.0
Red Hat Enterprise Linux release 8.1 (Ootpa) x86_64 GNU/Linux

------------------------------------------------------
                                        ,--./,-.
        ___     __   __   __   ___     /,-._.--~'
  |\ | |__  __ /  ` /  \ |__) |__         }  {
  | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                        `._,._,'
  nf-core/chipseq v2.1.0-g76e2382
------------------------------------------------------
Core Nextflow options
  revision                  : master
  runName                   : zen_celsius
  launchDir                 : /tmp/nextflow_test
  workDir                   : /tmp/nextflow_test/work
  projectDir                : /home/edg01/edg01/tbooth2/.nextflow/assets/nf-core/chipseq
  userName                  : tbooth2
  profile                   : test,conda
  configFiles               : 

Input/output options
  input                     : https://raw.githubusercontent.com/nf-core/test-datasets/chipseq/samplesheet/v2.1/samplesheet_test.csv
  read_length               : 50
  outdir                    : .

Reference genome options
  fasta                     : https://raw.githubusercontent.com/nf-core/test-datasets/atacseq/reference/genome.fa
  gtf                       : https://raw.githubusercontent.com/nf-core/test-datasets/atacseq/reference/genes.gtf

Process skipping options
  skip_preseq               : true

Institutional config options
  config_profile_name       : Test profile
  config_profile_description: Minimal test dataset to check pipeline function

Max job request options
  max_cpus                  : 2
  max_memory                : 6.GB
  max_time                  : 6.h

Generic options
  fingerprint_bins          : 100

Metadata

Metadata

Assignees

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