When installing Remora via pip, the default package pulled is 3.3.0, which appears to still be a prerelease version?
My brief, unintended testing of v3.3.0 appears to produce this error when performing inference on a pre-trained model. This was resolved with rollback to 3.2.0.
Example command:
remora infer from_pod5_and_bam \
data/myfile.pod5 data/myfile.bam \
--model train_results/model_best.pt \
--out-bam out/myfile_infer.bam \
--log-filename out/myfile_infer.log \
--reference-anchored --device 0
Error produced:
UNEXPECTED_ERROR in PrepBatches worker: ''base_pred''. KeyError: 'base_pred'
This further produced an empty output bam.