minknow_api
minknow_api copied to clipboard
remotely monitor the status of minknow protocol and run a custom script
Hi,
Thank you developing the those useful APIs for Miniknow. I have computer A connected with Minknow and a computer B used to process the data. I am interested in monitoring the sequencing status on computer B and run a custom script located in computer A to cleaned the data and transfer the data to computer B once the sequencing is completed. Then the data will be processed automatically on computer B with a pipeline. I was wondering which APIs I should use to implement the whole process?
Best, ZL
Hi @dawnmy ,
I would suggest you take a look through our examples and try to piece something together from those pieces.
An example to monitor a protocol here:
https://github.com/nanoporetech/minknow_api/blob/master/python/minknow_api/examples/run_after_protocol.py
We have an example to start a protocol (which you could use to clean up after a run, but its a bit of a stretch) here:
https://github.com/nanoporetech/minknow_api/blob/master/python/minknow_api/examples/start_protocol.py
Thanks,
- George
Thank you George. BTW, is there a tutorial showing how to generate a API token from Minknow? I tried to look at the "host settings" in the GUI, but it only shows the software version.
Hi @dawnmy,
API tokens are not currently supported under the MinION UI - you can enable guest mode on the system to enable remote connections for now.
We intend to support API tokens on MinION builds in a near future release.
Thanks,
- George
Thank you. I need a token to develop a pipeline (based on MINknow API) for remote monitoring. I read this:
A user can generate an API token when logged into the sequencer, from the Host Settings section. API tokens must be generated using the UI, from a user logged in using nanopore credentials, this allows events to be audited back to their originating user.
from https://github.com/nanoporetech/minknow_api/blob/master/API_TOKENS.md#generating-an-api-token
Is there other way to generate a token for MINknow API?
We intend to support API tokens on MinION builds in a near future release.
Is this issue solved?