e2spt_refinemulti_new.py --ptcls spt_07/aliptcls3d_05.lst --niter 10 --maxres 15 --nref 5 --loadali3d --parallel thread:40
My result is:

They look almost the same.
2) I have tried the e2spt_classify_byproj.py to do PCA-based classification. It seems that the result is better than the result using e2spt_refinemulti_new.py, because the number of particles in each class is distinguished. In addition, when I open the classes_sec_05_00.hdf, I find that the three results presented are markedly different.

However, I feel confused about the HDF files the program has generated, like classes_sec_xx_00.hdf. And I don't know how to review and refine the result. (I cannot open the aliptcls_xx_00_xx.hdf). Could someone explain it in detail?
My command is:
e2spt_classify_byproj.py --path=spt_07 --ncls=5 --sym=c1 --shrink=1 --threads=40 --write3d --verbose=9 --lp=25 --saveali
My result is:

Thanks for your kind reply in advance!
Zhen Huang
ZheJiang University
On Nov 1, 2022, at 2:20 AM, 黄振 <zhenhu...@gmail.com> wrote:
Dear EMAN2 Community,I am trying to do classification to differentiate between good particles and bad particles, and my expected result is that there would be one or two classes containing lots of bad particles while the other classes contains screened particles, so that I can get better result and higher resolution structure after refinement.However, I did not get a desirable result by using the e2spt_refinemulti_new.py and e2spt_classify_byproj.py. I am still confused about the classification methods and here are my questions:1) When I use the e2spt_refinemulti_new.py to do classification on my refined result to exclude bad particles, the particles are divided into five classes but the number of particles in each class is almost equivalent. So I am wondering if the parameters I set are inappropriate.My command is:
e2spt_refinemulti_new.py --ptcls spt_07/aliptcls3d_05.lst --niter 10 --maxres 15 --nref 5 --loadali3d --parallel thread:40
My result is:
<截屏2022-11-01 15.06.57.png>
They look almost the same.
2) I have tried the e2spt_classify_byproj.py to do PCA-based classification. It seems that the result is better than the result using e2spt_refinemulti_new.py, because the number of particles in each class is distinguished. In addition, when I open the classes_sec_05_00.hdf, I find that the three results presented are markedly different.
<WechatIMG1856.jpeg>
However, I feel confused about the HDF files the program has generated, like classes_sec_xx_00.hdf. And I don't know how to review and refine the result. (I cannot open the aliptcls_xx_00_xx.hdf). Could someone explain it in detail?
My command is:
e2spt_classify_byproj.py --path=spt_07 --ncls=5 --sym=c1 --shrink=1 --threads=40 --write3d --verbose=9 --lp=25 --saveali
My result is:
<截屏2022-11-01 15.18.38.png>
Thanks for your kind reply in advance!
Zhen Huang
ZheJiang University
--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2
---
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/aaa6e759-65bc-40ef-a88e-03c6f6746a4cn%40googlegroups.com.
<截屏2022-11-01 15.06.57.png><WechatIMG1856.jpeg><截屏2022-11-01 15.18.38.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/ca45306c-895f-4abe-a757-8074f229c1ban%40googlegroups.com.
On May 24, 2023, at 6:39 PM, David Boyer <davb...@g.ucla.edu> wrote:
Hello all,
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/f8f1f01a-bccf-4259-b6cb-7cbea455b862n%40googlegroups.com.
On May 25, 2023, at 1:29 PM, David Boyer <davb...@g.ucla.edu> wrote:
Thank you for your answer.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/f50ce374-5c8b-4121-83e1-27821be34bdfn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "EMAN2" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eman2/f3YFCEo0mJI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/6BB06BB0-9FB3-43F1-8E50-3D9FD38EDEF1%40gmail.com.
On May 25, 2023, at 2:23 PM, David Boyer <davb...@g.ucla.edu> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOMZPBYmPjCWDDqGeuk3Od5EBcbw8rwb%3Ds%3D5_EgfrQR4Wg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/0E269859-B97B-4996-AE3B-1E385E6F8D1C%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOOJ7MkX2uJUFKPAWkNgByFM6QF-ABcsJf9QBi5%2Bkp-9Kg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAO_0xqEuPcQHHy5wM1P%2Bi_k7NqmGFuumcJ_ycxMCUtR06pogiA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOML7ss8KMvPg1Z%3DzeZAMdE-bZrWMJVj%2Bxy2fVOYUPrjUg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAO_0xqF6uVDc_Vo2%2BTYNuHrzR6ywGhSUZXkrtHmkRxkFo2gBEw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOM9oD-%2BHU3Mp8j9L8qJ6H2Z%3DYBfjwSLrj%3D2YjnEohGKWA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAO_0xqFZAEJv4Fp%2BfisS%3DDoaufS%2BfRSQEXSJweEQQvubqF06nQ%40mail.gmail.com.
On Jul 20, 2023, at 6:37 PM, David Boyer <davb...@g.ucla.edu> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOMS2g%2BBgRbqzMM_JxTheEHxfy2Q5qK8WujFEP2nvpZhFQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOMS2g%2BBgRbqzMM_JxTheEHxfy2Q5qK8WujFEP2nvpZhFQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/8C0C44E2-8798-4797-A24B-00B4AA2C4C10%40bcm.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/087e4c69-c22a-41db-9b2c-e5197730444an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/12A5E41A-CE79-4FCA-AF97-0AFDA18E2668%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOPHzK8DbO%2BaFrg5TDvSRgga_sXgtGsZ3c7gr0u9sWo0%3Dw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAO_0xqGiEv8upTegZBb9QrbirguC%2B4P7JKA_o8ksCMYkr2dDkg%40mail.gmail.com.
On Jul 28, 2023, at 3:02 PM, David Boyer <davb...@g.ucla.edu> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjONpWFBiPPx_Fv92s0w9L5k4RrOFbFJt0HnTPfbu3kJjEA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/4B1EF2E8-616C-452F-BF2D-2F2EE86057AC%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjONNYP5zZG0ne1jHi-b8%3D%2BgOj-kmvoChGKWfBVDwzo2thg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/D3E2150D-8D1C-4744-A5F3-26974ED5BEE0%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOPLSjOhUqMNk_WcVoLDNkVqBN5fSsM2E8VK7W6_J1QnQA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/BDA30893-3048-4E24-88A4-82FAEDCA1121%40bcm.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjONT%3Dpz-9OVhnPM3ZP8-fPWRKMsCu%3Dw8cWNwCn2R9-i1fw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/C4E4EA5E-F142-44DA-BA0A-1CF3396414AD%40bcm.edu.
On Aug 17, 2023, at 5:08 PM, David Boyer <davb...@g.ucla.edu> wrote:
Hi Steven,
No problem, I hope everything went well!
In the meantime, I started playing with e2gmm.py. I have a few questions on that.
I initially ran a job (17k subtomos, ~25 tilts each) using pretty default parameters. I had 124 total gaussian blobs (I think ~80 positive and ~40 negative).
And several other ~default parameters (shown in the attachment pg. 1). I ran into the problem you call out in the YouTube video of having too many points along a straight line - so I followed your advice and re-ran "Train GMM" with 40 iterations and 0.3 Model Perturb (as opposed to 10 and 0.02 (?)). The points have spread out quite well now (see attachment), but there are still a few areas where there is a straight line in the plot.
I'm wondering, should I try to train the same run further? And, in general, if I click "Train GMM" more than once for a given run - does that start from scratch or does it start from where a previous training left off?
For instance, in my example, I think the training may not need another 40 iterations (perhaps 50 iterations with model perturb 0.3 would have done the job). Should I train for 10 more iterations, or 50?
Further, you mention that you may have the model perturb set high to get the points spread out at the beginning, but then lower the model perturb (?) and run more iterations to improve things. I wasn't sure how to go about doing that sort of iterative process. Is that all in the same "run", starting with high model perturb and # of iterations and then running more iterations with a lower model perturb? Or with different runs?
Thanks in advance,
David
On Tue, Aug 15, 2023 at 6:58 AM Ludtke, Steven J. <slu...@bcm.edu> wrote:
Hi David, sorry for the slow reply. Son is heading off to college for the first time today and things have been a bit hectic. I do see your point here. Personally, I would probably just use the resulting maps as a set of starting models for a new run rather than "continuing", but you're right that it seems like there should be a way to continue. May need to ask Muyuan about what he intended here...
--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2
---
You received this message because you are subscribed to a topic in the Google Groups "EMAN2" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eman2/f3YFCEo0mJI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/6049BB15-C1CD-4531-92ED-DB443CA6AC6E%40bcm.edu.
On Aug 18, 2023, at 3:36 PM, David Boyer <davb...@g.ucla.edu> wrote:
Thanks Steven - very helpful!
I was also thinking, using the little intuition I have, that I a higher positive:negative ratio might be better. I'll play with this.
I'm wondering, is it possible to run Train GMM from the command line? My workstation is good for using the GUI and short- to medium-load jobs, but it might be nice to leverage one of our cluster nodes for Train GMM.
David

--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2
---
You received this message because you are subscribed to a topic in the Google Groups "EMAN2" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eman2/f3YFCEo0mJI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/22A5289D-FDD8-4423-B668-2179B4B3EC49%40bcm.edu.

On Aug 18, 2023, at 8:17 PM, David Boyer <davb...@g.ucla.edu> wrote:
I also have a follow-up question.
I went ahead and built 4 sets using k-means clustering (w/ axes 2-5). (The first two sets seen on the right were manually made from the cluster of particles at the top of the plot). I then hit "build map" for all sets. Sets 2-5 have a lot of particles (~25 tilts per subtomo) and they give artificially high resolution estimates and correspondingly very "oversharpened"-looking maps. The pixel size right now is 3.032 and box size is 84 (everything is bin2 at the moment), resolution of 2.2 is even beyond the Nyquist. Any idea what's going on? Thinking of running gold-standard refinement after saving each set to see what things look like - open to other suggestions as well.
Thanks!
<image.png>
On Fri, Aug 18, 2023 at 4:35 PM David Boyer <davb...@g.ucla.edu> wrote:
Got it - I'll keep things simple for now then.
I ran 60 iterations with perturb 0.3 and was able to eliminate lines. What do you think of the result and would you advise running more iterations with a lower perturb value?
<image.png>
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjONvrXzJQ5uAK-Y-MjNbY78zeJmRK2cbKU0vNx9dmCxbww%40mail.gmail.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/7000FC6E-4515-41B1-AFF9-C99949EEBAAC%40bcm.edu.
On Aug 19, 2023, at 4:29 PM, David Boyer <davb...@g.ucla.edu> wrote:
Hi Steven,
I updated to EMAN 2.99.52 ( GITHUB: 2023-08-19 13:08 - commit: 040cadc1f ). I had been using the continuous build on our cluster as per Muyuan's suggestion to deal with a different problem, but forgot to do so on my own workstation.
However, I still see the same problem with the resolution estimates during build map. I know these resolution estimates and maps aren't definitive, but they do seem helpful for analyzing gmm results. I wonder if there is something else I might be doing wrong?
Also, I do indeed see clustering in other plots comparing different axes. For instance, the one below. However, I see another line popping up in this view. So I should perhaps run some more training iteration (I'm at 60 total iterations with --perturb 0.3 at the moment). The variability when hovering over different regions does seem interesting, i.e., there do appear to be different morphologies of the structure around a more or less consistent central core. I put a second plot below as well that shows a pretty similar pattern. None of the other axis views are that radically different from the patterns I've sent here so far. From what I can tell, the variability seems legitimate and worth pursuing further until proven otherwise. Very cool program btw!
<image.png>
<image.png>
--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2
---
You received this message because you are subscribed to a topic in the Google Groups "EMAN2" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eman2/f3YFCEo0mJI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/AEC65793-8943-4138-B4F5-D11341A51DB1%40bcm.edu.
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOP_UmbpXKJ71aVyVBY2%2Bjf8xteS6mZGBvjaEKkNvDom6g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/D74C097C-2415-4DE8-900C-5D03949AD03E%40bcm.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAE6qjOPQv8qwEyOneVFAjYm3B6MMc6BBQz-EkfE_092%2B8E7Z2Q%40mail.gmail.com.