Closed alexandregilardet closed 2 years ago
@alexandregilardet could you try with -r kraken2-emptyfastq-fix
and see if that works?
TODO: update docuemntation to say you may not always get kraken2 output
Tested and works, thanks! Sorry didn't spot that fix.
Will be in the next patch release :)
Check Documentation
I have checked the following places for your error:
Description of the bug
When having eg. a negative control, Kraken will break because of a missing output since no sequences were found. No complexity filtering applied. The unmapped FASTQ is basically empty.
Steps to reproduce
Steps to reproduce the behaviour:
nextflow run nf-core/eager -r 2.3.3 -profile production,crick -params-file nf-params.json -c $alexandre/bin/custom.config
Missing output file(s)
*.kraken.out
expected by process `kraken ...Loading database information... done. 0 sequences (0.00 Mbp) processed in 0.009s (0.0 Kseq/m, 0.00 Mbp/m). 0 sequences classified (-nan%) 0 sequences unclassified (-nan%)
Expected behaviour
Pipeline shouldn't break because of missing Kraken output.
Log files
Have you provided the following extra information/files:
.nextflow.log
fileSystem
Nextflow Installation
Container engine
Additional context