Skip to content

Incomplete sample_type in model configs leads to dorado error #429

@elihuihms

Description

@elihuihms

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions