Skip to main content

minKNOW mock server

This code will emulate a Oxford Nanopore Technologies gene sequencing device (e.g. minION or minKNOW) using its gRPC Remote Procedure Calls LIMS interface to interact with its embedded software. This package is designed to form part of a software development environment to facilitate rapid prototyping and automated testing.

Glossary

  • minKNOW device manager (host software)
  • gridION a physical device containing an array of sequencing devices
  • minION a physical sequencing device

See also

Installation

$ pip install pyminknow

Usage

The service may run in a container or in a Python environment. To see the usage reference, run:

$ python pyminknow --help

Test client

You may use client.py to test the functionality of the server. To get help, run:

$ python client.py --help

Unit tests may be used to systematically test the server functionality.

$ python -m unittest

Container

The container is based on Debian Linux and uses Python 3.7 as defined in the Dockerfile. You may build and run the container using the commands below.

$ docker build --tag pyminknow:latest .
$ docker run --name minit --publish 5901:5901 -publish 22:22 -d pyminknow:latest
# Start the SSH service
$ docker exec -it --user root minit service ssh start

Python

You should do this inside a Python 3.7 virtual environment. Install packages and then run the service.

$ pip install pyminkow
$ python -m pyminknow

Metadata

Release files for pyminknow 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyminknow 1.0.3
File Size Uploaded
pyminknow-1.0.3.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyminknow 1.0.3
File Interpreter ABI Platform
pyminknow-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 80.7 kB

Release files / pyminknow-1.0.3.tar.gz

Download URL pyminknow-1.0.3.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5c846f29defbafc657e24bbb6aaaee77566b2d55119d93461b29c32b6c403ada
BLAKE2b-256 checksum
How to use checksums
fe99443afb05d5f977acfa17f29ea3ccfdd32053641ddeb16be9d72e6756cac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

Release files / pyminknow-1.0.3-py3-none-any.whl

Download URL pyminknow-1.0.3-py3-none-any.whl
Size 66.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a5b6cd81c2a714306a6460e65c7d5a92ecfa23fa36079e0ca7c8f66f17e4225
BLAKE2b-256 checksum
How to use checksums
6d326e2b061290f10628ff1c3e5293ec11eb062b6444d4f864c6d856dc30e810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page