Skip to main content

Quality control, preprocessing and analysis of omics data for machine learning

Project description

QCP-Omics

Tests

1. Before you run the tool

1.1. Prepare metadata

  1. Create a metadata.json file
  2. If you plan to run the tool interactively, then only provide "dtypes" inside:
{
  "dtypes": {
    "feature1": "type",
    "feature2": "type"
  }
}

Note:

  • "dtypes" must represent data types for all of the columns/features of your dataset. In case some of them are missing, a validation error will occur.
  • If you choose interactive mode and still provide other fields in this file, they will be ignored.
  1. If you want to specify all you metadata then look at section 2.2.

2. Install and run the tool

  1. Create a virtual environment: python3 -m venv .venv
  2. Activate it: source .venv/bin/activate
  3. Install the package manager: pip install poetry
  4. Install all dependencies: poetry install
  5. Ensure you can run the tool: qcp

2.1. Running with interactive input

If you want to run the tool by interactively providing information about your dataset then simply run qcp interactive and answer the prompts.

2.2. Running with a prepared metadata.json file

If you wish to run the tool directly by providing all the input in a metadata.json file, then make sure it contains all of the following fields:

{
  "dataset_type": "clinical | genomics | proteomics",
  "dataset_path": "dataset/path",
  "metadata_path": "metadata/path",
  "output_path": "output/path",
  "features_cols": false,
  "en_header": true,
  "all_numeric": false,
  "is_raw": true,
  "steps_to_run": ["step 1", "step 2"],
  "dtypes": {
    "feature1": "type",
    "feature2": "type"
  }
}

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

qcp_omics-0.1.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

qcp_omics-0.1.1-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file qcp_omics-0.1.1.tar.gz.

File metadata

  • Download URL: qcp_omics-0.1.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.4

File hashes

Hashes for qcp_omics-0.1.1.tar.gz
Algorithm Hash digest
SHA256 63131791c769e8e2c33ce2ade11c2990d15b1a7e4bf097c4b96e4a0365e0d14f
MD5 6a5f0dfdcc19e4ce8446b389291140a7
BLAKE2b-256 5718b1d56e3440727fb88b26b98448a9ae8e7a00175e2e7d8e1d7bd1a3da1610

See more details on using hashes here.

File details

Details for the file qcp_omics-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: qcp_omics-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.4

File hashes

Hashes for qcp_omics-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ac707f09130795ae2fbf908dfca893ee7495ea1a460c5fcc8cf6b631b756887
MD5 ca048347705c10ed64eccbf5904b1279
BLAKE2b-256 a7f3d02c2a806fc27b5cebb54b62f9a0675cb37a526dd615c2933b8c7ddeb951

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