epi2me-labs / wf-transcriptomes

Other
64 stars 30 forks source link

fastcat: unrecognized option '--histograms' and csvtk: command not found #79

Open hgingras opened 3 months ago

hgingras commented 3 months ago

Operating System

Other Linux (please specify below)

Other Linux

NAME="Rocky Linux"

Workflow Version

v1.1.1

Workflow Execution

Other (please describe)

EPI2ME Version

No response

CLI command run

!/bin/bash

SBATCH --account=def-user

SBATCH --cpus-per-task=16

SBATCH --mem=32G

SBATCH --time=0-01:00

module load StdEnv/2023 apptainer/1.2.4 nextflow/23.10.0

export NXF_SINGULARITY_CACHEDIR="/scratch/$USER/apptainer/cache" export APPTAINER_TMPDIR="/scratch/$USER/apptainer/tmp" export APPTAINER_BIND="/lustre05,/lustre06,/lustre07,/scratch,/project"

nextflow run main.nf \ --fastq /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/differential_expression_fastq \ --de_analysis --ref_genome /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/hg38_chr20.fa \ --transcriptome-source reference-guided \ --ref_annotation /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/gencode.v22.annotation.chr20.gtf \ --direct_rna --minimap2_index_opts '-k 15' --sample_sheet /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/sample_sheet.csv \ --jaffal_refBase /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/chr20/ --jaffal_genome hg38_chr20 --jaffal_annotation genCode22 \ --out_dir Test-7 \ -profile singularity

Workflow Execution - CLI Execution Profile

singularity

What happened?

I have 2 errors to report.

1st error: fastcat: unrecognized option '--histograms' see output log

Fastcat v0.16.0 has the --histograms option. In the wf-transcriptomes_latest.sif image that I am using when looking for the fastcat version installed I get version 0.10.2:

apptainer run wf-transcriptomes_latest.sif Apptainer> pwd /home/epi2melabs/conda/bin Apptainer> fastcat -V 0.10.2

With « fastcat --help » command I do not see option '--histograms’, neither when I installed from source fastcat version 0.10.2. At least present in version 0.16.0.

Is it possible to update the image with version 0.16.0 for fastcat?

The error is in lib/ingress.nf file:

process fastcat { label "ingress" label "wf_common" cpus 3 memory "2 GB" input: tuple val(meta), path("input") val extra_args output: tuple val(meta), path("seqs.fastq.gz"), path("fastcat_stats") script: String out = "seqs.fastq.gz" String fastcat_stats_outdir = "fastcat_stats" """ mkdir $fastcat_stats_outdir fastcat \ -s ${meta["alias"]} \ -r >(bgzip -c > $fastcat_stats_outdir/per-read-stats.tsv.gz) \ -f $fastcat_stats_outdir/per-file-stats.tsv \ --histograms histograms \ $extra_args \ input \ | bgzip > $out mv histograms/* $fastcat_stats_outdir

extract the run IDs from the per-read stats

    csvtk cut -tf runid $fastcat_stats_outdir/per-read-stats.tsv.gz \
    | csvtk del-header | sort | uniq > $fastcat_stats_outdir/run_ids
    """

2nd error: Not in output log.

This error happened when I removed --histograms option in lib/ingress.nf file to see what was going on. csvtk: command not found

In image wf-transcriptomes_latest.sif :

apptainer run wf-transcriptomes_latest.sif Apptainer> pwd /home/epi2melabs/conda/bin Apptainer> ls

I do not see that it is installed… not in the list. https://github.com/shenwei356/csvtk

Thanks for your help.

Relevant log output

mars-27 09:10:51.547 [main] DEBUG nextflow.cli.Launcher - $> nextflow run main.nf --fastq /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/differential_expression_fastq --de_analysis --ref_genome /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/hg38_chr20.fa --transcriptome-source reference-guided --ref_annotation /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/gencode.v22.annotation.chr20.gtf --direct_rna --minimap2_index_opts '-k 15' --sample_sheet /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/sample_sheet.csv --jaffal_refBase /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/chr20/ --jaffal_genome hg38_chr20 --jaffal_annotation genCode22 --out_dir Test-7 -profile singularity
mars-27 09:10:52.994 [main] INFO  nextflow.cli.CmdRun - N E X T F L O W  ~  version 23.10.0
mars-27 09:10:53.013 [main] DEBUG nextflow.plugin.PluginsFacade - Setting up plugin manager > mode=prod; embedded=false; plugins-dir=/home/helene/.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
mars-27 09:10:53.024 [main] INFO  o.pf4j.DefaultPluginStatusProvider - Enabled plugins: []
mars-27 09:10:53.025 [main] INFO  o.pf4j.DefaultPluginStatusProvider - Disabled plugins: []
mars-27 09:10:53.028 [main] INFO  org.pf4j.DefaultPluginManager - PF4J version 3.4.1 in 'deployment' mode
mars-27 09:10:53.037 [main] INFO  org.pf4j.AbstractPluginManager - No plugins
mars-27 09:10:53.132 [main] DEBUG nextflow.config.ConfigBuilder - Found config local: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/nextflow.config
mars-27 09:10:53.133 [main] DEBUG nextflow.config.ConfigBuilder - Parsing config file: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/nextflow.config
mars-27 09:10:53.153 [main] DEBUG nextflow.config.ConfigBuilder - Applying config profile: `singularity`
mars-27 09:10:54.622 [main] DEBUG nextflow.config.ConfigBuilder - Available config profiles: [standard, conda, singularity, awsbatch, local]
mars-27 09:10:54.692 [main] DEBUG nextflow.cli.CmdRun - Applied DSL=2 from script declararion
mars-27 09:10:54.703 [main] INFO  nextflow.cli.CmdRun - Launching `main.nf` [furious_venter] DSL2 - revision: eda4699855
mars-27 09:10:54.704 [main] DEBUG nextflow.plugin.PluginsFacade - Plugins default=[]
mars-27 09:10:54.704 [main] DEBUG nextflow.plugin.PluginsFacade - Plugins resolved requirement=[]
mars-27 09:10:54.720 [main] DEBUG n.secret.LocalSecretsProvider - Secrets store: /home/helene/.nextflow/secrets/store.json
mars-27 09:10:54.724 [main] DEBUG nextflow.secret.SecretsLoader - Discovered secrets providers: [nextflow.secret.LocalSecretsProvider@1a2e0d57] - activable => nextflow.secret.LocalSecretsProvider@1a2e0d57
mars-27 09:10:54.779 [main] DEBUG nextflow.Session - Session UUID: 047d160a-c57a-44f7-b8e8-760ca119dc82
mars-27 09:10:54.779 [main] DEBUG nextflow.Session - Run name: furious_venter
mars-27 09:10:54.780 [main] DEBUG nextflow.Session - Executor pool size: 16
mars-27 09:10:54.788 [main] DEBUG nextflow.file.FilePorter - File porter settings maxRetries=3; maxTransfers=50; pollTimeout=null
mars-27 09:10:54.792 [main] DEBUG nextflow.util.ThreadPoolBuilder - Creating thread pool 'FileTransfer' minSize=10; maxSize=48; workQueue=LinkedBlockingQueue[10000]; allowCoreThreadTimeout=false
mars-27 09:10:54.814 [main] DEBUG nextflow.cli.CmdRun - 
  Version: 23.10.0 build 5891
  Created: 15-10-2023 15:14 UTC (11:14 HAE)
  System: Linux 4.18.0-513.18.1.el8_9.x86_64
  Runtime: Groovy 3.0.19 on OpenJDK 64-Bit Server VM 17.0.6+10
  Encoding: UTF-8 (UTF-8)
  Process: 3753836@nc10130.narval.calcul.quebec [10.80.1.30]
  CPUs: 16 - Mem: 32 GB (31.3 GB) - Swap: 0 (0)
mars-27 09:10:57.685 [main] DEBUG nextflow.Session - Work-dir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work [lustre]
mars-27 09:10:58.029 [main] DEBUG nextflow.executor.ExecutorFactory - Extension executors providers=[GoogleLifeSciencesExecutor, AwsBatchExecutor, GoogleBatchExecutor]
mars-27 09:10:58.041 [main] DEBUG nextflow.Session - Observer factory: DefaultObserverFactory
mars-27 09:10:58.053 [main] DEBUG nextflow.Session - Observer factory: WaveFactory
mars-27 09:10:58.066 [main] DEBUG i.s.wave.plugin.config.WaveConfig - Wave strategy not specified - using default: [container, dockerfile, conda, spack]
mars-27 09:10:58.073 [main] DEBUG io.seqera.wave.plugin.WaveClient - Wave config: WaveConfig(enabled:null, endpoint:https://wave.seqera.io, containerConfigUrl:[], tokensCacheMaxDuration:30m, condaOpts:CondaOpts(mambaImage=mambaorg/micromamba:1.5.1; basePackages=conda-forge::procps-ng, commands=null), spackOpts:SpackOpts(basePackages=null, commands=null), strategy:[container, dockerfile, conda, spack], bundleProjectResources:null, buildRepository:null, cacheRepository:null, retryOpts:RetryOpts(delay:450ms, maxDelay:1m 30s, maxAttempts:10, jitter:0.25), httpClientOpts:HttpOpts(), freezeMode:null, dryRunMode:false)
mars-27 09:10:58.286 [main] DEBUG nextflow.Session - Observer factory: TowerFactory
mars-27 09:10:58.324 [main] DEBUG nextflow.cache.CacheFactory - Using Nextflow cache factory: nextflow.cache.DefaultCacheFactory
mars-27 09:10:58.333 [main] DEBUG nextflow.util.CustomThreadPool - Creating default thread pool > poolSize: 17; maxThreads: 1000
mars-27 09:11:05.155 [main] DEBUG nextflow.Session - Session start
mars-27 09:11:05.159 [main] DEBUG nextflow.trace.TraceFileObserver - Workflow started -- trace file: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/Test-7/execution/trace.txt
mars-27 09:11:05.179 [main] DEBUG nextflow.Session - Using default localLib path: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/lib
mars-27 09:11:06.067 [main] DEBUG nextflow.Session - Adding to the classpath library: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/lib
mars-27 09:11:06.069 [main] DEBUG nextflow.Session - Adding to the classpath library: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/lib/nfcore_external_java_deps.jar
mars-27 09:11:08.929 [main] DEBUG nextflow.script.ScriptRunner - > Launching execution
mars-27 09:11:10.276 [main] WARN  nextflow.Nextflow - Found unexpected parameters:
* --transcriptome-source: reference-guided
mars-27 09:11:10.277 [main] INFO  nextflow.Nextflow - - Ignore this warning: params.schema_ignore_params = "transcriptome-source" 
mars-27 09:11:10.288 [main] INFO  nextflow.Nextflow - 
||||||||||   _____ ____ ___ ____  __  __ _____      _       _
||||||||||  | ____|  _ \_ _|___ \|  \/  | ____|    | | __ _| |__  ___
|||||       |  _| | |_) | |  __) | |\/| |  _| _____| |/ _` | '_ \/ __|
|||||       | |___|  __/| | / __/| |  | | |__|_____| | (_| | |_) \__ \
||||||||||  |_____|_|  |___|_____|_|  |_|_____|    |_|\__,_|_.__/|___/
||||||||||  wf-transcriptomes v1.1.1
--------------------------------------------------------------------------------
Core Nextflow options
  runName            : furious_venter
  containerEngine    : singularity
  container          : [withLabel:isoforms:/home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes_shae7c9f184996a384e99be68e790f0612f0c732867.sif, withLabel:wf_common:/home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes_shae7c9f184996a384e99be68e790f0612f0c732867.sif, default:/home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes_shae7c9f184996a384e99be68e790f0612f0c732867.sif]
  launchDir          : /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1
  workDir            : /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work
  projectDir         : /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1
  userName           : helene
  profile            : singularity
  configFiles        : /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/nextflow.config

Input Options
  fastq              : /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/differential_expression_fastq
  ref_genome         : /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/hg38_chr20.fa
  ref_annotation     : /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/gencode.v22.annotation.chr20.gtf
  direct_rna         : true

Output Options
  out_dir            : Test-7

Sample Options
  sample_sheet       : /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/sample_sheet.csv

Options for reference-based workflow
  minimap2_index_opts: -k 15

Gene Fusion Detection Options
  jaffal_refBase     : /home/helene/scratch/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1-no-1/differential_expression/chr20/
  jaffal_genome      : hg38_chr20

Differential Expression Options
  de_analysis        : true

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

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

--------------------------------------------------------------------------------
This is epi2me-labs/wf-transcriptomes v1.1.1.
--------------------------------------------------------------------------------
mars-27 09:11:15.379 [main] INFO  nextflow.Nextflow - Searching input for [.fastq, .fastq.gz, .fq, .fq.gz] files.
mars-27 09:11:16.079 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `ingress,wf_common` for process with name validate_sample_sheet
mars-27 09:11:16.094 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.094 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.100 [main] DEBUG nextflow.executor.Executor - [warm up] executor > slurm
mars-27 09:11:16.105 [main] DEBUG n.processor.TaskPollingMonitor - Creating task monitor for executor 'slurm' > capacity: 100; pollInterval: 5s; dumpInterval: 5m 
mars-27 09:11:16.107 [main] DEBUG n.processor.TaskPollingMonitor - >>> barrier register (monitor: slurm)
mars-27 09:11:16.108 [main] DEBUG n.executor.AbstractGridExecutor - Creating executor 'slurm' > queue-stat-interval: 1m
mars-27 09:11:16.248 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:wf_common` matches labels `ingress,wf_common` for process with name fastcat
mars-27 09:11:16.250 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.250 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.259 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:preprocess_ref_annotation
mars-27 09:11:16.260 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.260 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.263 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:collectFastqIngressResultsInDir
mars-27 09:11:16.264 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.264 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.267 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:getVersions
mars-27 09:11:16.267 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.267 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.269 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:getParams
mars-27 09:11:16.269 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.269 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.285 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:build_minimap_index
mars-27 09:11:16.286 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.286 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.287 [main] INFO  nextflow.Nextflow - Doing reference based transcript analysis
mars-27 09:11:16.299 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:reference_assembly:map_reads
mars-27 09:11:16.300 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.300 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.310 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:split_bam
mars-27 09:11:16.311 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.311 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.315 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:assemble_transcripts
mars-27 09:11:16.315 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.315 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.320 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:merge_gff_bundles
mars-27 09:11:16.321 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.321 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.325 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:run_gffcompare
mars-27 09:11:16.325 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.325 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.335 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:get_transcriptome
mars-27 09:11:16.335 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.335 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.341 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:gene_fusions:jaffal
mars-27 09:11:16.342 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.342 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.359 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:merge_transcriptomes
mars-27 09:11:16.359 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.359 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.362 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:checkSampleSheetCondition
mars-27 09:11:16.363 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.363 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.368 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:build_minimap_index_transcriptome
mars-27 09:11:16.369 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.369 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.372 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:map_transcriptome
mars-27 09:11:16.373 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.373 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.376 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:count_transcripts
mars-27 09:11:16.376 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.376 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.378 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:mergeCounts
mars-27 09:11:16.379 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.379 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.381 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:mergeTPM
mars-27 09:11:16.381 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.381 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.383 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:deAnalysis
mars-27 09:11:16.383 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.383 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.393 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:differential_expression:plotResults
mars-27 09:11:16.404 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.404 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.412 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name pipeline:makeReport
mars-27 09:11:16.413 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.413 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.424 [main] DEBUG nextflow.script.ProcessConfig - Config settings `withLabel:isoforms` matches labels `isoforms` for process with name output
mars-27 09:11:16.424 [main] DEBUG nextflow.executor.ExecutorFactory - << taskConfig executor: slurm
mars-27 09:11:16.424 [main] DEBUG nextflow.executor.ExecutorFactory - >> processorType: 'slurm'
mars-27 09:11:16.426 [main] DEBUG nextflow.Session - Workflow process names [dsl2]: checkSampleSheetCondition, preprocess_ref_transcriptome, mergeTPM, move_or_compress_fq_file, pipeline:getParams, pipeline:get_transcriptome, deAnalysis, checkBamHeaders, mergeBams, output, pipeline:reference_assembly:map_reads, pipeline:split_bam, collectFastqIngressResultsInDir, makeReport, getVersions, assemble_transcripts, get_transcriptome, merge_transcriptomes, preprocess_reads, pipeline:gene_fusions:jaffal, bamstats, pipeline:differential_expression:count_transcripts, pipeline:differential_expression:deAnalysis, fastcat, plotResults, pipeline:differential_expression:mergeCounts, map_reads, getParams, preprocess_ref_annotation, sortBam, merge_gff_bundles, validate_sample_sheet, pipeline:assemble_transcripts, pipeline:differential_expression:plotResults, jaffal, pipeline:makeReport, pipeline:differential_expression:checkSampleSheetCondition, decompress_transcriptome, map_transcriptome, pipeline:merge_gff_bundles, pipeline:merge_transcriptomes, build_minimap_index, pipeline:differential_expression:mergeTPM, run_gffcompare, pipeline:collectFastqIngressResultsInDir, count_transcripts, pipeline:getVersions, pipeline:build_minimap_index, pipeline:differential_expression:build_minimap_index_transcriptome, mergeCounts, pipeline:differential_expression:map_transcriptome, decompress_ref, split_bam, build_minimap_index_transcriptome, decompress_annotation, pipeline:run_gffcompare, pipeline:preprocess_ref_annotation, catSortBams
mars-27 09:11:16.427 [main] DEBUG nextflow.Session - Igniting dataflow network (29)
mars-27 09:11:16.427 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > validate_sample_sheet
mars-27 09:11:16.434 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > fastcat
mars-27 09:11:16.435 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:preprocess_ref_annotation
mars-27 09:11:16.435 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:collectFastqIngressResultsInDir
mars-27 09:11:16.435 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:getVersions
mars-27 09:11:16.435 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:getParams
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:build_minimap_index
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:reference_assembly:map_reads
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:split_bam
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:assemble_transcripts
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:merge_gff_bundles
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:run_gffcompare
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:get_transcriptome
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:gene_fusions:jaffal
mars-27 09:11:16.436 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:merge_transcriptomes
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:checkSampleSheetCondition
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:build_minimap_index_transcriptome
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:map_transcriptome
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:count_transcripts
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:mergeCounts
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:mergeTPM
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:deAnalysis
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:differential_expression:plotResults
mars-27 09:11:16.437 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > pipeline:makeReport
mars-27 09:11:16.438 [main] DEBUG nextflow.processor.TaskProcessor - Starting process > output
mars-27 09:11:16.438 [main] DEBUG nextflow.script.ScriptRunner - Parsed script files:
  Script_6c9ad54f8f06decd: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/./subworkflows/reference_assembly.nf
  Script_b280fdb3f732bae1: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/./subworkflows/differential_expression.nf
  Script_05eaa6b24b9dd568: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/./subworkflows/JAFFAL/gene_fusions.nf
  Script_eb93bcc3448c341a: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/main.nf
  Script_88a8912227eb9103: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/./lib/ingress.nf
mars-27 09:11:16.438 [main] DEBUG nextflow.script.ScriptRunner - > Awaiting termination 
mars-27 09:11:16.438 [main] DEBUG nextflow.Session - Session await
mars-27 09:11:16.474 [Actor Thread 9] DEBUG i.s.wave.plugin.config.WaveConfig - Wave strategy not specified - using default: [container, dockerfile, conda, spack]
mars-27 09:11:16.475 [Actor Thread 9] DEBUG io.seqera.wave.plugin.WaveClient - Wave config: WaveConfig(enabled:null, endpoint:https://wave.seqera.io, containerConfigUrl:[], tokensCacheMaxDuration:30m, condaOpts:CondaOpts(mambaImage=mambaorg/micromamba:1.5.1; basePackages=conda-forge::procps-ng, commands=null), spackOpts:SpackOpts(basePackages=null, commands=null), strategy:[container, dockerfile, conda, spack], bundleProjectResources:null, buildRepository:null, cacheRepository:null, retryOpts:RetryOpts(delay:450ms, maxDelay:1m 30s, maxAttempts:10, jitter:0.25), httpClientOpts:HttpOpts(), freezeMode:null, dryRunMode:false)
mars-27 09:11:16.881 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process pipeline:getVersions > jobId: 27273091; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/41/58099a72e1034d72865c280011f17a
mars-27 09:11:16.881 [Task submitter] INFO  nextflow.Session - [41/58099a] Submitted process > pipeline:getVersions
mars-27 09:11:17.009 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process pipeline:getParams > jobId: 27273092; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/49/b081d1cb97530a95c85e1d5615488b
mars-27 09:11:17.009 [Task submitter] INFO  nextflow.Session - [49/b081d1] Submitted process > pipeline:getParams
mars-27 09:11:19.389 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process pipeline:build_minimap_index (1) > jobId: 27273093; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/e8/fbe94c947dc4c4322e6937e529d8bd
mars-27 09:11:19.389 [Task submitter] INFO  nextflow.Session - [e8/fbe94c] Submitted process > pipeline:build_minimap_index (1)
mars-27 09:11:19.488 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process validate_sample_sheet > jobId: 27273094; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/8f/1cd9f28af66b083be383bc28413cb3
mars-27 09:11:19.488 [Task submitter] INFO  nextflow.Session - [8f/1cd9f2] Submitted process > validate_sample_sheet
mars-27 09:11:21.727 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process pipeline:differential_expression:checkSampleSheetCondition > jobId: 27273095; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/18/829cd52ba0aeb182d8b4977f9085cc
mars-27 09:11:21.727 [Task submitter] INFO  nextflow.Session - [18/829cd5] Submitted process > pipeline:differential_expression:checkSampleSheetCondition
mars-27 09:11:21.831 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process pipeline:preprocess_ref_annotation > jobId: 27273096; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/5b/b06c0500804bd283fcd5bef23b95ca
mars-27 09:11:21.831 [Task submitter] INFO  nextflow.Session - [5b/b06c05] Submitted process > pipeline:preprocess_ref_annotation
mars-27 09:15:56.120 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273092; id: 5; name: pipeline:getParams; status: COMPLETED; exit: 0; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/49/b081d1cb97530a95c85e1d5615488b started: 1711545331688; exited: 2024-03-27T13:15:51Z; ]
mars-27 09:16:01.206 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273096; id: 2; name: pipeline:preprocess_ref_annotation; status: COMPLETED; exit: 0; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/5b/b06c0500804bd283fcd5bef23b95ca started: 1711545331745; exited: 2024-03-27T13:15:58Z; ]
mars-27 09:16:11.905 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273093; id: 4; name: pipeline:build_minimap_index (1); status: COMPLETED; exit: 0; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/e8/fbe94c947dc4c4322e6937e529d8bd started: 1711545331689; exited: 2024-03-27T13:16:11Z; ]
mars-27 09:16:17.748 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273091; id: 3; name: pipeline:getVersions; status: COMPLETED; exit: 0; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/41/58099a72e1034d72865c280011f17a started: 1711545331126; exited: 2024-03-27T13:16:14Z; ]
mars-27 09:16:19.236 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273094; id: 1; name: validate_sample_sheet; status: COMPLETED; exit: 0; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/8f/1cd9f28af66b083be383bc28413cb3 started: 1711545331691; exited: 2024-03-27T13:16:13Z; ]
mars-27 09:16:19.246 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273095; id: 6; name: pipeline:differential_expression:checkSampleSheetCondition; status: COMPLETED; exit: 0; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/18/829cd52ba0aeb182d8b4977f9085cc started: 1711545331744; exited: 2024-03-27T13:16:17Z; ]
mars-27 09:16:21.405 [Task monitor] DEBUG n.processor.TaskPollingMonitor - !! executor slurm > No more task to compute -- The following nodes are still active:
[process] pipeline:collectFastqIngressResultsInDir
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: -
  port 1: (cntrl) -     ; channel: $

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

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

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

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

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

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

