previsedx-esopredict-qc-utils


Nameprevisedx-esopredict-qc-utils JSON
Version 0.5.2 PyPI version JSON
download
home_pagehttps://github.com/sundaram-previsedx/previsedx-esopredict-qc-utils
SummaryCollection of software for QC checks for PreviseDx Esopredict.
upload_time2025-02-15 13:34:54
maintainerNone
docs_urlNone
authorJaideep Sundaram
requires_python>=3.10
licenseNone
keywords previsedx_esopredict_qc_utils
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===================
esopredict-qc-utils
===================


Collection of software for QC checks for esopredict


Usage
-----

.. code-block:: python

    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:

.. code-block:: bash

    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:

.. code-block:: text

     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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sundaram-previsedx/previsedx-esopredict-qc-utils",
    "name": "previsedx-esopredict-qc-utils",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "previsedx_esopredict_qc_utils",
    "author": "Jaideep Sundaram",
    "author_email": "sundaram.previse@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b1/b3/ddcd4b507eb2e20d82da49a5d5152d7e4c1fd94b2a8b9814536e3e942d18/previsedx_esopredict_qc_utils-0.5.2.tar.gz",
    "platform": null,
    "description": "===================\nesopredict-qc-utils\n===================\n\n\nCollection of software for QC checks for esopredict\n\n\nUsage\n-----\n\n.. code-block:: python\n\n    from esopredict-qc-utils import Manager as QCManager\n\n    config_file = \"conf/config.yaml\"\n    config = yaml.safe_load(Path(config_file).read_text())\n\n    manager = QCManager(\n        config=config,\n        config_file=config_file,\n        indir=indir,\n        infile=infile,\n        logfile=logfile,\n        outdir=outdir,\n        outfile=outfile,\n        verbose=verbose,\n    )\n\n    manager.run_qc_checks()\n\nExported console script\n------------------------\n\nTo use the exported script for running QC checks:\n\n.. code-block:: bash\n\n    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 .\n    --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'\n    --logfile was not specified and therefore was set to './run_esopredict_qc_checks.log'\n    --outfile was not specified and therefore was set to './run_esopredict_qc_checks.qc-checks-report.txt'\n\nExcerpt of QC report file:\n\n.. code-block:: text\n\n     1  ## method-created: /tmp/previsedx-esopredict-qc-utils/venv/lib/python3.10/site-packages/previsedx_esopredict_qc_utils/qc/reporter.py\n     2  ## date-created: 2025-02-15-082341\n     3  ## created-by: sundaram\n     4  ## config_file: /tmp/previsedx-esopredict-qc-utils/venv/lib/python3.10/site-packages/previsedx_esopredict_qc_utils/conf/config.yaml\n     5  ## indir: /tmp/demo/ID24-0114\n     6  ## logfile: ./run_esopredict_qc_checks.log\n     7  Summary\n     8  ========\n     9  \n    10  (1): Standard Curve QC checks - PASS\n    11          See section 2 'Standard Curve QC' in SOP document ANA-FOR-001-F1-Analysis_QC_5.0.pdf\n    12  \n    13  (2): Standards Dilution checks - PASS\n    14          See section 1 'Run Check' SOP document ANA-FOR-001-F1-Analysis_QC_5.0.pdf\n    15  \n    16  (3): NEG QC checks - FAIL\n    17          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf\n    18  \n    19  (4): NTC QC checks - PASS\n    20          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf\n    21  \n    22  (5): EXT QC checks - PASS\n    23          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf\n    24  \n    25  (6): POS-High QC checks - PASS\n    26          See section 4 'Controls Criteria Table' in SOP document of ANA-FOR-001-F1-Analysis_QC_5.0.pdf\n    27  \n    28  (7): Sample QC beta-Actin Quantity QC checks - PASS\n    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\n    30  \n    31  \n    32  Details\n    33  ========\n    34  \n    35  =====================================================================\n    36  # Check Category Number: 1\n    37  # Check Name: Standard Curve QC checks\n    38  # Description: See section 2 'Standard Curve QC' in SOP document ANA-FOR-001-F1-Analysis_QC_5.0.pdf\n    39  # Overall Status: PASS\n    40  =====================================================================\n\n\n=======\nHistory\n=======\n\n0.1.0 (2024-09-06)\n------------------\n\n* First release on PyPI.\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Collection of software for QC checks for PreviseDx Esopredict.",
    "version": "0.5.2",
    "project_urls": {
        "Homepage": "https://github.com/sundaram-previsedx/previsedx-esopredict-qc-utils"
    },
    "split_keywords": [
        "previsedx_esopredict_qc_utils"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9d1b8ece2471ec480d3db91b46d5e59e1ef86ccbdae9f1437cb68c5d8630189",
                "md5": "c8f5f7782feb49eab8bfa79822478fbc",
                "sha256": "1cba362bfd3055130c87202979b46c072d59b938c15a6f6bdeede51f2fbdeff9"
            },
            "downloads": -1,
            "filename": "previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c8f5f7782feb49eab8bfa79822478fbc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 34810,
            "upload_time": "2025-02-15T13:34:52",
            "upload_time_iso_8601": "2025-02-15T13:34:52.607840Z",
            "url": "https://files.pythonhosted.org/packages/e9/d1/b8ece2471ec480d3db91b46d5e59e1ef86ccbdae9f1437cb68c5d8630189/previsedx_esopredict_qc_utils-0.5.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1b3ddcd4b507eb2e20d82da49a5d5152d7e4c1fd94b2a8b9814536e3e942d18",
                "md5": "79fb881ece2cc7abca4bce2df036d948",
                "sha256": "b7c1e7e2ce959fc8793d481c49bd7314b25366e604d87a3169d303d696d5537e"
            },
            "downloads": -1,
            "filename": "previsedx_esopredict_qc_utils-0.5.2.tar.gz",
            "has_sig": false,
            "md5_digest": "79fb881ece2cc7abca4bce2df036d948",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 32747,
            "upload_time": "2025-02-15T13:34:54",
            "upload_time_iso_8601": "2025-02-15T13:34:54.552481Z",
            "url": "https://files.pythonhosted.org/packages/b1/b3/ddcd4b507eb2e20d82da49a5d5152d7e4c1fd94b2a8b9814536e3e942d18/previsedx_esopredict_qc_utils-0.5.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-15 13:34:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sundaram-previsedx",
    "github_project": "previsedx-esopredict-qc-utils",
    "github_not_found": true,
    "lcname": "previsedx-esopredict-qc-utils"
}
        
Elapsed time: 2.25673s