Skip to content

About

Desktop installers (Windows/macOS/Linux) for VLab4Mic, the no-code fluorescence-microscopy simulation toolkit.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

VLab4Mic logo

VLab4Mic Desktop App

Download and install VLab4Mic on your computer. A friendly toolkit to simulate fluorescence microscopy images, no coding required.

VLab4Mic website · Main project repository · Releases


What is VLab4Mic?

VLab4Mic is a virtual laboratory that lets you explore, test, and design imaging experiments before stepping into the microscope room. You build virtual samples from molecular structures, apply fluorescent labelling, and simulate image acquisition across microscopy modalities, all without writing code. It works equally well for newcomers learning the basics and for experienced researchers benchmarking probes, PSFs, or reconstruction methods.

With VLab4Mic you can:

  • Build virtual samples from PDB/CIF structures
  • Apply direct or indirect fluorescent labelling
  • Add structural variation and molecular crowding
  • Simulate image acquisition across multiple modalities
  • Run parameter sweeps to explore experimental conditions
  • Compare noiseless versus realistic acquisitions

What this repository gives you

This repository is the desktop-app distribution of VLab4Mic, built with LabConstrictor. It provides installers for Windows, macOS, and Linux, so you can run VLab4Mic locally with no Python setup.

Download and install

Download the installer for your system from VLab4Mic in the LabConstrictor App Centre or from the newest release on the Releases page. Then follow Install an app on the LabConstrictor site: it has the steps for each system, which Mac file to choose, and what to do when Windows or macOS warns you. You install once; then launch VLab4Mic from your desktop, Start Menu, or Applications folder.

How-to: run your first simulation

1. Install the app

Install VLab4Mic as described in Download and install.

You now have the VLab4Mic notebook app. To use it from napari or Fiji, continue below. The app must stay installed, because napari and Fiji only show its tools. Use apps inside napari, Fiji and QuPath explains how this works.

2. First simulation in napari

  1. Install the napari plugin (see Install the napari plugin), then choose Plugins > LabConstrictor tools in napari.

  2. Pick VLab4Mic, then Simulate imaging of a virtual sample. The form is the same as the notebook's: structure, labelling, imaging. The advanced settings are behind Show advanced settings; the form scrolls.

    The VLab4Mic form in napari

  3. Choose a modality (here STED, 8 particles) and press Run. The first run downloads the structure and can take a minute; later runs take from about 10 seconds (small structure, STED) to over a minute (nuclear pore, SMLM). Stopping a run takes effect between its stages. The line under the form tells you the result and the pixel size.

    A simulated STED image in napari

  4. You get two layers, VLab4Mic:simulated and VLab4Mic:noiseless. Every new run replaces them. To keep a result, rename its layer: a renamed layer is never replaced.

3. First simulation in Fiji

  1. Install the Fiji plugin (see Install the Fiji plugin).

  2. Choose Plugins > LabConstrictor > LabConstrictor Tools..., pick VLab4Mic and Simulate imaging of a virtual sample. The dialog has the same settings, grouped as in the notebook.

    The VLab4Mic dialog in Fiji

  3. Press OK. The simulated image opens in its own window, with the settings summary in a text window (the Log). Running again replaces the window; rename it to keep it.

    The result in Fiji

Common problems

What you see What to do
The installer window looks stuck Wait: installing takes several minutes. See Install an app.
napari or Fiji lists no VLab4Mic The app is not registered: install it (or reinstall), then press Rescan apps in napari or restart Fiji.
The first run is very slow It downloads the structure; the next run is faster. Keep Keep the worker running ticked in napari.
The image is only 10 x 10 pixels Widefield pixels are 100 nm and the default field is 1000 nm: raise Sample size XY under advanced settings.
A run fails Press Details... (napari) or read the Log window (Fiji); the last lines say why. Press Restart worker and try again.
Something else Open an issue with a screenshot and the text of Details....

Use VLab4Mic from napari and Fiji (experimental)

VLab4Mic's tools are listed in napari and Fiji, not in QuPath.

The installer also registers two VLab4Mic tools, so that napari and Fiji show them as forms and the command line can run them. To set up napari or Fiji, see Use apps inside napari, Fiji and QuPath.

Tool What it does
Simulate imaging of a virtual sample Builds a virtual sample of a structure (clathrin, nuclear pore, HIV capsid, T4 capsid, or your own .cif/.pdb file), labels it with a probe and images it with one of the five modalities. The form has the notebook's controls: sliders for the number of particles, the labelling efficiency, the wobble cone (0 = none) and the structural integrity (1 = intact), dropdowns for the structure, probe, fluorophore and modality, and orientation angles as comma-separated lists; advanced ones are folded away. Returns the simulated and the noiseless image (one frame), plus the pixel size.
Compare an image with a reference Measures the structural similarity (SSIM) and the Pearson correlation of two images after matching their pixel sizes. napari and Fiji do not read the pixel size from the image: enter the one the simulation reported. SSIM is high for sparse images even when they do not match, so read it together with the Pearson correlation.

Example from a terminal (use the Python of the installed app):

<install folder>/bin/python -m labconstrictor_tools run VLab4Mic simulate_sample modality=STED random_seed=1
<install folder>/bin/python -m labconstrictor_tools run VLab4Mic simulate_sample structure=7R5K probe=NPC_Nup96_Cterminal_direct modality=Widefield sample_size_xy_nm=3000

Not in the tools (use the notebook): probes made from a protein, residue or primary probe, new fluorophores, image-based placement of particles, several modalities or probes in one run, parameter sweeps, and multi-frame acquisitions.

Developers: src/vlab4mic_lc_tools holds the declarations, lc_tests/ the tests (see lc_tests/README.md).

Other ways to use VLab4Mic

Prefer not to install anything, or want full scripting control? The main VLab4Mic repository covers the alternatives:

  • Google Colab notebooks, no installation needed
  • Local Jupyter notebooks with the same widget interface
  • Python library for scripting and automation

Documentation and support

Citation

If you use VLab4Mic in your research, please cite:

@article{martinez_2026_vlab4mic,
  title={VLab4Mic: prediction of structural resolvability in super-resolution microscopy},
  author={Mart{\'i}nez, Dami{\'a}n and Saraiva, Bruno M. and Shakespeare, Tayla and
          Bates, Mark and Owen, Dylan M. and Leterrier, Christophe and
          Del Rosario, Mario and Henriques, Ricardo},
  year={2026},
  journal={bioRxiv},
  doi={10.64898/2026.06.02.729521},
  url={https://www.biorxiv.org/content/10.64898/2026.06.02.729521v1}
}

License

Released under the MIT License.

🔄 Automatic Template Updates

LabConstrictor can prepare pull requests that keep this repository aligned with improvements in the main template, including updates to GitHub Actions workflows. Complete the one-time automatic synchronization setup to enable these updates.

About

Desktop installers (Windows/macOS/Linux) for VLab4Mic, the no-code fluorescence-microscopy simulation toolkit.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages