-
Couldn't load subscription status.
- Fork 61
Description
Hi MCMICRO team,
While running MCMICRO on PhenoImager .qptiff data, we encountered a recurring issue where mcquant throws the following error:
Exception: The number of channels in markers.csv doesn't match the image
We were able to resolve this by manually extracting the channel names from the OME-XML metadata embedded in the .ome.tif file (e.g., EVA_TMA_Scan1.er--unmicst.ome.tif) using tifffile and writing them into a markers.csv file with the format:
marker_name
AQP1
Axl
CD11b
...
This step is a bit manual (especially with large batches). Is there any way to:
Include a utility step or an optional MCMICRO module that:
- Parses the OME-TIFF header metadata,
- Extracts channel names,
- Automatically generates
markers.csv(or equivalent), - Ensures alignment with the input image.
This would help:
- Avoid pipeline crashes due to mismatched or forgotten markers.
- Automate what is currently a side-script and prone to inconsistencies.
Let me know if something like this already exists or if you'd suggest a better solution.
Thanks so much for your help!
Best,
Pranav Motarwar
[email protected]