Mark Pampuch
11/26/2024, 2:07 PMMark Pampuch
11/26/2024, 2:08 PMnextflow run nf-core/bacass -r 2.4.0 -c nextflow.config -profile singularity --input samplesheet.tsv --skip_fastqc --skip_fastp --skip_kraken2 --skip_kmerfinder --outdir outputs/2024-11-26_15-KSA-samples_skip__fastp_fastqc_kraken2_kmerfinder
I got:
Nextflow 24.10.1 is available - Please consider updating your version to it
N E X T F L O W ~ version 24.04.4
Launching `<https://github.com/nf-core/bacass>` [amazing_coulomb] DSL2 - revision: be9c064f57 [2.4.0]
------------------------------------------------------
,--./,-.
___ __ __ __ ___ /,-._.--~'
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/bacass 2.4.0
------------------------------------------------------
Input/output options
input : samplesheet.tsv
outdir : outputs/2024-11-26_15-KSA-samples_skip__fastp_fastqc_kraken2_kmerfinder
QC and Trim
skip_fastqc : true
skip_fastp : true
Assembly parameters
canu_mode : -nanopore
Annotation
dfast_config : /home/pampum/.nextflow/assets/nf-core/bacass/assets/test_config_dfast.py
Skipping Options
skip_kraken2 : true
skip_kmerfinder: true
Core Nextflow options
revision : 2.4.0
runName : amazing_coulomb
containerEngine: singularity
launchDir : /ibex/user/pampum/2024-11-26_KSA-lib-ONT-assemblies
workDir : /ibex/user/pampum/2024-11-26_KSA-lib-ONT-assemblies/work
projectDir : /home/pampum/.nextflow/assets/nf-core/bacass
userName : pampum
profile : singularity
configFiles :
!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------* The pipeline
<https://doi.org/10.5281/zenodo.2669428>
* The nf-core framework
<https://doi.org/10.1038/s41587-020-0439-x>
* Software dependencies
<https://github.com/nf-core/bacass/blob/master/CITATIONS.md>
[- ] NFCORE_BACASS:BACASS:CAT_FASTQ -
[- ] NFCORE_BACASS:BACASS:NANOPLOT -
[- ] NFCORE_BACASS:BACASS:CAT_FASTQ -
[- ] NFCORE_BACASS:BACASS:NANOPLOT -
[- ] NFCORE_BACASS:BACASS:PYCOQC -
[- ] NFCORE_BACASS:BACASS:UNICYCLER -
[- ] NFCORE_BACASS:BACASS:QUAST -
[- ] NFCORE_BACASS:BACASS:GUNZIP -
[- ] NFCORE_BACASS:BACASS:PROKKA -
[- ] NFCORE_BACASS:BACASS:MULTIQC_CUSTOM -
ERROR ~ Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null
[- ] NFCORE_BACASS:BACASS:CAT_FASTQ -
[- ] NFCORE_BACASS:BACASS:NANOPLOT -
[- ] NFCORE_BACASS:BACASS:PYCOQC -
[- ] NFCORE_BACASS:BACASS:UNICYCLER -
[- ] NFCORE_BACASS:BACASS:QUAST -
[- ] NFCORE_BACASS:BACASS:GUNZIP -
[- ] NFCORE_BACASS:BACASS:PROKKA -
[- ] NFCORE_BACASS:BACASS:MULTIQC_CUSTOM -
ERROR ~ Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null
-- Check script '/home/pampum/.nextflow/assets/nf-core/bacass/./workflows/../subworkflows/nf-core/utils_nfcore_pipeline/main.nf' at line: 97 or see '.nextflow.log' file for more details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: <https://nf-co.re/docs/usage/troubleshooting>
-- Check '.nextflow.log' file for detailsMark Pampuch
11/26/2024, 2:09 PMCannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null means and why this is happening?Daniel Straub
11/26/2024, 2:10 PMoutputs already existing?Mark Pampuch
11/26/2024, 2:11 PMMark Pampuch
11/26/2024, 2:12 PMDaniel Straub
11/26/2024, 2:15 PM--outdir doesnt contain any special characters or even a newline or such?Mark Pampuch
11/26/2024, 2:16 PMoutputs/2024-11-26_15-KSA-samples_skip__fastp_fastqc_kraken2_kmerfinderDaniel Straub
11/26/2024, 2:17 PM-profile test? If yes, could you attach the .nextflow.log of the failed run?Mark Pampuch
11/26/2024, 3:26 PM-profile singularity,testMark Pampuch
11/26/2024, 3:29 PMDaniel_VM
11/26/2024, 5:11 PMsoftwareVersionsToYAML function is involved. It appears to occur when both --skip_fastqc and --skip_fastp are used together.
When none of these software are used, it emmits a null value, which migth conflict with the softwareVersionsToYAML function.
https://github.com/nf-core/bacass/blob/be9c064f571ada41692f9e98f99474f16bf5c04b/subworkflows/nf-core/fastq_trim_fastp_fastqc/main.nf#L102Daniel Straub
11/27/2024, 7:37 AM--skip_fastqc, i.e. allow fastqc to run if you indeed dont want to have fastp filtering your reads.
To fix that bug in the longer run, .ifEmpty([]) should work I think.