Hello,
I have followed the guide provided in the cryosparc tools documentation for particle picking with crYOLO. However, I am encountering an issue when trying to inspect my particle picks. Specifically, I am unable to view the power histogram or any picked particles on my micrographs. I am wondering if anyone has experienced similar issues and if there are any solutions to this problem?
I was playing around with this and had the same issue, namely not being able to interactively select particles in the Inspect Particles Job.
To work around this I modified the provided script to set values for both “pick_stats/ncc_score” and “pick_stats/power” which then brought up the heat map in the interactive Inspect Particles Job. The value I assigned to “pick_stats/ncc_score” and “pick_stats/power” was the figure of merit provided by cryolo which I took from “boxfiles/CRYOSPARC/cryosparc.star”. Probably it would be smarter to get values from the CBOX files but I did not spend time to parse these files.
Below I paste the code I used but it is not tested so use with caution. I also added a tqdm progress bar so you have to have tqdm installed in your conda enviroment,
Thank you for reporting and apologies for the delay. We’ve made a fix to Inspect Picks such that it is able to display particles even when the input dataset does not contain pick_stats. This will be released in the next version of CryoSPARC.
Thank you for that. I tried it myself and it works great.
Also, I think that the merit numbers are the same between CBOX and cryosparc.star, so It might not be necessary to parse CBOX files.
Inspect Picks works for particles imported from Relion’s particle.star and crYOLO v1.9.6’s cryosparc.star files, which only have location and no pick_stats information.
Inspect Picks does not show particles for imports from the latest crYOLO v1.9.7 cryosparc.star, which contains (partial) pick_stats data providing ncc_score but zero values/floats for power, template_idx and angle_rad.
I guess the issue may be the partial pick_stats data is not read properly by the Inspect Picks job?