Library for communicating with and using the QuantStudio qPCR machine, intended for non-qPCR uses.
Project description
Our DNA 28 poster is available here.
qslib
QSLib is a package for interacting with Applied Biosystems' QuantStudio qPCR machines, primarily intended for non-qPCR uses, such as DNA computing and molecular programming systems. It allows the creation, processing, and handling of experiments and experiment data, and interaction with machines through their network connection and SCPI interface.
The package was originally written for 96-well-block QuantStudio 5 machines. However, it has some support for other machines, particularly for reading EDS files: it supports v1.3 and (partially) v2.0 specification EDS files, and should be able to read at least some data from files generated by Viia7, QuantStudio 3, QuantStudio 5, QuantStudio 6 Flex, and QuantStudio 6 Pro machines, with 96-well and 384-well blocks. If you have problems reading EDS files, or have found that it works with other machines, please let me know.
Amongst other features that it has:
-
Direct fluorescence data ("filter data") as Pandas dataframes, with times and temperature readings.
-
Running-experiment data access, status information, and control.
-
Protocol creation and manipulation, allowing functions outside of AB's software. Protocols can be modified and updated mid-run.
-
Temperature data at one-second resolution during experiments.
-
Machine control functions: immediate pauses and resumes, drawer control, power, etc.
-
With qslib-monitor: live monitoring of machine state information, with Matrix notifications, InfluxDB storage, and Grafana dashboards.
Installation and Setup
QSLib is pure Python, and can be installed via pip:
pip3 install -U qslib
Or, for the current Github version:
pip3 install -U --pre git+https://github.com/cgevans/qslib
It requires at least version 3.9 of Python. While it uses async code at its core for communication, it can be used conveniently in Jupyter or IPython.
To use the library for communication with machines, you'll need a machine access password with Observer (for reading data and statuses) and/or Controller (for running experiments and controlling the machine) access. You will also need access to the machine on port 7443 (machine software versions 1.3.4 and higher), or port 7000 (earlier software versions).
In machine software versions 1.3.4 and higher, you can set a password using the "OEM Connection Only" option in "Settings". Earlier software versions must have passwords set by other methods. Regardless of version, I strongly recommend against having the machines be accessible online: use a restricted VPN connection or port forwarding. See the documentation for more information.
Contributing and issue reporting
Issue reports and enhancement requests can be submitted via Github.
Potential contributions can be submitted via Github. These should include pytest tests, preferably both tests that can be run without outside resources, and, if applicable, tests that directly test any communication with a QuantStudio SCPI server. They will also need a Contributor Licence Agreement.
Private vulnerability reports can be sent to me by email, PGP-encrypted, or via Matrix to @cge:matrix.org.
Disclaimer
This package was developed for my own use. It may break your machine or void your warranty. Data may have errors or be incorrect. When used to send raw commands at high access levels, the machine interface could render your machine unusable or be used to send commands that would physically/electrically damage the machine or potentially be hazardous to you or others.
I am not any way connected with Applied Biosystems. I have developed this package using the machine's documentation system and standard file formats.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qslib-0.12.0.tar.gz
.
File metadata
- Download URL: qslib-0.12.0.tar.gz
- Upload date:
- Size: 577.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b57443ae43e838dd65531563416b14c143e887ffb9475841118071021de95223 |
|
MD5 | ab5a4133daa422ecd81c276d1f718ab8 |
|
BLAKE2b-256 | 27e36267ff4f8a666f39e659f06a480fa8eef41b73b4d132839f33ff0c83f7fb |
File details
Details for the file qslib-0.12.0-py3-none-any.whl
.
File metadata
- Download URL: qslib-0.12.0-py3-none-any.whl
- Upload date:
- Size: 94.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da4e044a3f0f0518aa3c38b979c2f7ce6b80f8713e2babbb0da5bff42e140ee |
|
MD5 | da00df73d1e9b1f2fe310cab41a88f51 |
|
BLAKE2b-256 | 67f92882ebb5cd06654e6564aa9f3588a06e609c2ea7909dde83eb9370894fcb |