Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remotely monitor the status of minknow protocol and run a custom script #41

Open
dawnmy opened this issue Jul 30, 2022 · 5 comments
Open

Comments

@dawnmy
Copy link

dawnmy commented Jul 30, 2022

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

@0x55555555
Copy link
Contributor

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

@dawnmy
Copy link
Author

dawnmy commented Aug 2, 2022

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.

@0x55555555
Copy link
Contributor

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

@dawnmy
Copy link
Author

dawnmy commented Aug 2, 2022

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?

@dawnmy
Copy link
Author

dawnmy commented May 5, 2023

We intend to support API tokens on MinION builds in a near future release.

Is this issue solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants