Valis Optomisation and batch processing #62
-
|
Hello, this discussion is regarding optimising VALIS, and I had a couple of questions: Adding to this, the intention was to get VALIS to register a batch of slides. I was considering having a folder for each slide with each round of CyCIF in it and thenwrite a for loop in python. However I'm using the docker environment which requires an input and output directory which would change for each slide. Looping through docker instances feels rather inefficient. Cheers, Justin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @kriegy98, Regarding your 2nd question, does the code in #61 help? The docker container should just launch a Python interpreter, and so I think you could use that code (or something like it) to register your CyCIF rounds. If that won't work, let me know and we can try to figure out how to accomplish your goal. Best, |
Beta Was this translation helpful? Give feedback.
Hi @kriegy98,
Valis relies heavily on libvips, which supports quite a few formats, including WSI formats that can be read by OpenSlide (libvips does support ome-tiff, even though it's not on the list). As such, any of the formats compatible with libvips will be read in very quickly. Unfortunately, czi isn't one of those formats. In that case, valis has to build the libvips Image by reading it in tiles via Bioformats, which unfortunately takes a bit longer to execute.
Regarding your 2nd question, does the code in #61 help? The docker container should just launch a Python interpreter, and so I think you could use that code (or something like it) to register your CyCIF rounds. If that won't …