Hello,
I am trying to use NBLAST to measure the similarity between dotprops made from exporting neurons from FlyWire and from light microscopy data. I would appreciate any help on navigating through the code.
I exported FlyWire neuron skeletons as an SWC file through Python by using fafbseg.flywire.skeletonize_neuron(segment ID) and navis.write_swc. I converted skeleton nrrd files from LM to dotprops through R by using dotprops("my_skeleton.nrrd", k=3). I then downloaded the dotprop as a CSV file by using write.csv(dp,file="my_dotprop.csv").
I am trying to run an NBLAST using the resulting SWC file as the query and the CSV file as the target. I am having trouble using the navis.make_dotprops function with the SWC file. It works fine when I try with a CSV file. Also, when I try NBLASTing with another CSV file as the query with the navis.nblast function instead, I get a message reading "'NoneType' object is not iterable".
How can I solve these issues? Is there a way to convert between SWC and CSV, or a way to export FlyWire neurons as a CSV? How do I go about solving the "'NoneType' object is not iterable" error? I would be happy to receive any advice on this matter.
Thank you,
Amanda Abusaif