Comparison Logic in an Analysis Plugin
PolyzyMD uses one extension workflow for new contributions: add a single
Analysis subclass in src/polyzymd/analyses/.
If your contribution needs custom cross-condition statistics, put that logic in
the plugin’s compare() method.
Use Extending the Analysis Framework as the main contributor guide.
What to Implement
compute_replicate()for per-replicate workaggregate()for per-condition summariescompare()when the default scalar comparison path is not enoughformat()if you want custom CLI output
Keep It Simple
For a new community contribution, the preferred shape is:
create one package in
src/polyzymd/analyses/<name>/keep settings in the plugin’s inner
Settingsmodeluse
plugins:incomparison.yamllet the orchestrator manage cache files under
comparison/<analysis>/result.json
That keeps the full user-facing workflow in one place and makes reviews easier.