Skip to main content

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

Metadata

Release files for janusbio 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for janusbio 0.3.0
File Size Uploaded Provenance Actions
janusbio-0.3.0.tar.gz 54.8 kB Without provenance Details for janusbio-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for janusbio 0.3.0
File Interpreter ABI Platform Actions
janusbio-0.3.0-py3-none-any.whl Python 3 none any Details for janusbio-0.3.0-py3-none-any.whl

Total release size: 70.5 kB

Release files / janusbio-0.3.0.tar.gz

Download URL janusbio-0.3.0.tar.gz
Size 54.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c84ef85df240f3fafdb655f8f908dc59e45478d095a626cfd27fb5af866a217a
BLAKE2b-256 checksum
How to use checksums
d7ae47c3fb318cfabb8ab1c45385b48bf8b5f3d9bbd53cf2b4cd48546ea1a8cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5

Release files / janusbio-0.3.0-py3-none-any.whl

Download URL janusbio-0.3.0-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2fefeba5a6e56b73df69cc1f7224e74eb5daaedd3e29cba3a39edfcc6d1a40f
BLAKE2b-256 checksum
How to use checksums
63a9cfb3a9dca70772b996831c33efd46ab5c62c0b12794635d94baaf057f9ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5

Security for janusbio 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page