Closed erkinacar5 closed 2 years ago
I think the process was adapted to use the output generated by the stitching pipeline which generates an n5 output (exports.n5). Take a look at the metadata and the scale levels generated by the stitching in exports.n5 and try to generate a similar n5 container - in terms of channels and scale levels.
Thank you for the reply! I thought that might be the case and that's why I tried to run the workflow with demo_tiny as well. If I run it, I get a different error (it is looking for a c2 folder that wasn't created by stiching pipeline). You can see the command I ran for the export.n5 folder (from the stiching pipeline) that was made from demo_tiny in my initial post, as well as the error. I also want to mention that I can run the whole pipeline with demo_tiny.sh script, it is just that if I want to run the spots extraction from the stiching output of this successfully ran script, spots extraction still doesn't work (even though it worked within the demo_tiny.sh).
I hope my point is clear enough, if not please let me know and I will do my best to clarify.
By default spot_extraction workflow uses the dapi_channel parameter to tile the volume. By default the dapi_channel is 'c2'. That is why your tile command uses 'c2/s0'. For demo_tiny dataset that is adjusted and it is set to c1 because the tiny dataset only has 2 channels. You can override the dapi_channel parameter using '--dapi_channel
Thank you for the explanation. I see that I cannot pass the channels argument with the standalone spot extraction, but if they are not kept up-to-date then it makes sense. I just wanted to make sure if I am doing anything wrong or not, so I think we can say the issue is resolved. Once again thank you for your kind and patient explanation! I will stick to the main workflow if I can!
You should be able to pass --channels parameters to main-spots-extraction.nf. Have you tried? If that fails please let me know because it is a bug. Also if it is really important for you and/or you prefer using the standalone tools please let us know - Feel free to open a ticket and explain us your use case and we will try to address it. The reason we have not kept those tools up to date was because our internal users could just use the main pipeline and use the skip parameters.
Hello! I have successfully ran the demo_tiny.sh and I got the output files (and folders) as intended. Now, I want to use only the spot extraction (airlocalize) for my own files. I have run the following command:
The file was originally .tif file and we exported it as an n5 file using Fiji. However, this gives the following error:
Seeing this, I tried to run the workflow with the output from the tiny demo (since it ran everything, and stichting was done with an export of n5). However, I ran the command which was adapted from the examples folder, to get a file not found error. At this point I am a bit puzzled to figure out what I am doing wrong. Any help is appreciated. I am attaching the output from the tiny demo try, as well as the command I ran to prevent the text from getting too long :) error_demo_file.txt run_spot_extraction_default.sh.txt