Skip to main content

Collection of software for QC checks for PreviseDx Esopredict.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

previsedx_esopredict_qc_utils-0.5.2.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file previsedx_esopredict_qc_utils-0.5.2.tar.gz.

File metadata

File hashes

Hashes for previsedx_esopredict_qc_utils-0.5.2.tar.gz
Algorithm Hash digest
SHA256 b7c1e7e2ce959fc8793d481c49bd7314b25366e604d87a3169d303d696d5537e
MD5 79fb881ece2cc7abca4bce2df036d948
BLAKE2b-256 b1b3ddcd4b507eb2e20d82da49a5d5152d7e4c1fd94b2a8b9814536e3e942d18

See more details on using hashes here.

File details

Details for the file previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1cba362bfd3055130c87202979b46c072d59b938c15a6f6bdeede51f2fbdeff9
MD5 c8f5f7782feb49eab8bfa79822478fbc
BLAKE2b-256 e9d1b8ece2471ec480d3db91b46d5e59e1ef86ccbdae9f1437cb68c5d8630189

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page