bacass icon indicating copy to clipboard operation
bacass copied to clipboard

Nanoplot expect png output in hybrid assembly mode

Open jenmuell opened this issue 3 years ago • 0 comments

Description of the bug

Since the last update 2.0.0 the Nanoplot command expect a .png output but this output format was removed from version 1.1.1 to 2.0.0. I solved the issue by removing the png output line in the modules/local/nanoplot.nf

Steps to reproduce

Steps to reproduce the behaviour:

  1. Command line: NXF_VER=21.04.1 nextflow run nf-core/bacass -r 2.0.0 --input samplesheet-bacass.csv --kraken2db ~/db/kraken/k2_pluspf_16gb_20210127.tar --annotation_tool dfast --assembly_type hybrid -profile docker --outdir results
  2. See error: Error executing process > 'NFCORE_BACASS:BACASS:NANOPLOT (NS45)'

Caused by: Missing output file(s) *.png expected by process NFCORE_BACASS:BACASS:NANOPLOT (NS45)

Command executed:

NanoPlot

-t 2
--fastq 2111-DK-l1-001.fastq echo $(NanoPlot --version 2>&1) | sed 's/^.NanoPlot //; s/ .$//' > nanoplot.version.txt

Command exit status: 0

Command output: (empty)

Work dir: /home/sysgen/Desktop/ncct-projects/2201-Kostner-Assembly/work/b6/5ee3ce889e000a378cc359d94da18a

Tip: view the complete command output by changing to the process work dir and entering the command cat .command.out

Expected behaviour

I would expect that the Nanoplot process produce different output formats for the length distribution and similar statistics of my long reads

Log files

Have you provided the following extra information/files:

  • [x] The command used to run the pipeline
  • [x] The .nextflow.log file can be found in my fork of the bacass pipeline (https://github.com/jenmuell/bacass)

System

  • Hardware: HPC/Desktop
  • Executor: local
  • OS: Linux
  • Version 18.04

Nextflow Installation

  • Version:

Container engine

  • Engine: Docker
  • version: 20.10.11

Additional context

jenmuell avatar Jan 19 '22 08:01 jenmuell