Skip to main content

esopredict-qc-utils

Collection of software for QC checks for esopredict

Usage

from esopredict-qc-utils import Manager as QCManager

config_file = "conf/config.yaml"
config = yaml.safe_load(Path(config_file).read_text())

manager = QCManager(
    config=config,
    config_file=config_file,
    indir=indir,
    infile=infile,
    logfile=logfile,
    outdir=outdir,
    outfile=outfile,
    verbose=verbose,
)

manager.run_qc_checks()

Exported console script

To use the exported script for running QC checks:

run-esopredict-qc-checks --indir /tmp/demo/ID24-0114 --infile /tmp/demo/ID24-0114/ANA-FOR-001-F2_Analysis_Risk_Algorithm_V6.0_ID24-0114.tsv --outdir .
--config_file was not specified and therefore was set to '/tmp/previsedx-esopredict-qc-utils/venv/lib/python3.10/site-packages/previsedx_esopredict_qc_utils/conf/config.yaml'
--logfile was not specified and therefore was set to './run_esopredict_qc_checks.log'
--outfile was not specified and therefore was set to './run_esopredict_qc_checks.qc-checks-report.txt'

Excerpt of QC report file:

 1  ## method-created: /tmp/previsedx-esopredict-qc-utils/venv/lib/python3.10/site-packages/previsedx_esopredict_qc_utils/qc/reporter.py
 2  ## date-created: 2025-02-15-082341
 3  ## created-by: sundaram
 4  ## config_file: /tmp/previsedx-esopredict-qc-utils/venv/lib/python3.10/site-packages/previsedx_esopredict_qc_utils/conf/config.yaml
 5  ## indir: /tmp/demo/ID24-0114
 6  ## logfile: ./run_esopredict_qc_checks.log
 7  Summary
 8  ========
 9
10  (1): Standard Curve QC checks - PASS
11          See section 2 'Standard Curve QC' in SOP document ANA-FOR-001-F1-Analysis_QC_5.0.pdf
12
13  (2): Standards Dilution checks - PASS
14          See section 1 'Run Check' SOP document ANA-FOR-001-F1-Analysis_QC_5.0.pdf
15
16  (3): NEG QC checks - FAIL
17          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf
18
19  (4): NTC QC checks - PASS
20          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf
21
22  (5): EXT QC checks - PASS
23          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf
24
25  (6): POS-High QC checks - PASS
26          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf
27
28  (7): Sample QC beta-Actin Quantity QC checks - PASS
29          See section 5 'Sample QC (0.0016 < b-Actin < 1.000)' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf
30
31
32  Details
33  ========
34
35  =====================================================================
36  # Check Category Number: 1
37  # Check Name: Standard Curve QC checks
38  # Description: See section 2 'Standard Curve QC' in SOP document ANA-FOR-001-F1-Analysis_QC_5.0.pdf
39  # Overall Status: PASS
40  =====================================================================

History

0.1.0 (2024-09-06)

  • First release on PyPI.

Metadata

Release files for previsedx-esopredict-qc-utils 0.5.2

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

Source distribution (sdist)

Source distribution for previsedx-esopredict-qc-utils 0.5.2
File Size Uploaded
previsedx_esopredict_qc_utils-0.5.2.tar.gz 32.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for previsedx-esopredict-qc-utils 0.5.2
File Interpreter ABI Platform
previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 67.6 kB

Release files / previsedx_esopredict_qc_utils-0.5.2.tar.gz

Download URL previsedx_esopredict_qc_utils-0.5.2.tar.gz
Size 32.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b7c1e7e2ce959fc8793d481c49bd7314b25366e604d87a3169d303d696d5537e
BLAKE2b-256 checksum
How to use checksums
b1b3ddcd4b507eb2e20d82da49a5d5152d7e4c1fd94b2a8b9814536e3e942d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl

Download URL previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cba362bfd3055130c87202979b46c072d59b938c15a6f6bdeede51f2fbdeff9
BLAKE2b-256 checksum
How to use checksums
e9d1b8ece2471ec480d3db91b46d5e59e1ef86ccbdae9f1437cb68c5d8630189
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

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