ugbio_omics
This module includes Python scripts for working with AWS HealthOmics.
Log in with SSH to the desired AWS account before running tools in this package.
List of tools:
-
Compare Cromwell vs. Omics - Process cost and performance on both platforms and save results into comparable CSV files. Also saves metadata and intermediate cost and performance files. Additionally, you can find a plots folder with a variety of HTML plots. Omics cost information is fetched from cost.csv in S3 run output bucket.
Run
uv run compare_cromwell_omics --helpfor more details. -
Compare Omics Runs - Process cost and performance and compare multiple Omics runs. Omics cost information is fetched from cost.csv in S3 run output bucket.
Run
uv run compare_omics_runs --helpfor more details. -
Get Run Logs - Download logs of an Omics run. For FAILED run by default, you'll get the logs of all failed tasks or the run's engine log if there are no failed tasks. For successful runs by default, you'll get all tasks' logs. You can use --task-id to get the log for a specific task.
Run
uv run get_omics_logs --helpfor more details. -
Get Omics Cache Path - Get S3 uri of the cache of an Omics run. You can choose to copy the indexes files using --copy-indexes. Use --task-id to get the cache uri / copy indexes for a specific task.
Run
uv run omics_cache_path --helpfor more details. -
Manifest Log - Download and parse the manifest log of an Omics run. The manifest log contains a lot of information about storage usage, CPU and memory usage per task, Docker images, inputs, and general information about the run.
-
Performance - Process CPU, memory, and I/O metrics from the monitor log running in each task. Get usage plots over time for a better understanding of your code utilization. Note that task logs must be accessible for this.
Run
uv run performance --helpfor more details.
Admin tools:
- Report Run Completion - Manually triggers the OmicsEndRunHandler AWS Lambda to report mongodb on end of omics run/s.
Run
uv run report_run_completion --helpfor more details. - Report Missing runs - Manually triggers the start and end AWS Lambda handlers to report mongodb on omics run/s that are missing from the db.
Run
uv run report_missing_runs --helpfor more details. - Cost Distribution by Version - Analyze cost distribution per workflow for a specific version or version prefix. Queries the Papyrus database for runs matching a version (exact or prefix match), groups by workflow name, and generates histograms with cost statistics. Supports caching, outlier filtering, and tarball creation.
Run
uv run cost_distribution_by_version --helpfor more details.
Run with Docker
A fast and easy way to run the above-mentioned tools is by running a container:
docker run -v ~/.aws:/root/.aws -e AWS_PROFILE=${AWS_PROFILE} -v <local_output>:<output> 337532070941.dkr.ecr.us-east-1.amazonaws.com/ugbio_omics:latest <tool>
Breakdown:
-
A simple
docker runcommand. -
-v ~/.aws:/root/.aws -e AWS_PROFILE=${AWS_PROFILE}- this will allow the Docker container to use the SSH profile you are logged into (customer/dev/prod).Remember to use alog before running the container.
-
-v <local_output>:<output>- add a volume mapping and use it in the output path of the tool to get the outputs available outside the container. -
337532070941.dkr.ecr.us-east-1.amazonaws.com/ugbio_omics:latest- Docker image. -
<tool>- available tools are:- get_omics_logs
- omics_cache_path
- manifest_log
- compare_omics_runs
- compare_cromwell_omics
Metadata
Release files for ugbio-omics 1.33.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ugbio_omics-1.33.1.tar.gz | 30.5 kB | Without provenance | Details for ugbio_omics-1.33.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ugbio_omics-1.33.1-py3-none-any.whl | Python 3 | none | any | Details for ugbio_omics-1.33.1-py3-none-any.whl |
Total release size: 66.2 kB
Release files / ugbio_omics-1.33.1.tar.gz
| Download URL | ugbio_omics-1.33.1.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
994eced8add291ec6769345324b7a62ae3fd01fbf733302be5cddd145e7d1e98
|
|
BLAKE2b-256 checksum How to use checksums |
abcec78c634a224e0d82f9012e7cc69eddb40a2f763c9d85fe87d521db80c673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ugbio_omics-1.33.1-py3-none-any.whl
| Download URL | ugbio_omics-1.33.1-py3-none-any.whl |
|---|---|
| Size | 35.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
459a4d1c57f481a7b8a90623de4974e44994dc85eb6267b4e8cdc87b2420b52d
|
|
BLAKE2b-256 checksum How to use checksums |
a71c64f69de0613da60eff4b44897145106262878ac62a16a9fd324a2d408d19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for ugbio-omics 1.33.1
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.