I've encountered an issue when exporting bonito models with the sample_type = "rna" in their config.toml files. When models with this sample type are exported via bonito export, dorado fails to load the model with a Failed to resolve basecaller models: Failed to determine model sample type from model name or config error.
e.g. rna004_130bps_sup@v5.2.0:
[run_info]
sample_type = "rna"
sample_rate = 4000
This seems to be an issue with just the 5.x.x series of super accuracy models, and the fix is simple:
[run_info]
sample_type = "rna004"
sample_rate = 4000