Metadata-Version: 2.4
Name: anvil-dream-participant
Version: 0.2.1
Summary: AnVIL DREAM participant CLI, submission tools, and benchmark
License-Expression: Apache-2.0
Project-URL: Documentation, https://www.synapse.org/Synapse:syn74338981/wiki/643841
Project-URL: Repository, https://github.com/cm4ai-anvil-dream-challenge/anvil-dream-participant
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: google-auth<3,>=2.40
Requires-Dist: google-cloud-storage<4,>=3.1
Requires-Dist: miniwdl<2,>=1.13
Requires-Dist: requests<3,>=2.32
Requires-Dist: synapseclient<5,>=4.14.0
Requires-Dist: tqdm<5,>=4.66
Provides-Extra: dev
Requires-Dist: build<2,>=1.2; extra == "dev"
Requires-Dist: numpy<3,>=1.26; extra == "dev"
Requires-Dist: Pillow<13,>=11; extra == "dev"
Requires-Dist: tifffile<2027,>=2026.9.9; extra == "dev"
Requires-Dist: coverage<8,>=7.6; extra == "dev"
Requires-Dist: ruff==0.17.1; extra == "dev"
Requires-Dist: twine<8,>=6; extra == "dev"
Dynamic: license-file

[How to participate](docs/how-to-participate.md) · [Quickstart](docs/quickstart.md) · [All documentation](docs/README.md)

[![CM4AI AnVIL Cell Map Prediction DREAM Challenge](https://raw.githubusercontent.com/cm4ai-anvil-dream-challenge/anvil-dream-participant/main/docs/assets/challenge-banner.png)](https://www.synapse.org/Synapse:syn74338981/wiki/639954)

Predict protein localization from reference microscopy images and a protein sequence.
Use the participant CLI to validate your workflow, package your model, and submit it
to the CM4AI/AnVIL Cell Map Prediction DREAM Challenge.

## Install the CLI

Use Python 3.12 or newer:

```sh
python3.12 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade anvil-dream-participant
anvil-dream-participant --help
```

Follow the [quickstart](docs/quickstart.md) to configure authentication, prepare your
WDL, container image, and weights, and submit your model. The CLI supports files
on your computer and in an AnVIL workspace bucket.

## Prepare your submission

| Guide | What it covers |
| --- | --- |
| [How to participate](docs/how-to-participate.md) | Registration, teams, submissions, and results. |
| [Quickstart](docs/quickstart.md) | Authentication, preparing your model, and making a submission. |
| [Submission format](docs/contract.md) | The WDL interface, inputs, and prediction outputs. |
| [Container images](docs/container-images.md) | Building, publishing, and pinning your model image. |
| [Data](docs/data.md) | Available datasets, image channels, and file formats. |
| [Evaluation](docs/evaluation.md) | What the challenge measures and how models are evaluated. |
| [ProtiCelli example](docs/proticelli.md) | A reference model adapter for the submission interface. |
| [Command line tool](docs/cli.md) | CLI commands, WDL validation, and the local benchmark. |

The [documentation index](docs/README.md) also includes challenge rules, background,
and the timeline. You can read the [challenge site on Synapse](https://www.synapse.org/Synapse:syn74338981/wiki/639954)
without GitHub repository access.

## Check your submission

Save the submission ID returned by the CLI, then check its status:

```sh
anvil-dream-participant submission-status --submission-id SUBMISSION_ID
```

See the [quickstart troubleshooting guide](docs/quickstart.md#troubleshooting) for
help with authentication, containers, workflows, or submissions.

## Run the public benchmark

If you have an `image-results.jsonl` file, run the included benchmark:

```sh
python -m anvil_dream_participant.benchmarking.evaluation \
  --image-results image-results.jsonl \
  --comparison-report comparison-report.json \
  --aggregate evaluation-aggregate.json \
  --output score-result.json
```

The [benchmark guide](docs/benchmark.md) describes the input format and score outputs.
This command reads per-image metrics; it does not generate predictions or require
access to the hidden evaluation dataset.
