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.2.tar.gz (15.7 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.2-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qcp_omics-0.1.2.tar.gz
  • Upload date:
  • Size: 15.7 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.2.tar.gz
Algorithm Hash digest
SHA256 43c273a19f7ada1f5d008ca1eccfaacaff04483a8dd66c653656d7ced9cbf8dc
MD5 21ec3839c791dfc19c7f149aa85362c0
BLAKE2b-256 012772559cbda70f9054e3fc4b6d202194326fa696262d86dd9875c4db8e5313

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qcp_omics-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc7e5e8d0f0ec9e481aa7a2b3c4f825ca01048a21be3c08f0e59ceda6402067
MD5 c9e41702a91c0f5b4b7f83259caa46d7
BLAKE2b-256 484f9f4d96a9bcee065d3f3d702516aff3db833c21d7b36b6f142c8935e1353e

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