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

More examples, phisical device simulator #50

Open
wkusmirek opened this issue Feb 20, 2023 · 5 comments
Open

More examples, phisical device simulator #50

wkusmirek opened this issue Feb 20, 2023 · 5 comments

Comments

@wkusmirek
Copy link

Hello,

I'm working with minknow_api right now, but unfortunately I don't currently have access to a physical sequencer.

I have a request if it would be possible to expand the example section, such as test_extract_run_statistics.py Such files are very helpful in understanding how the api works.

Alternatively, would there be an option to add a physical device simulator that could be queried using minknow_api and would return a set of statistics, e.g. random temperature values?

Best,
Wiktor

@Strexas
Copy link

Strexas commented Jun 5, 2024

I also would like to ask for adding physical simulator.

@0x55555555
Copy link
Contributor

Hello,

In the latest versions of minknow (24.02), you can run:

> {minknow_install_dir}/bin/add_simulated_minion.sh # (there is also a bat file for windows)

This will create a simulated minion on your running instance of minknow.

Thanks,

  • George

@Strexas
Copy link

Strexas commented Jun 19, 2024

Hello,

In the latest versions of minknow (24.02), you can run:

> {minknow_install_dir}/bin/add_simulated_minion.sh # (there is also a bat file for windows)

This will create a simulated minion on your running instance of minknow.

Thanks,

  • George

Hello,
Thank you for reply. Is it possible to run protocol on simulated device and get simulated data?

@0x55555555
Copy link
Contributor

You can run a sequencing protocol on a simulated device, you can select playback data during run setup in the UI:

image

You can also start a run from the API using a --simulation extra argument passed to the sequencing script.

You can generate data for playback by writing out additional debug information from the UI:

image

Hope that helps,

  • George

@Strexas
Copy link

Strexas commented Dec 11, 2024

You can run a sequencing protocol on a simulated device, you can select playback data during run setup in the UI:

image

You can also start a run from the API using a --simulation extra argument passed to the sequencing script.

You can generate data for playback by writing out additional debug information from the UI:

image

Hope that helps,

* George

Hello,

I followed your guide and enabled additional output. Differences from guide:

  1. For checks I marked everything: Events, Read Table and Raw
  2. For output I chose POD5

When I added simulated device and tried to run simulation, it throws an error
Unable to open Playback File ... as source for playback

I'm not sure how Playback file has to look like, and where exactly I made mistake. Could you help me?

Thank you

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

3 participants