Project

General

Profile

Actions

Bug #4338

open

Template picking false positives on the sides of the micrographs

Added by Yacob Gomez-Llorente almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
07/26/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.2
Show in known bugs:
Workaround:

Description

Template particle picking is very often picking a lot of false positives on the sides of the micrographs.
This is a consistent error that I have seen in many micrographs in different sessions.
Take a look at tmplrun15 on 16jul22b session:
http://emgweb.nysbc.org/betamyamiweb/processing/multiimgassessor.php?expId=2334&pickId=26
There are two images that have been tested.
The image on the right has half of the particles aligned on the sides of the micrograph. There are all or most of all false positives and I will have to remove them manually.
I am not sure if it is a problem with the templates or a bug of the program. But I think you should take a look.


Files

temp_pick_bug.png (1.99 MB) temp_pick_bug.png Yacob Gomez-Llorente, 07/26/2016 08:29 AM
Actions #1

Updated by Yacob Gomez-Llorente almost 8 years ago

An update:
I am curious to see that it is only happening on the left and right sides of the micrographs. Not in the top and bottom ones.
Maybe that gives you a hint to figure out the problem.

Actions #2

Updated by Anchi Cheng almost 8 years ago

Probably has to do with the fact that the micrograph is a rectangle. Programs are fooled by that quite often.

Actions #3

Updated by Bridget Carragher almost 8 years ago

Try it out on a square image and see if that helps. Not sure why we have this edge effect though? SOmething in the original Alan Roseman codes? Neil, do you have a clue?

Actions #4

Updated by Neil Voss almost 8 years ago

Can we move this bug to Appion? Because it is under "NYSBC SEMC User Group", redmine is missing several features for me.

As far as the bug goes, it won't matter when you make a stack because those particles will automatically be removed.

I have never seen this when I pick rectangular images, but could be the issue.

Actions #6

Updated by Anchi Cheng almost 8 years ago

  • Project changed from 138 to Appion
  • Assignee set to Neil Voss
  • Target version set to Appion/Leginon 3.3
  • Affected Version set to Appion/Leginon 3.2
Actions #7

Updated by Neil Voss almost 8 years ago

Adding email chain:

Well we could do this but it is really an ugly hack to fix a bug in the template picking program caused by not taking rectangular images into account properly. It would be better to fix the actual bug.
In the meantime one thing you could do is to:
1. Pick using templates.
2. make a stack that will exclude the edged.
3. Convert the stack to picks again. Use these for the Relion etc. run.
This is also a hack but one that does not require any programming.
Best regards,
Bridget


One possible solution would be to include a "border threshold" to exclude particles that are picked at X pixels of the border of the micrograph. That would bypass the problem.
After/during particle picking but before particle extraction.
I could suggest that to Neil if you like.

Thanks,
Yacob


From: Gomez, Yacob

Good afternoon Bridget,
Thanks for taking your time to email me and taking care of this.

Let me explain how I see it:

They way I work is:
first, I treat the data with Appion after the data collection.
That is the easiest, fastest and most useful thing to do after collecting data with Leginon.
It allows me to process and analyze data on the fly, and adjust my data collection based on the results. Also little by little I am learning to use more features of the suite.

For several reasons I decide to switch from Appion to other EM programs after particle picking. You know most of them:
1. Appion allows particle picking based on templates, and that is something that is interesting for my projects.
2. But unfortunately, for later steps of the image processing, like 2D classification and all the following steps, the CPU usage is big and the users are not allowed to run those jobs on the computing resources of the NYSBC, at least not with a reasonable number of cores/job.
3. Install a package like Appion, which also wraps many other EM programs is complicated in an external institution cluster. But I am trying.
4. There is no feature that allows to remove automatically particles from the carbon with enough accuracy. I have to do it manually. So I use EMAN.
5. Relion is my first choice for data processing. I am familiar with the package, with its original suite (Xmipp) and the developer. Besides, it gives excellent results.
6. Relion likes to do its own gray-scale normalization, so particles must be extracted with Relion, as recommended by the developer.

Therefore, for my own preferences, but also for practical reasons (specially reasons 4 and 6), my possibilities are either pick the particles in Appion or not to do it, but the particle extraction must be performed by Relion.
At least it is strongly recommended by the developer in order to have the best results. Correct me if I am wrong.

So I read the answer from Neil, but I didn't consider that option because the reasons that I am explaining.

Thank you!

Yacob


From: Bridget Carragher []

Hi Yacob,
As you see various people are thinking about this. It is likely some issue of assuming that images are square - as indeed the always used to be! Anyway as Neil mentioned, this bug should not affect you as the stack maker should automatically ignore any parties that close to an edge of the image. Let us know if you want to discuss more.
Best regards,
Bridget

Actions #8

Updated by Neil Voss almost 8 years ago

Hi Yacob,

Can you upload an image and template of yours, so I can test it on my machine?

We do have "border threshold" to exclude particles that are picked at X pixels of the border of the micrograph. But appears to be not working in your case. The "X pixels" border is based on the diameter input for the template masking.

Actions #9

Updated by Neil Voss almost 8 years ago

Hi Yacob,

I can see this is for session 16jul22, so I can see if I get access to the image and test it out.

Actions #10

Updated by Yacob Gomez-Llorente almost 8 years ago

Hi guys,
thank you for taking your time and for your dedication to work on this.
I will try your suggestion Bridget if the problem is not solve the next time I pick particles with Appion.
I think you can access the files of the templates directly here, Neil:

/gpfs/appion/ygomez/16jul22b/extract/run1/origTemplate??.mrc

Also, for the micrographs, try anyone here:
/gpfs/leginon/ygomez/16jul22b/rawdata/16jul22b*enn-a3.mrc

Yacob

Actions

Also available in: Atom PDF