nanoporetech / minknow_api

Protobuf and gRPC specifications for the MinKNOW API
Other
50 stars 12 forks source link

can we specify toml for a sequencing run via the API? #30

Closed neuropathbasel closed 2 years ago

neuropathbasel commented 2 years ago

Is there a way to specify toml for a sequencing run via the API? We could specify a particular toml for a playback / simulation run. Looking forward to your reply. Best wishes Claus

0x55555555 commented 2 years ago

The output of the find_protocol function in the start_protocol example is a toml filename without the ".toml" extension, so:

Here: https://github.com/nanoporetech/minknow_api/blob/master/python/examples/start_protocol.py#L432

You could specify your own toml reference rather than searching for the right protocol to start. It might help to dump this identifier in the existing protocol in order to get an idea for how the identifier is presented.

I hope that helps.

neuropathbasel commented 2 years ago

Thanks a lot, will try a.s.a.p! Closing issue.