epi2me-labs / wf-single-cell

Other
70 stars 38 forks source link

ERROR: (numba) unable to cache 'rdist' #47

Closed suegrimes closed 11 months ago

suegrimes commented 1 year ago

Operating System

Other Linux (please specify below)

Other Linux

Ubuntu 20.04

Workflow Version

v0.2.7-g9272e2c

Workflow Execution

Command line

EPI2ME Version

No response

CLI command run

nextflow run epi2me-labs/wf-single-cell -w output/workspace -profile singularity \ --fastq wf-single-cell-demo/chr17.fq.gz \ --kit_name 3prime \ --kit_version v3 \ --expected_cells 100 \ --ref_genome_dir wf-single-cell-demo/ \ --out_dir output \ --plot_umaps

Workflow Execution - CLI Execution Profile

singularity

What happened?

Pipeline failed with error, no output

Relevant log output

Sep-18 21:23:08.834 [main] DEBUG nextflow.cli.Launcher - $> nextflow run epi2me-labs/wf-single-cell -w output/workspace -profile singularity --fastq wf-single-cell-demo/chr17.fq.gz --kit_name 3prime --kit_version v3 --expected_cells 100 --ref_genome_dir wf-single-cell-demo/ --out_dir output --plot_umaps
Sep-18 21:23:08.965 [main] INFO  nextflow.cli.CmdRun - N E X T F L O W  ~  version 23.04.3
Sep-18 21:23:09.017 [main] DEBUG nextflow.plugin.PluginsFacade - Setting up plugin manager > mode=prod; embedded=false; plugins-dir=/home/sgrimes/.nextflow/plugins; core-plugins: nf-amazon@1.16.2,nf-azure@1.0.1,nf-codecommit@0.1.4,nf-console@1.0.5,nf-ga4gh@1.0.5,nf-google@1.7.3,nf-tower@1.5.12,nf-wave@0.8.4
Sep-18 21:23:09.037 [main] INFO  org.pf4j.DefaultPluginStatusProvider - Enabled plugins: []
Sep-18 21:23:09.039 [main] INFO  org.pf4j.DefaultPluginStatusProvider - Disabled plugins: []
Sep-18 21:23:09.044 [main] INFO  org.pf4j.DefaultPluginManager - PF4J version 3.4.1 in 'deployment' mode
Sep-18 21:23:09.065 [main] INFO  org.pf4j.AbstractPluginManager - No plugins
Sep-18 21:23:09.090 [main] DEBUG nextflow.scm.ProviderConfig - Using SCM config path: /home/sgrimes/.nextflow/scm
Sep-18 21:23:10.841 [main] DEBUG nextflow.scm.AssetManager - Git config: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/.git/config; branch: master; remote: origin; url: https://github.com/epi2me-labs/wf-single-cell.git
Sep-18 21:23:10.874 [main] DEBUG nextflow.scm.RepositoryFactory - Found Git repository result: [RepositoryFactory]
Sep-18 21:23:10.889 [main] DEBUG nextflow.scm.AssetManager - Git config: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/.git/config; branch: master; remote: origin; url: https://github.com/epi2me-labs/wf-single-cell.git
Sep-18 21:23:12.025 [main] DEBUG nextflow.config.ConfigBuilder - Found config base: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/nextflow.config
Sep-18 21:23:12.026 [main] DEBUG nextflow.config.ConfigBuilder - Parsing config file: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/nextflow.config
Sep-18 21:23:12.046 [main] DEBUG nextflow.config.ConfigBuilder - Applying config profile: `singularity`
Sep-18 21:23:12.312 [main] DEBUG nextflow.config.ConfigBuilder - Available config profiles: [standard, conda, singularity, awsbatch, local]
Sep-18 21:23:12.368 [main] DEBUG nextflow.cli.CmdRun - Applied DSL=2 from script declararion
Sep-18 21:23:12.370 [main] INFO  nextflow.cli.CmdRun - Launching `https://github.com/epi2me-labs/wf-single-cell` [mad_koch] DSL2 - revision: 9272e2ce6d [master]
Sep-18 21:23:12.371 [main] DEBUG nextflow.plugin.PluginsFacade - Plugins default=[]
Sep-18 21:23:12.371 [main] DEBUG nextflow.plugin.PluginsFacade - Plugins resolved requirement=[]
Sep-18 21:23:12.377 [main] DEBUG nextflow.secret.LocalSecretsProvider - Secrets store: /home/sgrimes/.nextflow/secrets/store.json
Sep-18 21:23:12.382 [main] DEBUG nextflow.secret.SecretsLoader - Discovered secrets providers: [nextflow.secret.LocalSecretsProvider@4b03cbad] - activable => nextflow.secret.LocalSecretsProvider@4b03cbad
Sep-18 21:23:12.479 [main] DEBUG nextflow.Session - Session UUID: 49df4dc3-171f-44de-9c01-dc24996f7e88
Sep-18 21:23:12.480 [main] DEBUG nextflow.Session - Run name: mad_koch
Sep-18 21:23:12.481 [main] DEBUG nextflow.Session - Executor pool size: 64
Sep-18 21:23:12.504 [main] DEBUG nextflow.util.ThreadPoolBuilder - Creating thread pool 'FileTransfer' minSize=10; maxSize=192; workQueue=LinkedBlockingQueue[10000]; allowCoreThreadTimeout=false
Sep-18 21:23:12.564 [main] DEBUG nextflow.cli.CmdRun - 
  Version: 23.04.3 build 5875
  Created: 11-08-2023 18:37 UTC (11:37 PDT)
  System: Linux 5.4.0-152-generic
  Runtime: Groovy 3.0.16 on OpenJDK 64-Bit Server VM 11.0.20.1+1-post-Ubuntu-0ubuntu120.04
  Encoding: UTF-8 (UTF-8)
  Process: 911130@ikura [127.0.1.1]
  CPUs: 64 - Mem: 251.6 GB (16.8 GB) - Swap: 8 GB (7.5 GB)
Sep-18 21:23:12.609 [main] DEBUG nextflow.Session - Work-dir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace [nfs]
Sep-18 21:23:12.636 [main] DEBUG nextflow.executor.ExecutorFactory - Extension executors providers=[]
Sep-18 21:23:12.654 [main] DEBUG nextflow.Session - Observer factory: DefaultObserverFactory
Sep-18 21:23:12.803 [main] DEBUG nextflow.cache.CacheFactory - Using Nextflow cache factory: nextflow.cache.DefaultCacheFactory
Sep-18 21:23:12.820 [main] DEBUG nextflow.util.CustomThreadPool - Creating default thread pool > poolSize: 65; maxThreads: 1000
Sep-18 21:23:13.026 [main] DEBUG nextflow.Session - Session start
Sep-18 21:23:13.037 [main] DEBUG nextflow.trace.TraceFileObserver - Workflow started -- trace file: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/execution/trace.txt
Sep-18 21:23:13.056 [main] DEBUG nextflow.Session - Using default localLib path: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/lib
Sep-18 21:23:13.061 [main] DEBUG nextflow.Session - Adding to the classpath library: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/lib
Sep-18 21:23:13.062 [main] DEBUG nextflow.Session - Adding to the classpath library: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/lib/nfcore_external_java_deps.jar
Sep-18 21:23:16.220 [main] DEBUG nextflow.script.ScriptRunner - > Launching execution
Sep-18 21:23:18.728 [main] INFO  nextflow.Nextflow - 
||||||||||   _____ ____ ___ ____  __  __ _____      _       _
||||||||||  | ____|  _ \_ _|___ \|  \/  | ____|    | | __ _| |__  ___
|||||       |  _| | |_) | |  __) | |\/| |  _| _____| |/ _` | '_ \/ __|
|||||       | |___|  __/| | / __/| |  | | |__|_____| | (_| | |_) \__ \
||||||||||  |_____|_|  |___|_____|_|  |_|_____|    |_|\__,_|_.__/|___/
||||||||||  wf-single-cell v0.2.7-g9272e2c
--------------------------------------------------------------------------------
Core Nextflow options
  revision        : master
  runName         : mad_koch
  containerEngine : singularity
  launchDir       : /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo
  workDir         : /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace
  projectDir      : /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell
  userName        : sgrimes
  profile         : singularity
  configFiles     : /home/sgrimes/.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/
  kit_config      : /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/kit_configs.csv
  expected_cells  : 100

Output Options
  plot_umaps      : true

Advanced options
  matrix_min_genes: 200
  umap_plot_genes : /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/umap_plot_genes.csv

!! 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 v0.2.7-g9272e2c.
--------------------------------------------------------------------------------
Sep-18 21:23:19.473 [main] INFO  nextflow.Nextflow - Checking fastq input.
Sep-18 21:23:19.748 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `fastq_ingress,wf_common` for process with name fastcat
Sep-18 21:23:19.757 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:19.757 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:19.768 [main] DEBUG nextflow.executor.Executor - [warm up] executor > local
Sep-18 21:23:19.778 [main] DEBUG n.processor.LocalPollingMonitor - Creating local task monitor for executor 'local' > cpus=8; memory=12 GB; capacity=64; pollInterval=100ms; dumpInterval=5m
Sep-18 21:23:19.916 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `fastq_ingress,wf_common` for process with name move_or_compress
Sep-18 21:23:19.918 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:19.918 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.081 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:getVersions
Sep-18 21:23:20.086 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.087 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.096 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:getParams
Sep-18 21:23:20.097 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.098 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.121 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:summariseCatChunkReads
Sep-18 21:23:20.123 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.126 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.164 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:stranding:call_adapter_scan
Sep-18 21:23:20.167 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.167 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.184 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:stranding:combine_adapter_tables
Sep-18 21:23:20.186 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.186 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.197 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:stranding:summarize_adapter_table
Sep-18 21:23:20.198 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.200 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.209 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:align:call_paftools
Sep-18 21:23:20.211 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.211 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.217 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:align:get_chrom_sizes
Sep-18 21:23:20.218 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.218 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.236 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:align:align_to_ref
Sep-18 21:23:20.237 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.238 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.245 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:split_gtf_by_chroms
Sep-18 21:23:20.246 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.246 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.322 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:get_contigs
Sep-18 21:23:20.323 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.323 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.378 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:extract_barcodes
Sep-18 21:23:20.380 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.380 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.396 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:combine_uncorrect_bcs
Sep-18 21:23:20.398 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.398 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.441 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:generate_whitelist
Sep-18 21:23:20.443 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.443 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.463 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:assign_barcodes
Sep-18 21:23:20.465 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.465 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.482 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:stringtie
Sep-18 21:23:20.484 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.484 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.492 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:align_to_transcriptome
Sep-18 21:23:20.493 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.493 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.501 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:assign_features
Sep-18 21:23:20.502 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.502 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.512 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:cluster_umis
Sep-18 21:23:20.513 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.513 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.525 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:tag_bams
Sep-18 21:23:20.526 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.526 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.532 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:combine_tag_files
Sep-18 21:23:20.533 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.533 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.537 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:combine_final_tag_files
Sep-18 21:23:20.538 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.538 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.543 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:umi_gene_saturation
Sep-18 21:23:20.544 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.544 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.548 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:construct_expression_matrix
Sep-18 21:23:20.549 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.549 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.556 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:process_expression_matrix
Sep-18 21:23:20.557 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.557 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.567 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:umap_reduce_expression_matrix
Sep-18 21:23:20.567 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.567 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.577 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:process_bams:pack_images
Sep-18 21:23:20.578 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.578 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.623 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:prepare_report_data
Sep-18 21:23:20.623 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.624 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.640 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name pipeline:makeReport
Sep-18 21:23:20.641 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.641 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.654 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name output
Sep-18 21:23:20.654 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.654 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.658 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:singlecell` matches labels `singlecell` for process with name output_report
Sep-18 21:23:20.659 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: null
Sep-18 21:23:20.659 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'local'
Sep-18 21:23:20.662 [main] DEBUG nextflow.Session - Workflow process names [dsl2]: pipeline:getParams, summarize_adapter_table, combine_chrom_bams, pipeline:stranding:summarize_adapter_table, pipeline:process_bams:tag_bams, pipeline:process_bams:combine_final_tag_files, pipeline:process_bams:pack_images, output, pipeline:align:call_paftools, pipeline:process_bams:assign_barcodes, makeReport, get_chrom_sizes, align_to_ref, getVersions, call_paftools, pipeline:process_bams:construct_expression_matrix, combine_final_tag_files, pack_images, combine_tag_files, pipeline:process_bams:extract_barcodes, pipeline:stranding:call_adapter_scan, umap_reduce_expression_matrix, assign_features, construct_expression_matrix, cluster_umis, fastcat, pipeline:prepare_report_data, generate_whitelist, pipeline:process_bams:combine_tag_files, extract_barcodes, pipeline:process_bams:stringtie, getParams, summariseCatChunkReads, prepare_report_data, pipeline:align:align_to_ref, validate_sample_sheet, combine_uncorrect_bcs, process_expression_matrix, pipeline:process_bams:umi_gene_saturation, pipeline:makeReport, pipeline:process_bams:get_contigs, combine_adapter_tables, pipeline:process_bams:split_gtf_by_chroms, assign_barcodes, pipeline:align:get_chrom_sizes, call_adapter_scan, tag_bams, umi_gene_saturation, pipeline:process_bams:generate_whitelist, pipeline:summariseCatChunkReads, pipeline:process_bams:align_to_transcriptome, stringtie, pipeline:process_bams:cluster_umis, pipeline:process_bams:process_expression_matrix, pipeline:getVersions, move_or_compress, pipeline:process_bams:assign_features, pipeline:process_bams:combine_uncorrect_bcs, pipeline:process_bams:umap_reduce_expression_matrix, get_contigs, output_report, align_to_transcriptome, pipeline:stranding:combine_adapter_tables, split_gtf_by_chroms
Sep-18 21:23:20.662 [main] DEBUG nextflow.Session - Igniting dataflow network (37)
Sep-18 21:23:20.663 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > fastcat
Sep-18 21:23:20.663 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > move_or_compress
Sep-18 21:23:20.692 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:getVersions
Sep-18 21:23:20.693 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:getParams
Sep-18 21:23:20.693 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:summariseCatChunkReads
Sep-18 21:23:20.693 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:stranding:call_adapter_scan
Sep-18 21:23:20.693 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:stranding:combine_adapter_tables
Sep-18 21:23:20.694 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:stranding:summarize_adapter_table
Sep-18 21:23:20.696 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:align:call_paftools
Sep-18 21:23:20.698 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:align:get_chrom_sizes
Sep-18 21:23:20.699 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:align:align_to_ref
Sep-18 21:23:20.699 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:split_gtf_by_chroms
Sep-18 21:23:20.700 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:get_contigs
Sep-18 21:23:20.705 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:extract_barcodes
Sep-18 21:23:20.706 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:combine_uncorrect_bcs
Sep-18 21:23:20.714 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:generate_whitelist
Sep-18 21:23:20.715 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:assign_barcodes
Sep-18 21:23:20.722 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:stringtie
Sep-18 21:23:20.722 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:align_to_transcriptome
Sep-18 21:23:20.722 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:assign_features
Sep-18 21:23:20.722 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:cluster_umis
Sep-18 21:23:20.722 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:tag_bams
Sep-18 21:23:20.724 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:combine_tag_files
Sep-18 21:23:20.724 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:combine_final_tag_files
Sep-18 21:23:20.724 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:umi_gene_saturation
Sep-18 21:23:20.724 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:construct_expression_matrix
Sep-18 21:23:20.724 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:process_expression_matrix
Sep-18 21:23:20.725 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:umap_reduce_expression_matrix
Sep-18 21:23:20.726 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:process_bams:pack_images
Sep-18 21:23:20.727 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:prepare_report_data
Sep-18 21:23:20.727 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:makeReport
Sep-18 21:23:20.727 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > output
Sep-18 21:23:20.727 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > output_report
Sep-18 21:23:20.728 [main] DEBUG nextflow.script.ScriptRunner - > Awaiting termination 
Sep-18 21:23:20.728 [main] DEBUG nextflow.Session - Session await
Sep-18 21:23:20.955 [Actor Thread 49] WARN  nextflow.container.SingularityCache - Singularity cache directory has not been defined -- Remote image will be stored in the path: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/singularity -- Use the environment variable NXF_SINGULARITY_CACHEDIR to specify a different location
Sep-18 21:23:20.965 [Actor Thread 49] INFO  nextflow.container.SingularityCache - Pulling Singularity image docker://ontresearch/wf-common:sha0a6dc21fac17291f4acb2e0f67bcdec7bf63e6b7 [cache /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/singularity/ontresearch-wf-common-sha0a6dc21fac17291f4acb2e0f67bcdec7bf63e6b7.img]
Sep-18 21:23:20.965 [Actor Thread 50] INFO  nextflow.container.SingularityCache - Pulling Singularity image docker://ontresearch/wf-single-cell:sha8e7d91013029ea8721743bd087583e5205cdc1dc [cache /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/singularity/ontresearch-wf-single-cell-sha8e7d91013029ea8721743bd087583e5205cdc1dc.img]
Sep-18 21:24:20.860 [Actor Thread 49] DEBUG nextflow.container.SingularityCache - Singularity pull complete image=docker://ontresearch/wf-common:sha0a6dc21fac17291f4acb2e0f67bcdec7bf63e6b7 path=/mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/singularity/ontresearch-wf-common-sha0a6dc21fac17291f4acb2e0f67bcdec7bf63e6b7.img
Sep-18 21:24:21.047 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:24:21.051 [Task submitter] INFO  nextflow.Session - [0f/1fed5a] Submitted process > move_or_compress (1)
Sep-18 21:25:30.041 [Actor Thread 50] DEBUG nextflow.container.SingularityCache - Singularity pull complete image=docker://ontresearch/wf-single-cell:sha8e7d91013029ea8721743bd087583e5205cdc1dc path=/mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/singularity/ontresearch-wf-single-cell-sha8e7d91013029ea8721743bd087583e5205cdc1dc.img
Sep-18 21:25:30.068 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:30.069 [Task submitter] INFO  nextflow.Session - [1a/e122f6] Submitted process > pipeline:getParams
Sep-18 21:25:30.082 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:30.083 [Task submitter] INFO  nextflow.Session - [59/7e6c5b] Submitted process > pipeline:align:call_paftools
Sep-18 21:25:30.111 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:30.112 [Task submitter] INFO  nextflow.Session - [ec/dc3f29] Submitted process > pipeline:process_bams:split_gtf_by_chroms
Sep-18 21:25:30.124 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:30.125 [Task submitter] INFO  nextflow.Session - [75/7e441a] Submitted process > pipeline:getVersions
Sep-18 21:25:30.138 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:30.139 [Task submitter] INFO  nextflow.Session - [22/aa60b8] Submitted process > pipeline:align:get_chrom_sizes
Sep-18 21:25:30.812 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 1; name: move_or_compress (1); status: COMPLETED; exit: 0; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/0f/1fed5a24e7dfc455716c179ae38e3f]
Sep-18 21:25:31.870 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 5; name: pipeline:getParams; status: COMPLETED; exit: 0; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/1a/e122f6e787afe2988dd0d82d365e42]
Sep-18 21:25:31.897 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:31.897 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 3; name: pipeline:align:get_chrom_sizes; status: COMPLETED; exit: 0; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/22/aa60b87045501ebc6ccc1a97851cde]
Sep-18 21:25:31.899 [Task submitter] INFO  nextflow.Session - [d6/77996b] Submitted process > pipeline:summariseCatChunkReads (1)
Sep-18 21:25:31.927 [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: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/ec/dc3f296ddeeb385557c112c4caba20]
Sep-18 21:25:32.458 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 6; name: pipeline:align:call_paftools; status: COMPLETED; exit: 0; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/59/7e6c5bcac0de87065b1dd0d1658c81]
Sep-18 21:25:46.758 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 2; name: pipeline:getVersions; status: COMPLETED; exit: 0; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/75/7e441ad2c8bc5d3b82af46518bb718]
Sep-18 21:25:58.065 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 7; name: pipeline:summariseCatChunkReads (1); status: COMPLETED; exit: 0; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/d6/77996b1661be6057728593edd7b3a8]
Sep-18 21:25:58.141 [Actor Thread 55] DEBUG nextflow.util.CacheHelper - Hash asset file sha-256: /home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow-glue
Sep-18 21:25:58.170 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:58.171 [Task submitter] INFO  nextflow.Session - [45/b27f9b] Submitted process > pipeline:stranding:call_adapter_scan (1)
Sep-18 21:25:58.184 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:58.184 [Task submitter] INFO  nextflow.Session - [ac/8f427b] Submitted process > pipeline:stranding:call_adapter_scan (4)
Sep-18 21:25:58.194 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:58.195 [Task submitter] INFO  nextflow.Session - [a3/8be410] Submitted process > pipeline:stranding:call_adapter_scan (2)
Sep-18 21:25:58.207 [Task submitter] DEBUG n.executor.local.LocalTaskHandler - Launch cmd line: /bin/bash -ue .command.run
Sep-18 21:25:58.208 [Task submitter] INFO  nextflow.Session - [9e/6b64ee] Submitted process > pipeline:stranding:call_adapter_scan (3)
Sep-18 21:25:58.317 [Actor Thread 58] DEBUG nextflow.sort.BigSort - Sort completed -- entries: 1; slices: 1; internal sort time: 0.002 s; external sort time: 0.043 s; total time: 0.045 s
Sep-18 21:25:59.095 [Actor Thread 58] DEBUG nextflow.file.FileCollector - Saved collect-files list to: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/collect-file/12bd59ea827e106bebc7b465055fa6c9
Sep-18 21:25:59.115 [Actor Thread 58] DEBUG nextflow.file.FileCollector - Deleting file collector temp dir: /tmp/nxf-17471861972557208285
Sep-18 21:26:12.500 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 11; name: pipeline:stranding:call_adapter_scan (4); status: COMPLETED; exit: 1; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/ac/8f427baf6b89bfaa494e3b08cfcbe2]
Sep-18 21:26:12.508 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=pipeline:stranding:call_adapter_scan (4); work-dir=/mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/ac/8f427baf6b89bfaa494e3b08cfcbe2
  error [nextflow.exception.ProcessFailedException]: Process `pipeline:stranding:call_adapter_scan (4)` terminated with an error exit status (1)
Sep-18 21:26:12.538 [Task monitor] ERROR nextflow.processor.TaskProcessor - Error executing process > 'pipeline:stranding:call_adapter_scan (4)'

Caused by:
  Process `pipeline:stranding:call_adapter_scan (4)` terminated with an error exit status (1)

Command executed:

  export POLARS_MAX_THREADS=2

  workflow-glue adapter_scan_vsearch     chunk.fq.gz     --kit 3prime     --output_fastq "chr17_adapt_scan.fastq.gz"     --output_tsv  "chr17_adapt_scan.tsv"

Command exit status:
  1

Command output:
  (empty)

Command error:
  /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 "/home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow-glue", line 7, in <module>
      cli()
    File "/home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/__init__.py", line 61, in cli
      f'{_package_name}.{comp}' for comp in get_components()]
    File "/home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/__init__.py", line 26, 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 "/home/sgrimes/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/umap_reduce.py", line 7, 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:
  /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/ac/8f427baf6b89bfaa494e3b08cfcbe2

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`
Sep-18 21:26:12.546 [Task monitor] DEBUG nextflow.Session - Session aborted -- Cause: Process `pipeline:stranding:call_adapter_scan (4)` terminated with an error exit status (1)
Sep-18 21:26:12.610 [Task monitor] DEBUG nextflow.Session - The following nodes are still active:
[process] pipeline:stranding:combine_adapter_tables
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: -
  port 1: (cntrl) -     ; channel: $

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

[process] pipeline:align:align_to_ref
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: -
  port 1: (value) bound ; channel: ref_genome.fasta
  port 2: (value) bound ; channel: ref_genes.bed
  port 3: (value) bound ; channel: ref_chrom_sizes.tsv
  port 4: (cntrl) -     ; channel: $

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

[process] pipeline:process_bams:extract_barcodes
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: -
  port 1: (value) bound ; channel: bc_longlist_dir
  port 2: (cntrl) -     ; channel: $

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

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

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

[process] pipeline:process_bams:stringtie
  status=ACTIVE
  port 0: (value) bound ; channel: ref_genome.fa
  port 1: (value) bound ; channel: ref_genome.fa.fai
  port 2: (queue) OPEN  ; channel: -
  port 3: (cntrl) -     ; channel: $

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

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

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

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

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

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

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

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

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

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

[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: versions
  port 1: (value) bound ; channel: params.csv
  port 2: (queue) OPEN  ; channel: read_stats.csv
  port 3: (queue) OPEN  ; channel: survival.tsv
  port 4: (queue) OPEN  ; channel: wf_summary.tsv
  port 5: (queue) OPEN  ; channel: umap_dirs
  port 6: (value) OPEN  ; channel: images
  port 7: (value) bound ; channel: umap_genes
  port 8: (cntrl) -     ; channel: $

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

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

Sep-18 21:26:13.107 [main] DEBUG nextflow.Session - Session await > all processes finished
Sep-18 21:26:13.110 [main] DEBUG nextflow.Session - Session await > all barriers passed
Sep-18 21:26:13.140 [Actor Thread 63] DEBUG nextflow.file.SortFileCollector - FileCollector temp dir not removed: null
Sep-18 21:26:13.151 [Actor Thread 60] DEBUG nextflow.file.SortFileCollector - FileCollector temp dir not removed: null
Sep-18 21:26:13.151 [Actor Thread 50] DEBUG nextflow.file.SortFileCollector - FileCollector temp dir not removed: null
Sep-18 21:26:13.161 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 9; name: pipeline:stranding:call_adapter_scan (2); status: COMPLETED; exit: 1; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/a3/8be4103c4abfd4bc15aef67d4cd9d8]
Sep-18 21:26:13.161 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=pipeline:stranding:call_adapter_scan (2); work-dir=/mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/a3/8be4103c4abfd4bc15aef67d4cd9d8
  error [nextflow.exception.ProcessFailedException]: Process `pipeline:stranding:call_adapter_scan (2)` terminated with an error exit status (1)
Sep-18 21:26:13.164 [Actor Thread 54] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=pipeline:makeReport; work-dir=null
  error [java.lang.InterruptedException]: java.lang.InterruptedException
Sep-18 21:26:13.172 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 10; name: pipeline:stranding:call_adapter_scan (3); status: COMPLETED; exit: 1; error: -; workDir: /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/9e/6b64ee4dacf8eec202cf33c47ff8b1]
Sep-18 21:26:13.173 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=pipeline:stranding:call_adapter_scan (3); work-dir=/mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/9e/6b64ee4dacf8eec202cf33c47ff8b1
  error [nextflow.exception.ProcessFailedException]: Process `pipeline:stranding:call_adapter_scan (3)` terminated with an error exit status (1)
Sep-18 21:26:13.312 [main] WARN  n.processor.TaskPollingMonitor - Killing running tasks (1)
Sep-18 21:26:13.343 [main] DEBUG n.executor.local.LocalTaskHandler - Unable to kill pipeline:stranding:call_adapter_scan (1) -- command: kill -TERM 914611; exit: 1 
 bash: line 0: kill: (914611) - No such process

Sep-18 21:26:13.348 [main] DEBUG nextflow.trace.WorkflowStatsObserver - Workflow completed > WorkflowStats[succeededCount=7; failedCount=3; ignoredCount=0; cachedCount=0; pendingCount=0; submittedCount=0; runningCount=0; retriesCount=0; abortedCount=1; succeedDuration=1m 58s; failedDuration=1m 28s; cachedDuration=0ms;loadCpus=0; loadMemory=0; peakRunning=6; peakCpus=8; peakMemory=5 GB; ]
Sep-18 21:26:13.348 [main] DEBUG nextflow.trace.TraceFileObserver - Workflow completed -- saving trace file
Sep-18 21:26:13.354 [main] DEBUG nextflow.trace.ReportObserver - Workflow completed -- rendering execution report
Sep-18 21:26:13.475 [main] DEBUG nextflow.trace.ReportObserver - Execution report summary data:
  [{"cpuUsage":{"mean":73.8,"min":73.8,"q1":73.8,"q2":73.8,"q3":73.8,"max":73.8,"minLabel":"move_or_compress (1)","maxLabel":"move_or_compress (1)","q1Label":"move_or_compress (1)","q2Label":"move_or_compress (1)","q3Label":"move_or_compress (1)"},"process":"move_or_compress","mem":null,"memUsage":null,"timeUsage":null,"vmem":null,"reads":{"mean":83394,"min":83394,"q1":83394,"q2":83394,"q3":83394,"max":83394,"minLabel":"move_or_compress (1)","maxLabel":"move_or_compress (1)","q1Label":"move_or_compress (1)","q2Label":"move_or_compress (1)","q3Label":"move_or_compress (1)"},"cpu":{"mean":73.8,"min":73.8,"q1":73.8,"q2":73.8,"q3":73.8,"max":73.8,"minLabel":"move_or_compress (1)","maxLabel":"move_or_compress (1)","q1Label":"move_or_compress (1)","q2Label":"move_or_compress (1)","q3Label":"move_or_compress (1)"},"time":{"mean":19,"min":19,"q1":19,"q2":19,"q3":19,"max":19,"minLabel":"move_or_compress (1)","maxLabel":"move_or_compress (1)","q1Label":"move_or_compress (1)","q2Label":"move_or_compress (1)","q3Label":"move_or_compress (1)"},"writes":{"mean":226,"min":226,"q1":226,"q2":226,"q3":226,"max":226,"minLabel":"move_or_compress (1)","maxLabel":"move_or_compress (1)","q1Label":"move_or_compress (1)","q2Label":"move_or_compress (1)","q3Label":"move_or_compress (1)"}},{"cpuUsage":{"mean":50.7,"min":50.7,"q1":50.7,"q2":50.7,"q3":50.7,"max":50.7,"minLabel":"pipeline:getParams","maxLabel":"pipeline:getParams","q1Label":"pipeline:getParams","q2Label":"pipeline:getParams","q3Label":"pipeline:getParams"},"process":"getParams","mem":null,"memUsage":null,"timeUsage":null,"vmem":null,"reads":{"mean":72686,"min":72686,"q1":72686,"q2":72686,"q3":72686,"max":72686,"minLabel":"pipeline:getParams","maxLabel":"pipeline:getParams","q1Label":"pipeline:getParams","q2Label":"pipeline:getParams","q3Label":"pipeline:getParams"},"cpu":{"mean":50.7,"min":50.7,"q1":50.7,"q2":50.7,"q3":50.7,"max":50.7,"minLabel":"pipeline:getParams","maxLabel":"pipeline:getParams","q1Label":"pipeline:getParams","q2Label":"pipeline:getParams","q3Label":"pipeline:getParams"},"time":{"mean":12,"min":12,"q1":12,"q2":12,"q3":12,"max":12,"minLabel":"pipeline:getParams","maxLabel":"pipeline:getParams","q1Label":"pipeline:getParams","q2Label":"pipeline:getParams","q3Label":"pipeline:getParams"},"writes":{"mean":2075,"min":2075,"q1":2075,"q2":2075,"q3":2075,"max":2075,"minLabel":"pipeline:getParams","maxLabel":"pipeline:getParams","q1Label":"pipeline:getParams","q2Label":"pipeline:getParams","q3Label":"pipeline:getParams"}},{"cpuUsage":{"mean":79.6,"min":79.6,"q1":79.6,"q2":79.6,"q3":79.6,"max":79.6,"minLabel":"pipeline:align:get_chrom_sizes","maxLabel":"pipeline:align:get_chrom_sizes","q1Label":"pipeline:align:get_chrom_sizes","q2Label":"pipeline:align:get_chrom_sizes","q3Label":"pipeline:align:get_chrom_sizes"},"process":"get_chrom_sizes","mem":null,"memUsage":null,"timeUsage":null,"vmem":null,"reads":{"mean":80396,"min":80396,"q1":80396,"q2":80396,"q3":80396,"max":80396,"minLabel":"pipeline:align:get_chrom_sizes","maxLabel":"pipeline:align:get_chrom_sizes","q1Label":"pipeline:align:get_chrom_sizes","q2Label":"pipeline:align:get_chrom_sizes","q3Label":"pipeline:align:get_chrom_sizes"},"cpu":{"mean":79.6,"min":79.6,"q1":79.6,"q2":79.6,"q3":79.6,"max":79.6,"minLabel":"pipeline:align:get_chrom_sizes","maxLabel":"pipeline:align:get_chrom_sizes","q1Label":"pipeline:align:get_chrom_sizes","q2Label":"pipeline:align:get_chrom_sizes","q3Label":"pipeline:align:get_chrom_sizes"},"time":{"mean":25,"min":25,"q1":25,"q2":25,"q3":25,"max":25,"minLabel":"pipeline:align:get_chrom_sizes","maxLabel":"pipeline:align:get_chrom_sizes","q1Label":"pipeline:align:get_chrom_sizes","q2Label":"pipeline:align:get_chrom_sizes","q3Label":"pipeline:align:get_chrom_sizes"},"writes":{"mean":259,"min":259,"q1":259,"q2":259,"q3":259,"max":259,"minLabel":"pipeline:align:get_chrom_sizes","maxLabel":"pipeline:align:get_chrom_sizes","q1Label":"pipeline:align:get_chrom_sizes","q2Label":"pipeline:align:get_chrom_sizes","q3Label":"pipeline:align:get_chrom_sizes"}},{"cpuUsage":{"mean":49.6,"min":49.6,"q1":49.6,"q2":49.6,"q3":49.6,"max":49.6,"minLabel":"pipeline:process_bams:split_gtf_by_chroms","maxLabel":"pipeline:process_bams:split_gtf_by_chroms","q1Label":"pipeline:process_bams:split_gtf_by_chroms","q2Label":"pipeline:process_bams:split_gtf_by_chroms","q3Label":"pipeline:process_bams:split_gtf_by_chroms"},"process":"split_gtf_by_chroms","mem":{"mean":6008832,"min":6008832,"q1":6008832,"q2":6008832,"q3":6008832,"max":6008832,"minLabel":"pipeline:process_bams:split_gtf_by_chroms","maxLabel":"pipeline:process_bams:split_gtf_by_chroms","q1Label":"pipeline:process_bams:split_gtf_by_chroms","q2Label":"pipeline:process_bams:split_gtf_by_chroms","q3Label":"pipeline:process_bams:split_gtf_by_chroms"},"memUsage":null,"timeUsage":null,"vmem":{"mean":8880128,"min":8880128,"q1":8880128,"q2":8880128,"q3":8880128,"max":8880128,"minLabel":"pipeline:process_bams:split_gtf_by_chroms","maxLabel":"pipeline:process_bams:split_gtf_by_chroms","q1Label":"pipeline:process_bams:split_gtf_by_chroms","q2Label":"pipeline:process_bams:split_gtf_by_chroms","q3Label":"pipeline:process_bams:split_gtf_by_chroms"},"reads":{"mean":86907114,"min":86907114,"q1":86907114,"q2":86907114,"q3":86907114,"max":86907114,"minLabel":"pipeline:process_bams:split_gtf_by_chroms","maxLabel":"pipeline:process_bams:split_gtf_by_chroms","q1Label":"pipeline:process_bams:split_gtf_by_chroms","q2Label":"pipeline:process_bams:split_gtf_by_chroms","q3Label":"pipeline:process_bams:split_gtf_by_chroms"},"cpu":{"mean":49.6,"min":49.6,"q1":49.6,"q2":49.6,"q3":49.6,"max":49.6,"minLabel":"pipeline:process_bams:split_gtf_by_chroms","maxLabel":"pipeline:process_bams:split_gtf_by_chroms","q1Label":"pipeline:process_bams:split_gtf_by_chroms","q2Label":"pipeline:process_bams:split_gtf_by_chroms","q3Label":"pipeline:process_bams:split_gtf_by_chroms"},"time":{"mean":990,"min":990,"q1":990,"q2":990,"q3":990,"max":990,"minLabel":"pipeline:process_bams:split_gtf_by_chroms","maxLabel":"pipeline:process_bams:split_gtf_by_chroms","q1Label":"pipeline:process_bams:split_gtf_by_chroms","q2Label":"pipeline:process_bams:split_gtf_by_chroms","q3Label":"pipeline:process_bams:split_gtf_by_chroms"},"writes":{"mean":86830707,"min":86830707,"q1":86830707,"q2":86830707,"q3":86830707,"max":86830707,"minLabel":"pipeline:process_bams:split_gtf_by_chroms","maxLabel":"pipeline:process_bams:split_gtf_by_chroms","q1Label":"pipeline:process_bams:split_gtf_by_chroms","q2Label":"pipeline:process_bams:split_gtf_by_chroms","q3Label":"pipeline:process_bams:split_gtf_by_chroms"}},{"cpuUsage":{"mean":95.3,"min":95.3,"q1":95.3,"q2":95.3,"q3":95.3,"max":95.3,"minLabel":"pipeline:align:call_paftools","maxLabel":"pipeline:align:call_paftools","q1Label":"pipeline:align:call_paftools","q2Label":"pipeline:align:call_paftools","q3Label":"pipeline:align:call_paftools"},"process":"call_paftools","mem":{"mean":18952192,"min":18952192,"q1":18952192,"q2":18952192,"q3":18952192,"max":18952192,"minLabel":"pipeline:align:call_paftools","maxLabel":"pipeline:align:call_paftools","q1Label":"pipeline:align:call_paftools","q2Label":"pipeline:align:call_paftools","q3Label":"pipeline:align:call_paftools"},"memUsage":null,"timeUsage":null,"vmem":{"mean":724148224,"min":724148224,"q1":724148224,"q2":724148224,"q3":724148224,"max":724148224,"minLabel":"pipeline:align:call_paftools","maxLabel":"pipeline:align:call_paftools","q1Label":"pipeline:align:call_paftools","q2Label":"pipeline:align:call_paftools","q3Label":"pipeline:align:call_paftools"},"reads":{"mean":87017880,"min":87017880,"q1":87017880,"q2":87017880,"q3":87017880,"max":87017880,"minLabel":"pipeline:align:call_paftools","maxLabel":"pipeline:align:call_paftools","q1Label":"pipeline:align:call_paftools","q2Label":"pipeline:align:call_paftools","q3Label":"pipeline:align:call_paftools"},"cpu":{"mean":95.3,"min":95.3,"q1":95.3,"q2":95.3,"q3":95.3,"max":95.3,"minLabel":"pipeline:align:call_paftools","maxLabel":"pipeline:align:call_paftools","q1Label":"pipeline:align:call_paftools","q2Label":"pipeline:align:call_paftools","q3Label":"pipeline:align:call_paftools"},"time":{"mean":1512,"min":1512,"q1":1512,"q2":1512,"q3":1512,"max":1512,"minLabel":"pipeline:align:call_paftools","maxLabel":"pipeline:align:call_paftools","q1Label":"pipeline:align:call_paftools","q2Label":"pipeline:align:call_paftools","q3Label":"pipeline:align:call_paftools"},"writes":{"mean":4414891,"min":4414891,"q1":4414891,"q2":4414891,"q3":4414891,"max":4414891,"minLabel":"pipeline:align:call_paftools","maxLabel":"pipeline:align:call_paftools","q1Label":"pipeline:align:call_paftools","q2Label":"pipeline:align:call_paftools","q3Label":"pipeline:align:call_paftools"}},{"cpuUsage":{"mean":206.2,"min":206.2,"q1":206.2,"q2":206.2,"q3":206.2,"max":206.2,"minLabel":"pipeline:getVersions","maxLabel":"pipeline:getVersions","q1Label":"pipeline:getVersions","q2Label":"pipeline:getVersions","q3Label":"pipeline:getVersions"},"process":"getVersions","mem":{"mean":107024384,"min":107024384,"q1":107024384,"q2":107024384,"q3":107024384,"max":107024384,"minLabel":"pipeline:getVersions","maxLabel":"pipeline:getVersions","q1Label":"pipeline:getVersions","q2Label":"pipeline:getVersions","q3Label":"pipeline:getVersions"},"memUsage":null,"timeUsage":null,"vmem":{"mean":9051414528,"min":9051414528,"q1":9051414528,"q2":9051414528,"q3":9051414528,"max":9051414528,"minLabel":"pipeline:getVersions","maxLabel":"pipeline:getVersions","q1Label":"pipeline:getVersions","q2Label":"pipeline:getVersions","q3Label":"pipeline:getVersions"},"reads":{"mean":33109913,"min":33109913,"q1":33109913,"q2":33109913,"q3":33109913,"max":33109913,"minLabel":"pipeline:getVersions","maxLabel":"pipeline:getVersions","q1Label":"pipeline:getVersions","q2Label":"pipeline:getVersions","q3Label":"pipeline:getVersions"},"cpu":{"mean":206.2,"min":206.2,"q1":206.2,"q2":206.2,"q3":206.2,"max":206.2,"minLabel":"pipeline:getVersions","maxLabel":"pipeline:getVersions","q1Label":"pipeline:getVersions","q2Label":"pipeline:getVersions","q3Label":"pipeline:getVersions"},"time":{"mean":13305,"min":13305,"q1":13305,"q2":13305,"q3":13305,"max":13305,"minLabel":"pipeline:getVersions","maxLabel":"pipeline:getVersions","q1Label":"pipeline:getVersions","q2Label":"pipeline:getVersions","q3Label":"pipeline:getVersions"},"writes":{"mean":3182,"min":3182,"q1":3182,"q2":3182,"q3":3182,"max":3182,"minLabel":"pipeline:getVersions","maxLabel":"pipeline:getVersions","q1Label":"pipeline:getVersions","q2Label":"pipeline:getVersions","q3Label":"pipeline:getVersions"}},{"cpuUsage":{"mean":71.9,"min":71.9,"q1":71.9,"q2":71.9,"q3":71.9,"max":71.9,"minLabel":"pipeline:summariseCatChunkReads (1)","maxLabel":"pipeline:summariseCatChunkReads (1)","q1Label":"pipeline:summariseCatChunkReads (1)","q2Label":"pipeline:summariseCatChunkReads (1)","q3Label":"pipeline:summariseCatChunkReads (1)"},"process":"summariseCatChunkReads","mem":{"mean":87396352,"min":87396352,"q1":87396352,"q2":87396352,"q3":87396352,"max":87396352,"minLabel":"pipeline:summariseCatChunkReads (1)","maxLabel":"pipeline:summariseCatChunkReads (1)","q1Label":"pipeline:summariseCatChunkReads (1)","q2Label":"pipeline:summariseCatChunkReads (1)","q3Label":"pipeline:summariseCatChunkReads (1)"},"memUsage":null,"timeUsage":null,"vmem":{"mean":824475648,"min":824475648,"q1":824475648,"q2":824475648,"q3":824475648,"max":824475648,"minLabel":"pipeline:summariseCatChunkReads (1)","maxLabel":"pipeline:summariseCatChunkReads (1)","q1Label":"pipeline:summariseCatChunkReads (1)","q2Label":"pipeline:summariseCatChunkReads (1)","q3Label":"pipeline:summariseCatChunkReads (1)"},"reads":{"mean":1657463393,"min":1657463393,"q1":1657463393,"q2":1657463393,"q3":1657463393,"max":1657463393,"minLabel":"pipeline:summariseCatChunkReads (1)","maxLabel":"pipeline:summariseCatChunkReads (1)","q1Label":"pipeline:summariseCatChunkReads (1)","q2Label":"pipeline:summariseCatChunkReads (1)","q3Label":"pipeline:summariseCatChunkReads (1)"},"cpu":{"mean":287.6,"min":287.6,"q1":287.6,"q2":287.6,"q3":287.6,"max":287.6,"minLabel":"pipeline:summariseCatChunkReads (1)","maxLabel":"pipeline:summariseCatChunkReads (1)","q1Label":"pipeline:summariseCatChunkReads (1)","q2Label":"pipeline:summariseCatChunkReads (1)","q3Label":"pipeline:summariseCatChunkReads (1)"},"time":{"mean":25627,"min":25627,"q1":25627,"q2":25627,"q3":25627,"max":25627,"minLabel":"pipeline:summariseCatChunkReads (1)","maxLabel":"pipeline:summariseCatChunkReads (1)","q1Label":"pipeline:summariseCatChunkReads (1)","q2Label":"pipeline:summariseCatChunkReads (1)","q3Label":"pipeline:summariseCatChunkReads (1)"},"writes":{"mean":1700840205,"min":1700840205,"q1":1700840205,"q2":1700840205,"q3":1700840205,"max":1700840205,"minLabel":"pipeline:summariseCatChunkReads (1)","maxLabel":"pipeline:summariseCatChunkReads (1)","q1Label":"pipeline:summariseCatChunkReads (1)","q2Label":"pipeline:summariseCatChunkReads (1)","q3Label":"pipeline:summariseCatChunkReads (1)"}},{"cpuUsage":null,"process":"call_adapter_scan","mem":null,"memUsage":null,"timeUsage":null,"vmem":null,"reads":null,"cpu":null,"time":{"mean":14671,"min":14230,"q1":14556.5,"q2":14883,"q3":14891.5,"max":14900,"minLabel":"pipeline:stranding:call_adapter_scan (4)","maxLabel":"pipeline:stranding:call_adapter_scan (3)","q1Label":"pipeline:stranding:call_adapter_scan (4)","q2Label":"pipeline:stranding:call_adapter_scan (2)","q3Label":"pipeline:stranding:call_adapter_scan (2)"},"writes":null}]
Sep-18 21:26:14.558 [main] DEBUG nextflow.trace.TimelineObserver - Workflow completed -- rendering execution timeline
Sep-18 21:26:14.715 [main] DEBUG nextflow.cache.CacheDB - Closing CacheDB done
Sep-18 21:26:14.753 [main] DEBUG nextflow.script.ScriptRunner - > Execution complete -- Goodbye

Application activity log entry

No response

nrhorner commented 1 year ago

Hi @suegrimes

This error appears to be caused by some third party code (numba) being unable to access a cache directory. We are looking into the problem.

In the meantime, would you be able to run the workflow again in case this was cased by a temporary network problem?

suegrimes commented 1 year ago

Hi Neil,

Thanks for following up. I tried running again and get the same error messages,

Sue.

From: Neil Horner @.> Sent: Wednesday, September 20, 2023 2:44 AM To: epi2me-labs/wf-single-cell @.> Cc: Sue M Grimes @.>; Mention @.> Subject: Re: [epi2me-labs/wf-single-cell] ERROR: (numba) unable to cache 'rdist' (Issue #47)

Hi @suegrimeshttps://github.com/suegrimes

This error appears to be caused by some third party code (numba) being unable to access a cache directory. We are looking into the problem.

In the meantime, would you be able to run the workflow again in case this was cased by a temporary network problem?

— Reply to this email directly, view it on GitHubhttps://github.com/epi2me-labs/wf-single-cell/issues/47#issuecomment-1727361807, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADNHNJAQEFTTU3256UYRBLX3K3FDANCNFSM6AAAAAA46XSKOY. You are receiving this because you were mentioned.Message ID: @.***>

nrhorner commented 1 year ago

Hi Sue,

Thanks for conforming that. I will be looking into this shortly.

Neil

Josephinedh commented 1 year ago

Hi both

I seem to have the same problem with 'rdist':

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

Command executed:

  # Data from 3prime and multiome kits must be flipped to the transcript strand before building transcriptome.
  workflow-glue process_bam_for_stringtie align.bam 10          | tee >(stringtie -L -c 2 -p 4 -G chr.gtf -l stringtie             -o stringtie.gff - )         | samtools fastq > reads.fastq
  # Get transcriptome sequence
  gffread -g ref_genome.fa -w transcriptome.fa stringtie.gff

Command exit status:
  1

Command output:
  (empty)

Command error:
  INFO:    Converting SIF file to temporary sandbox...
  WARNING: underlay of /etc/localtime required more than 50 (78) bind mounts
  /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 "/home/projects/cu_10027/data/projects/gbm/data/data_processed/rigshospitalet/rna/ont/wf-single-cell/bin/workflow-glue", line 7, in <module>
      cli()
    File "/home/projects/cu_10027/data/projects/gbm/data/data_processed/rigshospitalet/rna/ont/wf-single-cell/bin/workflow_glue/__init__.py", line 61, in cli
      f'{_package_name}.{comp}' for comp in get_components()]
    File "/home/projects/cu_10027/data/projects/gbm/data/data_processed/rigshospitalet/rna/ont/wf-single-cell/bin/workflow_glue/__init__.py", line 26, 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 "/home/projects/cu_10027/data/projects/gbm/data/data_processed/rigshospitalet/rna/ont/wf-single-cell/bin/workflow_glue/umap_reduce.py", line 7, 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'
  WARNING: no reference transcripts were found for the genomic sequences where reads were mapped!
  Please make sure the -G annotation file uses the same naming convention for the genome sequences.
  Failed to read header for "-"
  INFO:    Cleaning up image...

Josephine

nrhorner commented 1 year ago

Hi @Josephinedh

Thanks for additionally reporting this error. I will look into this tomorrow and get back to you.

nrhorner commented 1 year ago

@Josephinedh

I think the UMAP/numba stuff in the logs might be a red herring. This bit at at the bottom of the log is probably what we're interested in

  WARNING: no reference transcripts were found for the genomic sequences where reads were mapped!
  Please make sure the -G annotation file uses the same naming convention for the genome sequences.
  Failed to read header for "-"

Could you check that the naming convention for the annotation file and the genome file is the same please. If it is and you are still hitting problems, please raise another ticket.

Thanks

nrhorner commented 1 year ago

@suegrimes

In the case of @Josephinedh I think the numba errors in the log were probably not the case of the crash as some error messages relating to the process in question were also there.

I your case, I don't see any error message from the adapter_scan process where the workflow exited. Would you be able to post the output of ls -lhL /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/ac/8f427baf6b89bfaa494e3b08cfcbe2 please?

suegrimes commented 1 year ago

Hi Neil,

Here’s the output you requested, ..which doesn’t seem to say much.

ls -lhL /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/ac/8f427baf6b89bfaa494e3b08cfcbe2

total 126M -rw-r--r-- 1 sgrimes root 126M Sep 18 21:25 chunk.fq.gz

Sue.

From: Neil Horner @.> Sent: Wednesday, September 27, 2023 8:33 AM To: epi2me-labs/wf-single-cell @.> Cc: Sue M Grimes @.>; Mention @.> Subject: Re: [epi2me-labs/wf-single-cell] ERROR: (numba) unable to cache 'rdist' (Issue #47)

@suegrimeshttps://github.com/suegrimes

In the case of @Josephinedhhttps://github.com/Josephinedh I think the numba errors in the log were probably not the case of the crash as some error messages relating to the process in question were also there.

I your case, I don't see any error message from the adapter_scan process where the workflow exited. Would you be able to post the output of ls -lhL /mnt/ix2/Sandbox/sgrimes/20230911_SG_wf_scell/A01_demo/output/workspace/ac/8f427baf6b89bfaa494e3b08cfcbe2 please?

— Reply to this email directly, view it on GitHubhttps://github.com/epi2me-labs/wf-single-cell/issues/47#issuecomment-1737636642, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADNHNO3OUPDWVHJUYIF3KLX4RBL7ANCNFSM6AAAAAA46XSKOY. You are receiving this because you were mentioned.Message ID: @.***>

nrhorner commented 1 year ago

Hi @suegrimes

I'm not sure what's happening here. Do you have to ability to run with docker? -profile docker?

Neil

suegrimes commented 1 year ago

Hi Neil,

We actually can’t use docker (Stanford doesn’t allow due to potential security issues). It is possible that there was some issue with singularity install I suppose – our IT support person installed it on the server specifically for this use, so it is my first time using it. I noticed there is a -profile local, and I did try that initially, don’t remember what the issue I had with that was. It is possible to use -profile local? What would be required for that to work? I presume ensuring some specific dependencies are installed?

Sue.

From: Neil Horner @.> Sent: Friday, September 29, 2023 8:13 AM To: epi2me-labs/wf-single-cell @.> Cc: Sue M Grimes @.>; Mention @.> Subject: Re: [epi2me-labs/wf-single-cell] ERROR: (numba) unable to cache 'rdist' (Issue #47)

Hi @suegrimeshttps://github.com/suegrimes

I'm not sure what's happening here. Do you have to ability to run with docker? -profile docker?

Neil

— Reply to this email directly, view it on GitHubhttps://github.com/epi2me-labs/wf-single-cell/issues/47#issuecomment-1741050178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADNHNNXKXPXS334XKYE7ZDX43QRBANCNFSM6AAAAAA46XSKOY. You are receiving this because you were mentioned.Message ID: @.**@.>>

suegrimes commented 1 year ago

Hi Neil,

As I mentioned I actually don’t have the ability to run using docker, and not really sure how to troubleshoot if this is potentially a singularity issue. FYI the singularity version that is installed is 2.6.1 – in case this is a version issue? Wondering if it is possible to just setup a conda environment and run there? I did briefly try, and installed fastcat, seqkit, a couple of python packages and gffread. But looks like there are more things to install, and a bit tedious to do them one by one as error messages come up. Do you have a list of software that needs to be available/installed for this pipeline to run successfully?

Sue.

From: Neil Horner @.> Sent: Friday, September 29, 2023 8:13 AM To: epi2me-labs/wf-single-cell @.> Cc: Sue M Grimes @.>; Mention @.> Subject: Re: [epi2me-labs/wf-single-cell] ERROR: (numba) unable to cache 'rdist' (Issue #47)

Hi @suegrimeshttps://github.com/suegrimes

I'm not sure what's happening here. Do you have to ability to run with docker? -profile docker?

Neil

— Reply to this email directly, view it on GitHubhttps://github.com/epi2me-labs/wf-single-cell/issues/47#issuecomment-1741050178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADNHNNXKXPXS334XKYE7ZDX43QRBANCNFSM6AAAAAA46XSKOY. You are receiving this because you were mentioned.Message ID: @.**@.>>

chilampoon commented 1 year ago

I got the same rdist error when running the pipeline using singularity (3.7.1) on our school's HPC, for the same reasons we are not allowed to use Docker. I also turned to use the local profile for now... would be nice to have a file like environment.yml to help set up a conda environment, thanks!

nrhorner commented 1 year ago

Hi @chilampoon

Could you post your .nextflow.log please? Using the local profile, you do not encounter this problem?

chilampoon commented 1 year ago

hi @nrhorner the message is like

[21:47:48 - matplotlib] Matplotlib created a temporary cache directory at /tmp/matplotlib-mx2dhpr8 because the default path (/home/poonc2/.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.
Fontconfig error: No writable cache directories
[21:47:49 - matplotlib.font_manager] generated new fontManager
/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 "/home/poonc2/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow-glue", line 7, in <module>
    cli()
  File "/home/poonc2/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/__init__.py", line 61, in cli
    f'{_package_name}.{comp}' for comp in get_components()]
  File "/home/poonc2/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/__init__.py", line 26, 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 "/home/poonc2/.nextflow/assets/epi2me-labs/wf-single-cell/bin/workflow_glue/umap_reduce.py", line 7, 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'

It changed a little bit after I changed something but the rdist or cache issue is always there. I changed the cache dir $PATH for numba, matplotlib, etc. but it didn't solve the problem (maybe it needs to be specified in the container environment but I am not sure)

The local environment works and the pipeline is still running, one thing I noticed is that for python libraries like matplotlib, biopython and such I also need to install them via conda not pip, maybe it's because I also need to specify LIB PATH for nextflow to access them..

nrhorner commented 1 year ago

@chilampoon, @Josephinedh, @suegrimes

Sorry for taking so long to have another look at this. This does seem to be a problem with singularity and numba (which is used by the umap library). It seems that numba cannot access the default directories it uses for caching. See https://numba.pydata.org/numba-doc/dev/reference/envvars.html#envvar-NUMBA_CACHE_DIR for the locations of these.

Could you try setting the numba cache directory to a known writable location (perhaps /tmp)

You will need to create a config file, lets call it nextflow_env.config with the following entry:

env {
    NUMBA_CACHE_DIR='/tmp'
}

Or add NUMBA_CACHE_DIR='/tmp' to an existing env scope block in your current config.

Point the workflow to the config with -c nextflow_env.config

chilampoon commented 1 year ago

thanks @nrhorner, sure I could try. Also the running time is very long (I am using a local environment), my smallest fastq file is ~60GB is in cluster umi step but it's been running for around 3 or 4 days - I wonder if using a container helps speed up..

nrhorner commented 1 year ago

@chilampoon The use of the container vs local profile should not affect execution speed. What resources are you giving the workflow?

chilampoon commented 11 months ago

I requested 8 CPUs on HPC, and I forgot to set the number of CPUs in each subworkflow in the beginning, I then changed all time-consuming steps to use 8 CPUs. I set the max num of threads to 14 as well as for minimap2. However the whole pipeline is still very slow.

It seems like fastscan, alignment, and cluster_umi and maybe some others take a very long time. The requested time of my job is 100 hours then after that the workflow got killed, most samples were in cluster_umis or one or two steps above; and then if I resume, they all started from fastscan again... The pipeline is driving me crazy... is it possible to start from aligned bam file but not fastq? I'll give a try to the old sockeye snakemake workflow as I remembered when I used it last year it was not that long

nrhorner commented 11 months ago

Hi @chilampoon Is this original issue related to this ticket now fixed, you are no longer getting the nubba cache errror?

If so could you open a new ticket detailing your issues relating to the speed of the workflow. Please include your log and your config file used.

It's currently not possible to start with an aligned BAM input, but we could consider adding that feature.

nrhorner commented 11 months ago

Closing due to lack of response regarding the original issue, which I assume the workaround has fixed.

AshKernow commented 9 months ago

Just for reference. I ran into the same issue with the workflow (using singularity on our hpc) and the workaround (setting the NUMBA_CACHE_DIR) solved it.

nrhorner commented 8 months ago

Just for reference. I ran into the same issue with the workflow (using singularity on our hpc) and the workaround (setting the NUMBA_CACHE_DIR) solved it.

That's good to know, thanks @AshKernow

nick-youngblut commented 5 months ago

I just ran into this same issue.

@nrhorner a simple, permanent fix is to update the nextflow.config file to:

env {
    PYTHONNOUSERSITE = 1
    NUMBA_CACHE_DIR = "${baseDir}/numba_cache"
}