[process] pipeline:gene_fusions:jaffal
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: -
  port 1: (value) bound ; channel: refBase
  port 2: (value) bound ; channel: genome
  port 3: (value) bound ; channel: annotation
  port 4: (cntrl) -     ; channel: $

[process] pipeline:merge_transcriptomes
  status=ACTIVE
  port 0: (value) OPEN  ; channel: query_annotations/*
  port 1: (value) bound ; channel: ref_annotation
  port 2: (queue) OPEN  ; channel: ref_genome
  port 3: (cntrl) -     ; channel: $

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

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

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

[process] pipeline:differential_expression:mergeCounts
  status=ACTIVE
  port 0: (value) OPEN  ; channel: counts
  port 1: (cntrl) -     ; channel: $

[process] pipeline:differential_expression:mergeTPM
  status=ACTIVE
  port 0: (value) OPEN  ; channel: counts
  port 1: (cntrl) -     ; channel: $

[process] pipeline:differential_expression:deAnalysis
  status=ACTIVE
  port 0: (value) bound ; channel: sample_sheet.csv
  port 1: (value) OPEN  ; channel: all_counts.tsv
  port 2: (queue) OPEN  ; channel: annotation.gtf
  port 3: (cntrl) -     ; channel: $

[process] pipeline:differential_expression:plotResults
  status=ACTIVE
  port 0: (queue) OPEN  ; channel: filtered_transcript_counts_with_genes.tsv
  port 1: (queue) OPEN  ; channel: results_dtu_stageR.tsv
  port 2: (value) bound ; channel: sample_sheet.tsv
  port 3: (queue) OPEN  ; channel: de_analysis
  port 4: (cntrl) -     ; channel: $

[process] pipeline:makeReport
  status=ACTIVE
  port 0: (value) bound ; channel: versions
  port 1: (value) bound ; channel: params.json
  port 2: (value) bound ; channel: pychopper_report/*
  port 3: (queue) OPEN  ; channel: jaffal_csv/*
  port 4: (value) OPEN  ; channel: per_read_stats/?.gz
  port 5: (value) OPEN  ; channel: aln_stats/*
  port 6: (value) OPEN  ; channel: gffcmp_dir/*
  port 7: (value) OPEN  ; channel: gff_annotation/*
  port 8: (value) OPEN  ; channel: de_report/*
  port 9: (value) OPEN  ; channel: seqkit/*
  port 10: (value) OPEN  ; channel: isoforms_table/*
  port 11: (cntrl) -     ; channel: $

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

mars-27 09:16:23.284 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process fastcat (2) > jobId: 27273177; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/04/2646fb5d589116c9386353fd1d72fa
mars-27 09:16:23.285 [Task submitter] INFO  nextflow.Session - [04/2646fb] Submitted process > fastcat (2)
mars-27 09:16:23.645 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process fastcat (4) > jobId: 27273179; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/13/b48882500b4c6c081e4c6ef2dddecc
mars-27 09:16:23.645 [Task submitter] INFO  nextflow.Session - [13/b48882] Submitted process > fastcat (4)
mars-27 09:16:25.766 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process fastcat (6) > jobId: 27273180; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/59/6028c78a4978eb5c79bce45117e9d1
mars-27 09:16:26.813 [Task submitter] INFO  nextflow.Session - [59/6028c7] Submitted process > fastcat (6)
mars-27 09:16:28.684 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process fastcat (3) > jobId: 27273181; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/87/e8ffc72ec6c1e4bb280b7e8d3b2e7c
mars-27 09:16:28.684 [Task submitter] INFO  nextflow.Session - [87/e8ffc7] Submitted process > fastcat (3)
mars-27 09:16:30.829 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process fastcat (1) > jobId: 27273182; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/e5/74411f0af022ab0db2667dbe970d78
mars-27 09:16:30.829 [Task submitter] INFO  nextflow.Session - [e5/74411f] Submitted process > fastcat (1)
mars-27 09:16:30.922 [Task submitter] DEBUG nextflow.executor.GridTaskHandler - [SLURM] submitted process fastcat (5) > jobId: 27273183; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/7c/2464ce3a197543edab59fc0ffffb4d
mars-27 09:16:30.922 [Task submitter] INFO  nextflow.Session - [7c/2464ce] Submitted process > fastcat (5)
mars-27 09:21:18.384 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273179; id: 10; name: fastcat (4); status: COMPLETED; exit: 64; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/13/b48882500b4c6c081e4c6ef2dddecc started: 1711545641439; exited: 2024-03-27T13:21:15Z; ]
mars-27 09:21:18.388 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=fastcat (4); work-dir=/lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/13/b48882500b4c6c081e4c6ef2dddecc
  error [nextflow.exception.ProcessFailedException]: Process `fastcat (4)` terminated with an error exit status (64)
mars-27 09:21:18.425 [Task monitor] ERROR nextflow.processor.TaskProcessor - Error executing process > 'fastcat (4)'

Caused by:
  Process `fastcat (4)` terminated with an error exit status (64)

Command executed:

  mkdir fastcat_stats
  fastcat             -s sample04             -r >(bgzip -c > fastcat_stats/per-read-stats.tsv.gz)             -f fastcat_stats/per-file-stats.tsv             --histograms histograms                          input             | bgzip > seqs.fastq.gz

  mv histograms/* fastcat_stats
  # extract the run IDs from the per-read stats
  csvtk cut -tf runid fastcat_stats/per-read-stats.tsv.gz         | csvtk del-header | sort | uniq > fastcat_stats/run_ids

Command exit status:
  64

Command output:
  (empty)

Command error:
  INFO:    Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
  INFO:    Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
  INFO:    Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
  fastcat: unrecognized option '--histograms'
  Try `fastcat --help' or `fastcat --usage' for more information.

Work dir:
  /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/13/b48882500b4c6c081e4c6ef2dddecc

Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`
mars-27 09:21:18.465 [Task monitor] INFO  nextflow.Session - Execution cancelled -- Finishing pending tasks before exit
mars-27 09:21:23.489 [main] DEBUG nextflow.Session - Session await > all processes finished
mars-27 09:21:23.492 [Actor Thread 7] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=pipeline:get_transcriptome; work-dir=null
  error [java.lang.InterruptedException]: java.lang.InterruptedException
mars-27 09:21:23.500 [Actor Thread 12] DEBUG nextflow.file.SortFileCollector - FileCollector temp dir not removed: null
mars-27 09:21:24.415 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273181; id: 9; name: fastcat (3); status: COMPLETED; exit: 64; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/87/e8ffc72ec6c1e4bb280b7e8d3b2e7c started: 1711545641441; exited: 2024-03-27T13:21:14Z; ]
mars-27 09:21:24.415 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=fastcat (3); work-dir=/lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/87/e8ffc72ec6c1e4bb280b7e8d3b2e7c
  error [nextflow.exception.ProcessFailedException]: Process `fastcat (3)` terminated with an error exit status (64)
mars-27 09:21:26.020 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273182; id: 7; name: fastcat (1); status: COMPLETED; exit: 64; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/e5/74411f0af022ab0db2667dbe970d78 started: 1711545641442; exited: 2024-03-27T13:21:21Z; ]
mars-27 09:21:26.020 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=fastcat (1); work-dir=/lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/e5/74411f0af022ab0db2667dbe970d78
  error [nextflow.exception.ProcessFailedException]: Process `fastcat (1)` terminated with an error exit status (64)
mars-27 09:21:35.968 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273183; id: 11; name: fastcat (5); status: COMPLETED; exit: 64; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/7c/2464ce3a197543edab59fc0ffffb4d started: 1711545641442; exited: 2024-03-27T13:21:19Z; ]
mars-27 09:21:35.969 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=fastcat (5); work-dir=/lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/7c/2464ce3a197543edab59fc0ffffb4d
  error [nextflow.exception.ProcessFailedException]: Process `fastcat (5)` terminated with an error exit status (64)
mars-27 09:21:35.974 [Task monitor] DEBUG n.processor.TaskPollingMonitor - !! executor slurm > tasks to be completed: 2 -- submitted tasks are shown below
~> TaskHandler[jobId: 27273177; id: 8; name: fastcat (2); status: RUNNING; exit: -; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/04/2646fb5d589116c9386353fd1d72fa started: 1711545641438; exited: 2024-03-27T13:21:24Z; ]
~> TaskHandler[jobId: 27273180; id: 12; name: fastcat (6); status: RUNNING; exit: -; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/59/6028c78a4978eb5c79bce45117e9d1 started: 1711545641440; exited: -; ]
mars-27 09:21:37.598 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273177; id: 8; name: fastcat (2); status: COMPLETED; exit: 64; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/04/2646fb5d589116c9386353fd1d72fa started: 1711545641438; exited: 2024-03-27T13:21:24Z; ]
mars-27 09:21:37.598 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=fastcat (2); work-dir=/lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/04/2646fb5d589116c9386353fd1d72fa
  error [nextflow.exception.ProcessFailedException]: Process `fastcat (2)` terminated with an error exit status (64)
mars-27 09:21:46.792 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 27273180; id: 12; name: fastcat (6); status: COMPLETED; exit: 64; error: -; workDir: /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/59/6028c78a4978eb5c79bce45117e9d1 started: 1711545641440; exited: 2024-03-27T13:21:45Z; ]
mars-27 09:21:46.793 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
  task: name=fastcat (6); work-dir=/lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/59/6028c78a4978eb5c79bce45117e9d1
  error [nextflow.exception.ProcessFailedException]: Process `fastcat (6)` terminated with an error exit status (64)
mars-27 09:21:46.795 [Task monitor] DEBUG n.processor.TaskPollingMonitor - <<< barrier arrives (monitor: slurm) - terminating tasks monitor poll loop
mars-27 09:21:46.795 [main] DEBUG nextflow.Session - Session await > all barriers passed

######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################

Some of the pipeline process did workout. This is the end of output for slurm:

...

executor >  slurm (12)
[8f/1cd9f2] process > validate_sample_sheet          [100%] 1 of 1 ✔
[59/6028c7] process > fastcat (6)                    [100%] 6 of 6, failed: 6 ✘
[5b/b06c05] process > pipeline:preprocess_ref_ann... [100%] 1 of 1 ✔
[-        ] process > pipeline:collectFastqIngres... -
[41/58099a] process > pipeline:getVersions           [100%] 1 of 1 ✔
[49/b081d1] process > pipeline:getParams             [100%] 1 of 1 ✔
[e8/fbe94c] process > pipeline:build_minimap_inde... [100%] 1 of 1 ✔
[-        ] process > pipeline:reference_assembly... -
[-        ] process > pipeline:split_bam             -
[-        ] process > pipeline:assemble_transcripts  -
[-        ] process > pipeline:merge_gff_bundles     -
[-        ] process > pipeline:run_gffcompare        -
[-        ] process > pipeline:get_transcriptome     -
[-        ] process > pipeline:gene_fusions:jaffal   -
[-        ] process > pipeline:merge_transcriptomes  -
[18/829cd5] process > pipeline:differential_expre... [100%] 1 of 1 ✔
[-        ] process > pipeline:differential_expre... -
[-        ] process > pipeline:differential_expre... -
[-        ] process > pipeline:differential_expre... -
[-        ] process > pipeline:differential_expre... -
[-        ] process > pipeline:differential_expre... -
[-        ] process > pipeline:differential_expre... -
[-        ] process > pipeline:differential_expre... -
[-        ] process > pipeline:makeReport            -
[-        ] process > output                         -
Execution cancelled -- Finishing pending tasks before exit
ERROR ~ Error executing process > 'fastcat (4)'

Caused by:
  Process `fastcat (4)` terminated with an error exit status (64)

Command executed:

  mkdir fastcat_stats
  fastcat             -s sample04             -r >(bgzip -c > fastcat_stats/per-read-stats.tsv.gz)             -f fastcat_stats/per-file-stats.tsv             --histograms histograms                          input             | bgzip > seqs.fastq.gz

  mv histograms/* fastcat_stats
  # extract the run IDs from the per-read stats
  csvtk cut -tf runid fastcat_stats/per-read-stats.tsv.gz         | csvtk del-header | sort | uniq > fastcat_stats/run_ids

Command exit status:
  64

Command output:
  (empty)

Command error:
  INFO:    Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
  INFO:    Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
  INFO:    Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
  fastcat: unrecognized option '--histograms'
  Try `fastcat --help' or `fastcat --usage' for more information.

Work dir:
  /lustre07/scratch/helene/Ticket/wf-transcriptomes/wf-transcriptomes-1.1.1/work/13/b48882500b4c6c081e4c6ef2dddecc

Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`

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

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

This is what I am trying to do.
sarahjeeeze commented 3 months ago

Hi, you can run the cmd like nextflow run epi2me-labs/wf-transcriptomes instead of nextflow run main.nf to ensure it runs with the correct version of the container and let me know if you still get the same errors

hgingras commented 3 months ago

Hi sarahjeeeze,

When running : nextflow run epi2me-labs/wf-transcriptomes --help

I get this error:

There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (malloc) failed to allocate 24 bytes for AllocateHeap

Our environment is an HPC system where there is limited memory on the login node. Also, we have only access to internet on the login node, so I cannot run in the compute node to get the workflow.

So I am limited to download the workflow this way:

wget https://github.com/epi2me-labs/wf-transcriptomes/archive/refs/tags/v1.1.1.tar.gz tar -xvf v1.1.1.tar.gz

In this version (the last one), in the nextflow.config there is this specification: container_sha = "shae7c9f184996a384e99be68e790f0612f0c732867"

This is the image I loaded doing so:

module load StdEnv/2023 apptainer/1.2.4 nextflow/23.10.0 mkdir -p /scratch/$USER/apptainer/{cache,tmp} export APPTAINER_CACHEDIR="/scratch/$USER/apptainer/cache" export APPTAINER_TMPDIR="/scratch/$USER/apptainer/tmp"

apptainer pull docker://ontresearch/wf-transcriptomes:shae7c9f184996a384e99be68e790f0612f0c732867

As mention in previous message when looking in this .sif image with this command, I see that fastcat version is an old one that do not have the --histograms option that is specified in the lib/ingress.nf file in fastcat process.

apptainer run wf-transcriptomes_shae7c9f184996a384e99be68e790f0612f0c732867.sif Apptainer> pwd /home/epi2melabs/conda/bin Apptainer> fastcat -V 0.10.2

got same with image wf-transcriptomes_latest.sif

I tried to run with old version of wf-transcriptomes-1.0.0 where the lib/ingress.nf do not have the --histograms option but then I got that csvtk: command not found. Here I do not see csvtk in conda environment.

Could you have a look on your side at the version of fastcat that is available in the last .sif image that you provide?

It should be upgraded to 0.16.0.

Could you also add csvtk in the conda environment?

Best regards,

Helene

apaul7 commented 2 months ago

Hi, I ran into a similar issue where fastcat did not have the --histograms option. I also copy the git repo and run the main.nf file. I use docker instead of apptainer. I run the pipeline on a local LSF cluster instead of slurm.

For running nextflow workflows I create a profile that can utilize the LSF cluster. I set the default docker image to ontresearch/wf-transcriptomes:${params.wf.container_sha} then I ran into the --historgrams issue you faced. I was able solve this problem by utilizing the labels for each step.

I added this to the nextflow.config:

...
profiles {
    // the "standard" profile is used implicitely by nextflow
    // if no other profile is given on the CLI
    compute1_lsf {
        process.executor = 'lsf'
        process.queue = 'general'
        process {
            withLabel:isoforms {
                clusterOptions =  "-G compute-mylab -a 'docker(ontresearch/wf-transcriptomes:${params.wf.container_sha})'"
            }
            withLabel:wf_common {
                clusterOptions =  "-G compute-mylab -a 'docker(ontresearch/wf-common:${params.wf.common_sha})'"
            }
        }
    }
...

then added -profile compute1_lsf to the nextflow run command. Not sure how to do that for your slurm cluster or utilizing apptainers. Just wanted to hopefully offer a solution!

hgingras commented 2 months ago

Thanks for sharing. I ended up using local mode and setting up the requirements in a python virtual environment and installing other modules by myself. Only the jaffal module I could not set up. I wished I had a reply to understand more about the docker image and version of the different modules. Have a good one!

Yoon90 commented 1 month ago

Hi, I ran into a similar issue where fastcat did not have the --histograms option. I also copy the git repo and run the main.nf file. I use docker instead of apptainer. I run the pipeline on a local LSF cluster instead of slurm.

For running nextflow workflows I create a profile that can utilize the LSF cluster. I set the default docker image to ontresearch/wf-transcriptomes:${params.wf.container_sha} then I ran into the --historgrams issue you faced. I was able solve this problem by utilizing the labels for each step.

I added this to the nextflow.config:

...
profiles {
    // the "standard" profile is used implicitely by nextflow
    // if no other profile is given on the CLI
    compute1_lsf {
        process.executor = 'lsf'
        process.queue = 'general'
        process {
            withLabel:isoforms {
                clusterOptions =  "-G compute-mylab -a 'docker(ontresearch/wf-transcriptomes:${params.wf.container_sha})'"
            }
            withLabel:wf_common {
                clusterOptions =  "-G compute-mylab -a 'docker(ontresearch/wf-common:${params.wf.common_sha})'"
            }
        }
    }
...

then added -profile compute1_lsf to the nextflow run command. Not sure how to do that for your slurm cluster or utilizing apptainers. Just wanted to hopefully offer a solution!

@apaul7, Thank you for sharing your case. Could you tell me what's the difference between default and your profile? I could not find any particular changes between your profile and default configuration.

apaul7 commented 1 month ago

Hi, I've added the git diff from 999fb4e using git diff nextflow.config:

index 4eb4c73..8e5874b 100644
--- a/nextflow.config
+++ b/nextflow.config
@@ -140,6 +140,18 @@ process {
 profiles {
     // the "standard" profile is used implicitely by nextflow
     // if no other profile is given on the CLI
+    compute1_lsf {
+        process.executor = 'lsf'
+        process.queue = 'general'
+        process {
+            withLabel:isoforms {
+                clusterOptions =  "-G compute-mylab -a 'docker(ontresearch/wf-transcriptomes:${params.wf.container_sha})'"
+            }
+            withLabel:wf_common {
+                clusterOptions =  "-G compute-mylab -a 'docker(ontresearch/wf-common:${params.wf.common_sha})'"
+            }
+        }
+    }
     standard {
         docker {
             enabled = true

When submitting jobs to my cluster via bsub you need to provide a docker image using the application(-a) option. This compute1_lsf profile allows nextflow to use different docker images depending on the label in the individual step.

Hope this helps! -Alex

cjw85 commented 1 month ago

@hgingras

When you were doing this:

In this version (the last one), in the nextflow.config there is this specification: container_sha = "shae7c9f184996a384e99be68e790f0612f0c732867"

This is the image I loaded doing so:

you would have needed to pull another container image also. The workflow use two images: nextflow.config, it is the wf-common image which is used to run the steps involving fastcat (I'm not entirely sure why fastcat is installed into the wf-transcriptomes image also, it might be historical).