gerlichlab / looptrace

Fork (from EMBL Gitlab) of the looptrace project: https://git.embl.de/grp-ellenberg/looptrace
MIT License
2 stars 1 forks source link

Enhancement ideas for regional spot visualisation #260

Closed vreuter closed 2 months ago

vreuter commented 4 months ago

Follow-up of #63 / #192

Make the stoppability of the pipeline for interactive visualisation configurable. The CLI program supports image saving and/or interactivity, but the pipeline invocation of this provides no config file hook for allowing the user to say the pipeline should stop for spot visualisation, rather than simply saving the images.

vreuter commented 4 months ago

@TLSteinacker WDYT about config for this?

TL;DR

To summarise, I favor something like...

regional_spot_visualisation:
    save_projections: True
    interact: False

where it would be skipping the step if both are False

There are three possible use modes: a) save 2D projections, no interactivity (current pipeline setup) b) save 2D projections but also do interactive vis c) only interactive vis

The CLI for the program to run to do this also supports only using a subset of positions, which in theory could also be configurable, but I wouldn't favor it necessarily. In any case, for the interactive use, the user is going to need to invoke the CLI program anyway, so could specify directly the positions to use by that interface.

TLSteinacker commented 4 months ago

This looks really good. I like the idea that the interactive visualisation can be switched on/off in the config file as we might need it whenever we start a new experiment series with new oligo probes, but then the intensity values should remain quite comparable throughout all experiments with these oligos probes.