Open ShihongWu opened 11 months ago
Sorry, --output-channels only accepts one list of channel numbers and applies this to all cycles. I think you will need to omit --output-channels
so all channels are written, then post-process the ome-tiff to delete the channels you don't want to keep. We wrote a script to do this, which you can obtain here: https://github.com/labsyspharm/mcmicro/blob/master/roadie/scripts/recyze.py
It requires the python modules numpy, tifffile, zarr, and ome_types.
Hi Jeremy and Yu-An @jmuhlich @Yu-AnChen, Thanks for your time and help! The package is wonderful. Now I could stitch and merge my CellDIVE tif images! It's just when I tried to specify the output channels for each cycle, I ran into an error. I have 12 cycles and 10th cycle (cycle 9 if starts from cycle 0) only contains 3 channels (dapi fitc and cy3), the rest 11 cycles contain all 4 channels. For each cycle, I only want specific channels as the output ones. So I used the --output-channels argument like this:
But when it hit the 10th cycle, it gave me this error:
I was wondering if it's because ashlar only recognise the first --output-channels argument and use the first argument for every cycle. How should I specify the output channels here? Thanks for your time and assistance! Much appreciated!
Best wishes,
Shihong