You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sequali takes the last item from the list of found adapters, which crashes when the list is empty
Processing TestSample1-R2.fq.gz: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 419k/419k [00:00<00:00, 4.01MiB/s]
Processing TestSample1-R1.fq.gz: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 418k/418k [00:00<00:00, 3.91MiB/s]
Traceback (most recent call last):
File "/data/micromamba/envs/sequali/bin/sequali", line 11, in<module>sys.exit(main())
File "/data/micromamba/envs/sequali/lib/python3.10/site-packages/sequali/__main__.py", line 281, in main
report_modules = calculate_stats(
File "/data/micromamba/envs/sequali/lib/python3.10/site-packages/sequali/report_modules.py", line 2110, in calculate_stats
AdapterFromOverlapReport.from_insert_size_metrics(insert_size_metrics))
File "/data/micromamba/envs/sequali/lib/python3.10/site-packages/sequali/report_modules.py", line 1833, in from_insert_size_metrics
longest_adapter_read1 = adapters_read1[-1][0]
IndexError: list index out of range
I've made a small workaround, but I'm not sure exactly where the empty string gets used further on, so use with caution:
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:
The text was updated successfully, but these errors were encountered: