Skip to content

Evaluating soNNia likelihood along with qm.norm_productive and qm.Z #37

@psathyrella

Description

@psathyrella

I'm evaluating likelihoods using the module approach since I need qm.norm_productive and qm.Z, which I think are not available with the command line approach. This has been working well for me with SONIA, schematically:

qm = Sonia(ppost_model="humanIGH")
...
qs, pgens, pposts = qm.evaluate_seqs([...])

[...] =  qm.norm_productive, qm.Z

But when I try the same approach with soNNia (just changing qm = SoNNia(ppost_model="humanIGH")) it crashes because it can't find an .h5 file in the default model dir (indeed there don't seem to be any .h5 files in default_models/. Is this expected? It would be nice if I didn't need to train a soNNia model from scratch.

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions