epi2me-labs / wf-single-cell

Other
75 stars 39 forks source link

ERROR ~ Error executing process > 'pipeline:process_bams:process_matrix (1)' #145

Open zhujack opened 3 weeks ago

zhujack commented 3 weeks ago

Operating System

Other Linux (please specify below)

Other Linux

Oracle Linux 8

Workflow Version

v2.3.0

Workflow Execution

Command line (Cluster)

Other workflow execution

No response

EPI2ME Version

No response

CLI command run

nextflow run epi2me-labs/wf-single-cell \ --expected_cells 100 \ --fastq 'wf-single-cell-demo/chr17.fq.gz' \ --kit '3prime:v3' \ --ref_genome_dir 'wf-single-cell-demo' \ --genes_of_interest 'wf-single-cell-demo/umap_plot_genes.csv' \ --threads $SLURM_CPUS_PER_TASK \ -profile singularity

Workflow Execution - CLI Execution Profile

singularity

What happened?

ERROR ~ Error executing process > 'pipeline:process_bams:process_matrix (1)'

Caused by: Process pipeline:process_bams:process_matrix (1) terminated with an error exit status (1)

Command executed:

export NUMBA_NUM_THREADS=1 workflow-glue process_matrix inputs/matrix*.hdf --feature gene --raw gene_raw_feature_bc_matrix --processed gene_processed_feature_bc_matrix --per_cell_mito gene.expression.mito-per-cell.tsv --per_cell_expr gene.expression.mean-per-cell.tsv --umap_tsv gene.expression.umap.tsv --enable_filtering --min_features 200 --min_cells 3 --max_mito 20 --mito_prefixes MT- --norm_count 10000 --enable_umap --replicates 3

Command exit status: 1

Command output: (empty)

Command error: [08:23:08 - workflow_glue] Bootstrapping CLI. /home/epi2melabs/conda/lib/python3.8/site-packages/umap/distances.py:1063: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit() /home/epi2melabs/conda/lib/python3.8/site-packages/umap/distances.py:1071: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit() /home/epi2melabs/conda/lib/python3.8/site-packages/umap/distances.py:1086: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit() Traceback (most recent call last): File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow-glue", line 7, in cli() File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/init.py", line 66, in cli components = get_components(allowed_components=[sys.argv[1]]) File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/init.py", line 29, in get_components mod = importlib.import_module(f"{_package_name}.{name}") File "/home/epi2melabs/conda/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 843, in exec_module File "", line 219, in _call_with_frames_removed File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/processmatrix.py", line 8, in import umap File "/home/epi2melabs/conda/lib/python3.8/site-packages/umap/init.py", line 2, in from .umap import UMAP File "/home/epi2melabs/conda/lib/python3.8/site-packages/umap/umap_.py", line 41, in from umap.layouts import ( File "/home/epi2melabs/conda/lib/python3.8/site-packages/umap/layouts.py", line 40, in def rdist(x, y): File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/decorators.py", line 234, in wrapper disp.enable_caching() File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/dispatcher.py", line 863, in enable_caching self._cache = FunctionCache(self.py_func) File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/caching.py", line 601, in init self._impl = self._impl_class(py_func) File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/caching.py", line 337, in init raise RuntimeError("cannot cache function %r: no locator available " RuntimeError: cannot cache function 'rdist': no locator available for file '/home/epi2melabs/conda/lib/python3.8/site-packages/umap/layouts.py'

Work dir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/work/10/65ac3d3e20d8ac6bf1968342c61c20

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

Relevant log output

Oct-29 08:37:36.866 [main] DEBUG nextflow.cli.Launcher - Setting http proxy: ProxyConfig[protocol=http; host=dtn26-e0; port=3128]
Oct-29 08:37:36.898 [main] DEBUG nextflow.cli.Launcher - Setting https proxy: ProxyConfig[protocol=https; host=dtn26-e0; port=3128]
Oct-29 08:37:36.898 [main] DEBUG nextflow.cli.Launcher - Setting ftp proxy: ProxyConfig[protocol=ftp; host=dtn26-e0; port=3128]
Oct-29 08:37:36.898 [main] DEBUG nextflow.cli.Launcher - $> nextflow run epi2me-labs/wf-single-cell -r v2.2.0 --expected_cells 100 --fastq ../wf-single-cell-demo/chr17.fq.gz --kit '3prime:v3' --ref_genome_dir ../wf-single-cell-demo --genes_of_interest ../wf-single-cell-demo/umap_plot_genes.csv --threads 32 -profile singularity
Oct-29 08:37:36.935 [main] INFO  nextflow.cli.CmdRun - N E X T F L O W  ~  version 23.10.0
Oct-29 08:37:36.947 [main] DEBUG nextflow.plugin.PluginsFacade - Setting up plugin manager > mode=prod; embedded=false; plugins-dir=/data/CCRBioinfo/zhujack/.nextflow/plugins; core-plugins: nf-amazon@2.1.4,nf-azure@1.3.2,nf-cloudcache@0.3.0,nf-codecommit@0.1.5,nf-console@1.0.6,nf-ga4gh@1.1.0,nf-google@1.8.3,nf-tower@1.6.3,nf-wave@1.0.0
Oct-29 08:37:36.958 [main] INFO  o.pf4j.DefaultPluginStatusProvider - Enabled plugins: []
Oct-29 08:37:36.959 [main] INFO  o.pf4j.DefaultPluginStatusProvider - Disabled plugins: []
Oct-29 08:37:36.961 [main] INFO  org.pf4j.DefaultPluginManager - PF4J version 3.4.1 in 'deployment' mode
Oct-29 08:37:36.971 [main] INFO  org.pf4j.AbstractPluginManager - No plugins
Oct-29 08:37:36.980 [main] DEBUG nextflow.scm.ProviderConfig - Using SCM config path: /data/CCRBioinfo/zhujack/.nextflow/scm
Oct-29 08:37:37.455 [main] DEBUG nextflow.scm.AssetManager - Git config: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/.git/config; branch: master; remote: origin; url: https://github.com/epi2me-labs/wf-single-cell.git
Oct-29 08:37:37.470 [main] DEBUG nextflow.scm.RepositoryFactory - Found Git repository result: [RepositoryFactory]
Oct-29 08:37:37.476 [main] DEBUG nextflow.scm.AssetManager - Git config: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/.git/config; branch: master; remote: origin; url: https://github.com/epi2me-labs/wf-single-cell.git
Oct-29 08:37:37.851 [main] DEBUG nextflow.config.ConfigBuilder - Found config base: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/nextflow.config
Oct-29 08:37:37.852 [main] DEBUG nextflow.config.ConfigBuilder - Parsing config file: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/nextflow.config
Oct-29 08:37:37.858 [main] DEBUG nextflow.config.ConfigBuilder - Applying config profile: `singularity`
Oct-29 08:37:37.945 [main] DEBUG nextflow.config.ConfigBuilder - Available config profiles: [standard, conda, singularity, awsbatch, local]
Oct-29 08:37:37.968 [main] DEBUG nextflow.cli.CmdRun - Applied DSL=2 from script declararion
Oct-29 08:37:37.968 [main] INFO  nextflow.cli.CmdRun - Launching `https://github.com/epi2me-labs/wf-single-cell` [gloomy_lavoisier] DSL2 - revision: b6ceb93c41 [v2.2.0]
Oct-29 08:37:37.968 [main] DEBUG nextflow.plugin.PluginsFacade - Plugins default=[]
Oct-29 08:37:37.968 [main] DEBUG nextflow.plugin.PluginsFacade - Plugins resolved requirement=[]
Oct-29 08:37:37.970 [main] DEBUG n.secret.LocalSecretsProvider - Secrets store: /data/CCRBioinfo/zhujack/.nextflow/secrets/store.json
Oct-29 08:37:37.971 [main] DEBUG nextflow.secret.SecretsLoader - Discovered secrets providers: [nextflow.secret.LocalSecretsProvider@601eb4af] - activable => nextflow.secret.LocalSecretsProvider@601eb4af
Oct-29 08:37:38.011 [main] DEBUG nextflow.Session - Session UUID: ed048592-1567-44ab-b0a3-e51dd6fd2ab2
Oct-29 08:37:38.011 [main] DEBUG nextflow.Session - Run name: gloomy_lavoisier
Oct-29 08:37:38.012 [main] DEBUG nextflow.Session - Executor pool size: 32
Oct-29 08:37:38.016 [main] DEBUG nextflow.file.FilePorter - File porter settings maxRetries=3; maxTransfers=50; pollTimeout=null
Oct-29 08:37:38.019 [main] DEBUG nextflow.util.ThreadPoolBuilder - Creating thread pool 'FileTransfer' minSize=10; maxSize=96; workQueue=LinkedBlockingQueue[10000]; allowCoreThreadTimeout=false
Oct-29 08:37:38.034 [main] DEBUG nextflow.cli.CmdRun - 
  Version: 23.10.0 build 5889
  Created: 15-10-2023 15:07 UTC (11:07 EDT)
  System: Linux 4.18.0-425.19.2.el8_7.x86_64
  Runtime: Groovy 3.0.19 on Java HotSpot(TM) 64-Bit Server VM 17.0.3.1+2-LTS-6
  Encoding: UTF-8 (UTF-8)
  Process: 1648690@cn0032 [10.2.20.32]
  CPUs: 32 - Mem: 57 GB (54.1 GB) - Swap: 0 (0)
Oct-29 08:37:38.056 [main] DEBUG nextflow.Session - Work-dir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work [nfs]
Oct-29 08:37:38.068 [main] DEBUG nextflow.executor.ExecutorFactory - Extension executors providers=[]
Oct-29 08:37:38.074 [main] DEBUG nextflow.Session - Observer factory: DefaultObserverFactory
Oct-29 08:37:38.117 [main] DEBUG nextflow.cache.CacheFactory - Using Nextflow cache factory: nextflow.cache.DefaultCacheFactory
Oct-29 08:37:38.125 [main] DEBUG nextflow.util.CustomThreadPool - Creating default thread pool > poolSize: 33; maxThreads: 1000
Oct-29 08:37:38.214 [main] DEBUG nextflow.Session - Session start
Oct-29 08:37:38.217 [main] DEBUG nextflow.trace.TraceFileObserver - Workflow started -- trace file: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/output/execution/trace.txt
Oct-29 08:37:38.227 [main] DEBUG nextflow.Session - Using default localLib path: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/lib
Oct-29 08:37:38.230 [main] DEBUG nextflow.Session - Adding to the classpath library: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/lib
Oct-29 08:37:38.230 [main] DEBUG nextflow.Session - Adding to the classpath library: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/lib/nfcore_external_java_deps.jar
Oct-29 08:37:39.195 [main] DEBUG nextflow.script.ScriptRunner - > Launching execution
Oct-29 08:37:40.471 [main] WARN  nextflow.Nextflow - Found unexpected parameters:
* --genes_of_interest: ../wf-single-cell-demo/umap_plot_genes.csv
Oct-29 08:37:40.472 [main] INFO  nextflow.Nextflow - - Ignore this warning: params.schema_ignore_params = "genes_of_interest" 
Oct-29 08:37:40.482 [main] INFO  nextflow.Nextflow - 
||||||||||   _____ ____ ___ ____  __  __ _____      _       _
||||||||||  | ____|  _ \_ _|___ \|  \/  | ____|    | | __ _| |__  ___
|||||       |  _| | |_) | |  __) | |\/| |  _| _____| |/ _` | '_ \/ __|
|||||       | |___|  __/| | / __/| |  | | |__|_____| | (_| | |_) \__ \
||||||||||  |_____|_|  |___|_____|_|  |_|_____|    |_|\__,_|_.__/|___/
||||||||||  wf-single-cell v2.2.0-gb6ceb93
--------------------------------------------------------------------------------
Core Nextflow options
  revision       : v2.2.0
  runName        : gloomy_lavoisier
  containerEngine: singularity
  container      : [withLabel:singlecell:ontresearch/wf-single-cell:sha0fcdf10929fbef2d426bb985e16b81153a88c6f4, withLabel:wf_common:ontresearch/wf-common:shab540ba556d0d8c38bea8fec520f0bdedd9e59520]
  launchDir      : /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa
  workDir        : /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work
  projectDir     : /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell
  userName       : zhujack
  profile        : singularity
  configFiles    : /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/nextflow.config

Input Options
  fastq          : ../wf-single-cell-demo/chr17.fq.gz
  ref_genome_dir : ../wf-single-cell-demo
  expected_cells : 100

Advanced options
  threads        : 32

!! Only displaying parameters that differ from the pipeline defaults !!
--------------------------------------------------------------------------------
If you use epi2me-labs/wf-single-cell for your analysis please cite:

* The nf-core framework
  https://doi.org/10.1038/s41587-020-0439-x

--------------------------------------------------------------------------------
This is epi2me-labs/wf-single-cell v2.2.0-gb6ceb93.
--------------------------------------------------------------------------------
Oct-29 08:37:40.928 [main] INFO  nextflow.Nextflow - Searching input for [.fastq, .fastq.gz, .fq, .fq.gz] files.
Oct-29 08:37:41.000 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `ingress,wf_common` for process with name fastcat
Oct-29 08:37:41.003 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.003 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.006 [main] DEBUG nextflow.executor.Executor - [warm up] executor > local
Oct-29 08:37:41.010 [main] DEBUG n.processor.LocalPollingMonitor - Creating local task monitor for executor 'local' > cpus=32; memory=57 GB; capacity=32; pollInterval=100ms; dumpInterval=5m
Oct-29 08:37:41.012 [main] DEBUG n.processor.TaskPollingMonitor - >>> barrier register (monitor: local)
Oct-29 08:37:41.075 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name parse_kit_metadata
Oct-29 08:37:41.076 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.076 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.092 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:getVersions
Oct-29 08:37:41.092 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.092 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.094 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:getParams
Oct-29 08:37:41.094 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.094 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.097 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:preprocess:call_paftools
Oct-29 08:37:41.098 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.098 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.101 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:preprocess:build_minimap_index
Oct-29 08:37:41.101 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.101 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.104 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:preprocess:call_adapter_scan
Oct-29 08:37:41.105 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.105 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.111 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:preprocess:summarize_adapter_table
Oct-29 08:37:41.111 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.112 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.114 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:split_gtf_by_chroms
Oct-29 08:37:41.115 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.115 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.119 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:generate_whitelist
Oct-29 08:37:41.120 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.120 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.124 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:assign_barcodes
Oct-29 08:37:41.124 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.124 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.127 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `wf_common` for process with name pipeline:process_bams:cat_tags_by_chrom
Oct-29 08:37:41.127 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.127 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.130 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `wf_common` for process with name pipeline:process_bams:merge_bams
Oct-29 08:37:41.130 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.130 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.136 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:stringtie
Oct-29 08:37:41.137 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.137 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.139 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:align_to_transcriptome
Oct-29 08:37:41.139 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.139 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.145 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:assign_features
Oct-29 08:37:41.145 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.145 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.149 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:create_matrix
Oct-29 08:37:41.150 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.150 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.154 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:process_matrix
Oct-29 08:37:41.154 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.154 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.157 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:merge_transcriptome
Oct-29 08:37:41.157 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.157 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.159 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:combine_final_tag_files
Oct-29 08:37:41.160 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.160 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.161 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:tag_bam
Oct-29 08:37:41.161 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.162 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.163 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:umi_gene_saturation
Oct-29 08:37:41.163 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.163 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.167 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:pack_images
Oct-29 08:37:41.167 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.167 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.177 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:prepare_report_data
Oct-29 08:37:41.177 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.177 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.194 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `wf_common` for process with name pipeline:makeReport
Oct-29 08:37:41.195 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Oct-29 08:37:41.195 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Oct-29 08:37:41.196 [main] DEBUG nextflow.Session - Workflow process names [dsl2]: move_or_compress_fq_file, pipeline:getParams, pipeline:process_bams:merge_bams, summarize_adapter_table, pipeline:preprocess:build_minimap_index, pipeline:process_bams:combine_final_tag_files, pipeline:process_bams:pack_images, checkBamHeaders, mergeBams, pipeline:process_bams:assign_barcodes, makeReport, pipeline:preprocess:summarize_adapter_table, getVersions, call_paftools, validateIndex, combine_final_tag_files, pack_images, merge_bams, process_matrix, bamstats, cat_tags_by_chrom, pipeline:process_bams:process_matrix, assign_features, fastcat, pipeline:prepare_report_data, parse_kit_metadata, generate_whitelist, pipeline:process_bams:stringtie, samtools_index, getParams, pipeline:process_bams:tag_bam, prepare_report_data, sortBam, validate_sample_sheet, pipeline:process_bams:cat_tags_by_chrom, create_matrix, pipeline:process_bams:umi_gene_saturation, pipeline:makeReport, pipeline:preprocess:call_adapter_scan, pipeline:process_bams:split_gtf_by_chroms, build_minimap_index, assign_barcodes, tag_bam, call_adapter_scan, umi_gene_saturation, pipeline:process_bams:generate_whitelist, pipeline:process_bams:align_to_transcriptome, stringtie, pipeline:process_bams:create_matrix, pipeline:process_bams:merge_transcriptome, pipeline:getVersions, merge_transcriptome, split_fq_file, pipeline:preprocess:call_paftools, pipeline:process_bams:assign_features, align_to_transcriptome, catSortBams, split_gtf_by_chroms
Oct-29 08:37:41.197 [main] DEBUG nextflow.Session - Igniting dataflow network (26)
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > fastcat
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > parse_kit_metadata
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:getVersions
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:getParams
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:preprocess:call_paftools
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:preprocess:build_minimap_index
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:preprocess:call_adapter_scan
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:preprocess:summarize_adapter_table
Oct-29 08:37:41.197 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:split_gtf_by_chroms
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:generate_whitelist
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:assign_barcodes
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:cat_tags_by_chrom
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:merge_bams
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:stringtie
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:align_to_transcriptome
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:assign_features
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:create_matrix
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:process_matrix
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:merge_transcriptome
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:combine_final_tag_files
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:tag_bam
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:umi_gene_saturation
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:pack_images
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:prepare_report_data
Oct-29 08:37:41.198 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:makeReport
Oct-29 08:37:41.198 [main] DEBUG nextflow.script.ScriptRunner - Parsed script files:
  Script_cb856e48bd3e71ad: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/./subworkflows/preprocess.nf
  Script_874fbf87d31bb3f1: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/./subworkflows/process_bams.nf
  Script_12a0f5c2d1e6bd2e: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/main.nf
  Script_b6fd3c4ddd1b8546: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/./lib/ingress.nf
Oct-29 08:37:41.198 [main] DEBUG nextflow.script.ScriptRunner - > Awaiting termination 
Oct-29 08:37:41.198 [main] DEBUG nextflow.Session - Session await
Oct-29 08:37:41.234 [Actor Thread 18] DEBUG nextflow.container.SingularityCache - Singularity found local store for image=docker://ontresearch/wf-single-cell:sha0fcdf10929fbef2d426bb985e16b81153a88c6f4; path=/data/CCRBioinfo/zhujack/.singularity/ontresearch-wf-single-cell-sha0fcdf10929fbef2d426bb985e16b81153a88c6f4.img
Oct-29 08:37:41.234 [Actor Thread 22] DEBUG nextflow.container.SingularityCache - Singularity found local store for image=docker://ontresearch/wf-common:shab540ba556d0d8c38bea8fec520f0bdedd9e59520; path=/data/CCRBioinfo/zhujack/.singularity/ontresearch-wf-common-shab540ba556d0d8c38bea8fec520f0bdedd9e59520.img
Oct-29 08:37:41.296 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:41.297 [Task submitter] INFO  nextflow.Session - [67/7f3122] Submitted process > pipeline:preprocess:call_paftools
Oct-29 08:37:41.311 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:41.312 [Task submitter] INFO  nextflow.Session - [58/d52619] Submitted process > pipeline:process_bams:split_gtf_by_chroms
Oct-29 08:37:41.323 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:41.323 [Task submitter] INFO  nextflow.Session - [ae/3f8745] Submitted process > fastcat (1)
Oct-29 08:37:41.335 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:41.336 [Task submitter] INFO  nextflow.Session - [f9/9c58ef] Submitted process > pipeline:getVersions
Oct-29 08:37:41.348 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:41.348 [Task submitter] INFO  nextflow.Session - [b5/b78ccd] Submitted process > pipeline:getParams
Oct-29 08:37:41.952 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 6; name: pipeline:getParams; status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/b5/b78ccd9ba0eb20b51b7af209b41f35]
Oct-29 08:37:42.001 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 4; name: pipeline:process_bams:split_gtf_by_chroms; status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/58/d5261943cdf727d3b780f7637fd63f]
Oct-29 08:37:42.148 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 3; name: pipeline:preprocess:call_paftools; status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/67/7f312277733d4658e6aa2771871eed]
Oct-29 08:37:45.445 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 1; name: pipeline:getVersions; status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/f9/9c58efc1a8adf3418fa9de5b67b74d]
Oct-29 08:37:49.961 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 2; name: fastcat (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/ae/3f87459cb5693f3bce3c3af3dcfbb2]
Oct-29 08:37:49.971 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:49.971 [Task submitter] INFO  nextflow.Session - [22/45cee0] Submitted process > pipeline:preprocess:build_minimap_index
Oct-29 08:37:49.996 [Actor Thread 21] DEBUG nextflow.sort.BigSort - Sort completed -- entries: 1; slices: 1; internal sort time: 0.001 s; external sort time: 0.007 s; total time: 0.008 s
Oct-29 08:37:50.006 [Actor Thread 21] DEBUG nextflow.file.FileCollector - Saved collect-files list to: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/collect-file/ccaca869af8b57782110b3430d6a1225
Oct-29 08:37:50.010 [Actor Thread 21] DEBUG nextflow.file.FileCollector - Deleting file collector temp dir: /lscratch/39584654/nxf-8688439941233398964
Oct-29 08:37:50.021 [Actor Thread 15] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/data/OPTIONAL_FILE
Oct-29 08:37:50.023 [Actor Thread 15] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/kit_configs.csv
Oct-29 08:37:50.024 [Actor Thread 15] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow-glue
Oct-29 08:37:52.460 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 5; name: pipeline:preprocess:build_minimap_index; status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/22/45cee07c4d0c59eed0f1281be545c0]
Oct-29 08:37:52.469 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:52.469 [Task submitter] INFO  nextflow.Session - [a0/0c0af0] Submitted process > parse_kit_metadata (1)
Oct-29 08:37:54.467 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 7; name: parse_kit_metadata (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/a0/0c0af099d9ede5851718e9a7b64494]
Oct-29 08:37:54.485 [Actor Thread 21] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/data/3M-3pgex-may-2023.txt.gz
Oct-29 08:37:54.499 [Actor Thread 21] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/data/3M-february-2018.txt.gz
Oct-29 08:37:54.515 [Actor Thread 21] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/data/737K-arc-v1.txt.gz
Oct-29 08:37:54.517 [Actor Thread 21] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/data/737K-august-2016.txt.gz
Oct-29 08:37:54.520 [Actor Thread 21] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/data/visium-v1.txt.gz
Oct-29 08:37:54.538 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:37:54.539 [Task submitter] INFO  nextflow.Session - [f7/fc8164] Submitted process > pipeline:preprocess:call_adapter_scan (1)
Oct-29 08:39:31.900 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 8; name: pipeline:preprocess:call_adapter_scan (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/f7/fc8164b916365f8858e5d2fc8548da]
Oct-29 08:39:31.921 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:39:31.922 [Task submitter] INFO  nextflow.Session - [bf/6457c9] Submitted process > pipeline:process_bams:merge_bams (1)
Oct-29 08:39:35.190 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 11; name: pipeline:process_bams:merge_bams (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/bf/6457c996c6a622d1013389bae9812c]
Oct-29 08:39:35.200 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:39:35.200 [Task submitter] INFO  nextflow.Session - [84/2c842c] Submitted process > pipeline:preprocess:summarize_adapter_table (1)
Oct-29 08:39:35.210 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:39:35.210 [Task submitter] INFO  nextflow.Session - [42/e92c6e] Submitted process > pipeline:process_bams:generate_whitelist (1)
Oct-29 08:39:37.508 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 9; name: pipeline:preprocess:summarize_adapter_table (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/84/2c842c91c47a7861e934501f4c7f9b]
Oct-29 08:39:37.515 [Task monitor] DEBUG nextflow.util.ThreadPoolBuilder - Creating thread pool 'PublishDir' minSize=10; maxSize=96; workQueue=LinkedBlockingQueue[10000]; allowCoreThreadTimeout=false
Oct-29 08:39:38.339 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 10; name: pipeline:process_bams:generate_whitelist (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/42/e92c6ef9977f5d34b7de0d9c5cdffb]
Oct-29 08:39:38.350 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:39:38.351 [Task submitter] INFO  nextflow.Session - [a1/14c6bb] Submitted process > pipeline:process_bams:stringtie (1)
Oct-29 08:39:54.278 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 12; name: pipeline:process_bams:stringtie (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/a1/14c6bbc83b361e7c5780ae036c2a00]
Oct-29 08:39:54.289 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:39:54.290 [Task submitter] INFO  nextflow.Session - [b6/afa208] Submitted process > pipeline:process_bams:assign_barcodes (1)
Oct-29 08:40:00.984 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 13; name: pipeline:process_bams:assign_barcodes (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/b6/afa208021a6571fe5da498343220ce]
Oct-29 08:40:00.993 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:40:00.994 [Task submitter] INFO  nextflow.Session - [3b/26d8f3] Submitted process > pipeline:process_bams:align_to_transcriptome (1)
Oct-29 08:40:34.099 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 14; name: pipeline:process_bams:align_to_transcriptome (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/3b/26d8f3859eaf04cb3c07f9501e3f7f]
Oct-29 08:40:34.108 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:40:34.108 [Task submitter] INFO  nextflow.Session - [aa/5a55f2] Submitted process > pipeline:process_bams:cat_tags_by_chrom (1)
Oct-29 08:40:34.731 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 15; name: pipeline:process_bams:cat_tags_by_chrom (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/aa/5a55f28674b3fe62bd2407f8376a28]
Oct-29 08:40:34.765 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:40:34.765 [Task submitter] INFO  nextflow.Session - [3c/3f21ea] Submitted process > pipeline:process_bams:assign_features (1)
Oct-29 08:40:50.385 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 16; name: pipeline:process_bams:assign_features (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/3c/3f21ea6fca684ceb525c451771a613]
Oct-29 08:40:50.404 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:40:50.404 [Task submitter] INFO  nextflow.Session - [c1/7180c4] Submitted process > pipeline:process_bams:create_matrix (1)
Oct-29 08:40:50.432 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:40:50.433 [Task submitter] INFO  nextflow.Session - [68/a0df10] Submitted process > pipeline:process_bams:merge_transcriptome (1)
Oct-29 08:40:51.284 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 18; name: pipeline:process_bams:merge_transcriptome (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/68/a0df108b4d42cd646bd1deacda8389]
Oct-29 08:41:12.016 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 17; name: pipeline:process_bams:create_matrix (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/c1/7180c4994ee01d5c7783fddd2d38d8]
Oct-29 08:41:12.037 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:41:12.037 [Task submitter] INFO  nextflow.Session - [69/113489] Submitted process > pipeline:process_bams:combine_final_tag_files (1)
Oct-29 08:41:12.046 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:41:12.047 [Task submitter] INFO  nextflow.Session - [e8/f031ab] Submitted process > pipeline:process_bams:tag_bam (1)
Oct-29 08:41:12.061 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:41:12.061 [Task submitter] INFO  nextflow.Session - [e3/7a3056] Submitted process > pipeline:process_bams:process_matrix (2)
Oct-29 08:41:12.070 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Oct-29 08:41:12.071 [Task submitter] INFO  nextflow.Session - [5e/3c4e1e] Submitted process > pipeline:process_bams:process_matrix (1)
Oct-29 08:41:12.638 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 20; name: pipeline:process_bams:combine_final_tag_files (1); status: COMPLETED; exit: 0; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/69/1134895b20bde651598f818a4d553d]
Oct-29 08:41:16.582 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 19; name: pipeline:process_bams:process_matrix (1); status: COMPLETED; exit: 1; error: -; workDir: /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/5e/3c4e1ec304e5b194f559a69ca411fb]
Oct-29 08:41:16.584 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=pipeline:process_bams:process_matrix (1); work-dir=/vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/5e/3c4e1ec304e5b194f559a69ca411fb
  error [nextflow.exception.ProcessFailedException]: Process `pipeline:process_bams:process_matrix (1)` terminated with an error exit status (1)
Oct-29 08:41:16.589 [Task monitor] ERROR nextflow.processor.TaskProcessor - Error executing process > 'pipeline:process_bams:process_matrix (1)'

Caused by:
  Process `pipeline:process_bams:process_matrix (1)` terminated with an error exit status (1)

Command executed:

  export NUMBA_NUM_THREADS=1
  workflow-glue process_matrix         inputs/matrix*.hdf         --feature gene         --raw gene_raw_feature_bc_matrix         --processed gene_processed_feature_bc_matrix         --per_cell_mito gene.expression.mito-per-cell.tsv         --per_cell_expr gene.expression.mean-per-cell.tsv         --umap_tsv gene.expression.umap.tsv         --enable_filtering         --min_features 200         --min_cells 3         --max_mito 20         --mito_prefixes MT-         --norm_count 10000         --enable_umap         --replicates 3

Command exit status:
  1

Command output:
  (empty)

Command error:
  [08:41:12 - workflow_glue] Bootstrapping CLI.
  /home/epi2melabs/conda/lib/python3.8/site-packages/umap/distances.py:1063: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
    @numba.jit()
  /home/epi2melabs/conda/lib/python3.8/site-packages/umap/distances.py:1071: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
    @numba.jit()
  /home/epi2melabs/conda/lib/python3.8/site-packages/umap/distances.py:1086: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
    @numba.jit()
  Traceback (most recent call last):
    File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow-glue", line 7, in <module>
      cli()
    File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/__init__.py", line 66, in cli
      components = get_components(allowed_components=[sys.argv[1]])
    File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/__init__.py", line 29, in get_components
      mod = importlib.import_module(f"{_package_name}.{name}")
    File "/home/epi2melabs/conda/lib/python3.8/importlib/__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 843, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "/data/CCRBioinfo/zhujack/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/process_matrix.py", line 8, in <module>
      import umap
    File "/home/epi2melabs/conda/lib/python3.8/site-packages/umap/__init__.py", line 2, in <module>
      from .umap_ import UMAP
    File "/home/epi2melabs/conda/lib/python3.8/site-packages/umap/umap_.py", line 41, in <module>
      from umap.layouts import (
    File "/home/epi2melabs/conda/lib/python3.8/site-packages/umap/layouts.py", line 40, in <module>
      def rdist(x, y):
    File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/decorators.py", line 234, in wrapper
      disp.enable_caching()
    File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/dispatcher.py", line 863, in enable_caching
      self._cache = FunctionCache(self.py_func)
    File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/caching.py", line 601, in __init__
      self._impl = self._impl_class(py_func)
    File "/home/epi2melabs/conda/lib/python3.8/site-packages/numba/core/caching.py", line 337, in __init__
      raise RuntimeError("cannot cache function %r: no locator available "
  RuntimeError: cannot cache function 'rdist': no locator available for file '/home/epi2melabs/conda/lib/python3.8/site-packages/umap/layouts.py'

Work dir:
  /vf/users/CCRBioinfo/zhujack/projects/tests/tool_test/ONT/wf-single-cell/test_fa/work/5e/3c4e1ec304e5b194f559a69ca411fb

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`
Oct-29 08:41:16.592 [Task monitor] DEBUG nextflow.Session - Session aborted -- Cause: Process `pipeline:process_bams:process_matrix (1)` terminated with an error exit status (1)
Oct-29 08:41:16.604 [Task monitor] DEBUG nextflow.Session - The following nodes are still active:
[process] pipeline:process_bams:pack_images
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: -
  port 1: (cntrl) -     ; channel: $

[process] pipeline:prepare_report_data
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: -
  port 1: (cntrl) -     ; channel: $

[process] pipeline:makeReport
  status=ACTIVE
  port 0: (value) bound ; channel: metadata
  port 1: (value) bound ; channel: versions
  port 2: (value) bound ; channel: params.csv
  port 3: (value) bound ; channel: stats
  port 4: (queue) OPEN  ; channel: survival.tsv
  port 5: (value) OPEN  ; channel: umap_dirs
  port 6: (value) OPEN  ; channel: images
  port 7: (value) bound ; channel: umap_genes
  port 8: (value) bound ; channel: wf_version
  port 9: (queue) OPEN  ; channel: bam_stats.tsv
  port 10: (cntrl) -     ; channel: $

Oct-29 08:41:16.926 [main] DEBUG nextflow.Session - Session await > all processes finished
Oct-29 08:41:16.926 [main] DEBUG nextflow.Session - Session await > all barriers passed
Oct-29 08:41:16.927 [Task monitor] DEBUG n.processor.TaskPollingMonitor - <<< barrier arrives (monitor: local) - terminating tasks monitor poll loop
Oct-29 08:41:16.927 [Actor Thread 15] DEBUG nextflow.file.SortFileCollector - FileCollector temp dir not removed: null
Oct-29 08:41:16.927 [Actor Thread 11] DEBUG nextflow.file.SortFileCollector - FileCollector temp dir not removed: null
Oct-29 08:41:17.041 [main] WARN  n.processor.TaskPollingMonitor - Killing running tasks (2)
Oct-29 08:41:17.052 [main] DEBUG n.executor.local.LocalTaskHandler - Unable to kill pipeline:process_bams:process_matrix (2) -- command: kill -TERM 1826531; exit: 1 
 bash: line 0: kill: (1826531) - No such process

Oct-29 08:41:17.053 [main] DEBUG n.trace.WorkflowStatsObserver - Workflow completed > WorkflowStats[succeededCount=19; failedCount=1; ignoredCount=0; cachedCount=0; pendingCount=1; submittedCount=0; runningCount=0; retriesCount=0; abortedCount=2; succeedDuration=1h 21m 55s; failedDuration=4.5s; cachedDuration=0ms;loadCpus=0; loadMemory=0; peakRunning=5; peakCpus=32; peakMemory=49 GB; ]
Oct-29 08:41:17.053 [main] DEBUG nextflow.trace.TraceFileObserver - Workflow completed -- saving trace file
Oct-29 08:41:17.056 [main] DEBUG nextflow.trace.ReportObserver - Workflow completed -- rendering execution report
Oct-29 08:41:17.331 [main] DEBUG nextflow.trace.TimelineObserver - Workflow completed -- rendering execution timeline
Oct-29 08:41:17.372 [main] DEBUG nextflow.cache.CacheDB - Closing CacheDB done
Oct-29 08:41:17.392 [main] DEBUG nextflow.script.ScriptRunner - > Execution complete -- Goodbye

Application activity log entry

No response

Were you able to successfully run the latest version of the workflow with the demo data?

no

Other demo data information

No response

nrhorner commented 2 weeks ago

Hi @zhujack could you add the following to a file (numba.config)

env {
    NUMBA_CACHE_DIR = "${launchDir}/numba_cache"
}

And repeat the command and include -resume -c numba.config in your command.

e-hutchins commented 1 week ago

Hi @zhujack I am having this same issue with the demo data.

I tried your suggestion @nrhorner and I get the same error above. I am also deploying on a SLURM cluster.

Andrey-Tyshevich commented 2 days ago

Hi @zhujack @e-hutchins I encountered the same error using slurm profile with singularity image. The solution is to assign NUMBA_CACHE_DIR the destination the nextflow processes can write to, e.g. you can specify:

singularity {
    runOptions = '-B /your_real_path:/your_real_path'
    }

env {
    NUMBA_CACHE_DIR = "/your_real_path/numba_cache"
}
e-hutchins commented 1 day ago

@Andrey-Tyshevich that did the trick, got the test data to run. Thank you!