Skip to main content

Queue Generation System

DOI bioRxiv

Generate sample queues with QC injections for mass spectrometry instruments (XCalibur, Chronos, Hystar).

▶ Try the live demos

Launch the queue generator in your browser →

Launch the config editor in your browser →

No install, no account. The queue generator demo lets you upload a CSV/XLSX sample table (or load a bundled example), pick the instrument / sampler / pattern, preview the queue, and download it. The config editor demo lets you inspect, edit, and validate the configuration in the browser.


qg is a standalone tool: upload a CSV/XLSX sample table in the GUI (or pass a parameters JSON to the CLI), configure the queue, preview, and download — no FGCZ/B-Fabric required. It also runs as the FGCZ B-Fabric portal app (LIMS order browsing + workunit upload); see the B-Fabric guide.

📖 Documentation: fgcz.github.io/qg — local-app and editor guides, the queue-generation algorithm, and the configuration reference.

Installation

pip install ms-qg              # as a dependency
uv sync --no-group portal      # for development in this repo, B-Fabric-free

Requires Python 3.13 or newer.

This installs the local app plus the qg, qg-assign-positions, and qg-validate CLIs. The core install has no bfabric, fastapi, starlette, or python-gitlab dependency — import qg, the local app, and the CLIs all work without them. For the FGCZ B-Fabric portal, install the ms-qg[bfabric] extra — see the B-Fabric guide.

Quick Start

Local app — no B-Fabric

make app-local
# or: qg-app-local
# or: uv run marimo run src/qg/apps/queue_app_local.py

Upload a sample table — ready-made examples (vial/plate, single- and multi-project) live in docs/examples/ — pick the instrument / sampler / pattern, preview, and download the queue plus its parameters JSON. See docs/users/local_app.md.

CLI

uv run qg config.json -o queue.csv   # generate a queue from a parameters JSON (stdout if no -o)
uv run qg-assign-positions config.json -o positioned.json  # assign/validate physical positions only
uv run qg-validate                   # validate the config files

Running at FGCZ? The B-Fabric portal app, its ms-qg[bfabric] install, project cache seeding, and deployment all live in the B-Fabric guide.

Supported Configurations

Technologies

  • Proteomics
  • Metabolomics (with pos/neg polarity)
  • Lipidomics (with pos/neg polarity)

Samplers

Sampler Instruments
Vanquish ASTRAL_1, EXPLORIS_3/4/5, QEXACTIVEHF_2, QUANTIVA_1
MClass ASCEND_1, EXPLORIS_1/2, LUMOS_2, QEXACTIVE_1
Evosep ASTRAL_1, EXPLORIS_1/2, TIMSTOF_1, TIMSTOFFLEX_1

Output Formats

  • XCalibur (.csv, xcalibur / xcalibur_sii)
  • Chronos (.csv)
  • Hystar (.xml)

Queue Parameters JSON

Queue generation takes a JSON file with a parameters object (instrument, sampler, output format, pattern, …) and a nested queue object (batches plus samples, or plates/cells for plate input). The canonical schema and field-by-field reference live in one place: docs/reference/config.md.

Example Output

File Name,Path,Instrument Method,Position,Inj Vol,Sample Type,Sample Name
20260112_001_C37180_autoQC02dia,D:\Data2San\p37180\Proteomics\ASTRAL_1\cpanse_20260112,C:\Methods\Proteomics\ASTRAL_1\DIA_60min.meth,B:F8,1.0,QC,autoQC02dia
20260112_002_C37180_autoQC01,D:\Data2San\p37180\Proteomics\ASTRAL_1\cpanse_20260112,C:\Methods\Proteomics\ASTRAL_1\DIA_60min.meth,B:F9,2.0,QC,autoQC01
20260112_003_C37180_S852285_HeLa_10ng,D:\Data2San\p37180\Proteomics\ASTRAL_1\cpanse_20260112,C:\Methods\Proteomics\ASTRAL_1\DIA_60min.meth,Y:A1,2.0,Unknown,HeLa_10ng

Configuration Files

Static config lives in qg_configs/, grouped under core/{structure,position,formatting,methods}/ and ui/. The per-file reference (purpose, columns, examples) is maintained in one place: docs/reference/config.md.

Metadata

Release files for ms-qg 0.13.0

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

Source distribution (sdist)

Source distribution for ms-qg 0.13.0
File Size Uploaded Provenance Actions
ms_qg-0.13.0.tar.gz 1.0 MB Without provenance Details for ms_qg-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ms-qg 0.13.0
File Interpreter ABI Platform Actions
ms_qg-0.13.0-py3-none-any.whl Python 3 none any Details for ms_qg-0.13.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / ms_qg-0.13.0.tar.gz

Download URL ms_qg-0.13.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
7f5f4f5fcc8e294057006b071e043ddd57db9d8d973d007941755d6544b18247
BLAKE2b-256 checksum
How to use checksums
149b6dd30ce950c8eb41298e7d0a57bb3ea8f6c4dca605c3a6db05fa91b8b2a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ms_qg-0.13.0-py3-none-any.whl

Download URL ms_qg-0.13.0-py3-none-any.whl
Size 173.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93779728e8975103bb6f9a0259e5fc919dd5882fe4d2e9a73fd02d37ac60e4fd
BLAKE2b-256 checksum
How to use checksums
7cc719b3df7ca7d744f9319ee5dd42a3a2196da132a388e6b9f939ed6757a7eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ms-qg 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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