Closed Redmar-van-den-Berg closed 4 months ago
Thanks for reporting. Let me see if I can create a reproducible test case.
I encountered the bug with the R1.fq.gz
and R2.fq.gz
files from here: https://github.com/LUMC/HAMLET/tree/main/test/data/fastq
The issue is that it always crashes when there are no adapters. I fixed it in #160 . EDIT: The fix you provided works fine.
Sequali takes the last item from the list of found adapters, which crashes when the list is empty
I've made a small workaround, but I'm not sure exactly where the empty string gets used further on, so use with caution:
The report looks like this with the workaround: