Skip to main content

JANUS: Joint ANalysis for augmentation of clUSter specificity

Project description

JANUS CLI

This project can be run from the command line with janus.py or python -m janusbio.cli.

Input format

  • Provide 2 raw datasets:
    • --ref: reference dataset
    • --exp: experiment dataset
  • Expected format for both files:
    • genes as rows
    • samples as columns
  • Supported file types:
    • .csv
    • .xlsx
    • .parquet
    • .p

Do not pass precomputed contribution or correlation matrices.

Basic usage

Run one or more formulas from the command line:

python janus.py \
  --ref depmap_23Q2_chronos.csv \
  --exp mito_screens.csv \
  --pairwise_contribution \
  --get_covariation_contributions \
  --get_differential_correlation

Equivalent module form:

python -m janusbio.cli \
  --ref depmap_23Q2_chronos.csv \
  --exp mito_screens.csv \
  --pairwise_contribution

Available flags

Required inputs

  • --ref <path>: path to the reference dataset
  • --exp <path>: path to the experiment dataset

Formula selection

  • --pairwise_contribution

    • runs get_contributions(...)
    • produces reference and experiment contribution matrices
  • --get_covariation_contributions

    • runs get_covariation_contributions(...)
    • produces reference and experiment covariation contribution matrices
  • --get_differential_correlation

    • runs get_differential_correlation(...)
    • produces differential-correlation and direction matrices

At least one formula flag must be provided.

Optional output

  • --output <directory>
    • if provided, results are saved as parquet files

Example:

python janus.py \
  --ref depmap_23Q2_chronos.csv \
  --exp mito_screens.csv \
  --pairwise_contribution \
  --get_covariation_contributions \
  --get_differential_correlation \
  --output output

Output files

Depending on the selected flags, the CLI writes:

  • pairwise_reference_contribution.parquet
  • pairwise_experiment_contribution.parquet
  • covariation_reference_contribution.parquet
  • covariation_experiment_contribution.parquet
  • differential_correlation.parquet
  • differential_correlation_direction.parquet

Help

To see CLI help:

python janus.py --help

Or:

python -m janusbio.cli --help

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

janusbio-0.3.0.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

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

janusbio-0.3.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file janusbio-0.3.0.tar.gz.

File metadata

  • Download URL: janusbio-0.3.0.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.5

File hashes

Hashes for janusbio-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c84ef85df240f3fafdb655f8f908dc59e45478d095a626cfd27fb5af866a217a
MD5 ef997459074ad7443d7c549fd7cba6d0
BLAKE2b-256 d7ae47c3fb318cfabb8ab1c45385b48bf8b5f3d9bbd53cf2b4cd48546ea1a8cf

See more details on using hashes here.

File details

Details for the file janusbio-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: janusbio-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.5

File hashes

Hashes for janusbio-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2fefeba5a6e56b73df69cc1f7224e74eb5daaedd3e29cba3a39edfcc6d1a40f
MD5 2851831a8d27c14fa068d2633f774e42
BLAKE2b-256 63a9cfb3a9dca70772b996831c33efd46ab5c62c0b12794635d94baaf057f9ea

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