scipion-em / scipion-em-relion

Plugin to use Relion SPA programs within the Scipion framework
GNU General Public License v3.0
3 stars 0 forks source link

Multibody refinement not working... #191

Closed pconesa closed 3 years ago

pconesa commented 4 years ago

It probably is worth doing this en scipion3 but just in case. We were getting this error:

Is a validation error.

https://github.com/scipion-em/scipion-em-relion/blob/devel/relion/protocols/protocol_multibody.py#L264

For some reason (probably saving time) we comment multi-body refinement test in buildbot. We are going to rescue it and see if it works.

Should it be working? multibody

azazellochg commented 4 years ago

Why / how are you using scipion 2 with devel plugin branch?

pconesa commented 4 years ago

Nope, this is not devel branch is released code: Scipion2 + scipion-em-relion at pypi for Scipion2.

pconesa commented 4 years ago

I guess the right link is this one: https://github.com/scipion-em/scipion-em-relion/blob/support/relion/protocols/protocol_multibody.py#L273

azazellochg commented 4 years ago

Tests files are not for 3.1, so the buildbot test will fail. Scipion 3 + relion 3.1 the protocol starts but I have not waited for it to finish. I won't be fixing scipion 2 anymore, so any volunteering is welcome.

pconesa commented 4 years ago

We are testing relion multibody refinement..... Scipion3 - relion 3.0.0b1.

We are getting: ERROR: not all necessary variables defined in _optics.star file: rlnPixelSize, rlnVoltage and rlnSphericalAberration. Make sure to convert older STAR files anew in version-3.1, with relion_convert_star.

The refinement protocol was a 3.0 one.

Is this not compatible?

azazellochg commented 4 years ago

The error says you are using relion 3.1 To go to 3.1 you need to either convert and reimport particles or try assign optics protocol and then try multibody.

Best regards, Grigory


Grigory Sharov, Ph.D.

MRC Laboratory of Molecular Biology, Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge CB2 0QH, UK. tel. +44 (0) 1223 267228 <+44%201223%20267228> e-mail: gsharov@mrc-lmb.cam.ac.uk

On Fri, Jul 17, 2020 at 8:25 AM Pablo Conesa notifications@github.com wrote:

We are testing relion multibody refinement..... Scipion3 - relion 3.0.0b1.

We are getting: ERROR: not all necessary variables defined in _optics.star file: rlnPixelSize, rlnVoltage and rlnSphericalAberration. Make sure to convert older STAR files anew in version-3.1, with relion_convert_star.

The refinement protocol was a 3.0 one.

Is this not compatible?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/scipion-em/scipion-em-relion/issues/191#issuecomment-659919388, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVBPJXQMVXOPHMVKMDDKKLR374FXANCNFSM4OLJGOJA .

delarosatrevin commented 4 years ago

Grigory, I think that we are converting the particles and we should generate a proper optics table. With the latest changes, there is no need for assign-optics protocol.

On Fri, Jul 17, 2020 at 9:53 AM Grigory Sharov notifications@github.com wrote:

The error says you are using relion 3.1 To go to 3.1 you need to either convert and reimport particles or try assign optics protocol and then try multibody.

Best regards, Grigory


Grigory Sharov, Ph.D.

MRC Laboratory of Molecular Biology, Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge CB2 0QH, UK. tel. +44 (0) 1223 267228 <+44%201223%20267228> e-mail: gsharov@mrc-lmb.cam.ac.uk

On Fri, Jul 17, 2020 at 8:25 AM Pablo Conesa notifications@github.com wrote:

We are testing relion multibody refinement..... Scipion3 - relion 3.0.0b1.

We are getting: ERROR: not all necessary variables defined in _optics.star file: rlnPixelSize, rlnVoltage and rlnSphericalAberration. Make sure to convert older STAR files anew in version-3.1, with relion_convert_star.

The refinement protocol was a 3.0 one.

Is this not compatible?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub < https://github.com/scipion-em/scipion-em-relion/issues/191#issuecomment-659919388 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABVBPJXQMVXOPHMVKMDDKKLR374FXANCNFSM4OLJGOJA

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scipion-em/scipion-em-relion/issues/191#issuecomment-659938094, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAM6WFCVIQ3O5DXCOSUQ5TR377O3ANCNFSM4OLJGOJA .

pconesa commented 4 years ago

I'm confused.

Should it work with particles from relion3.0?

If not.....can it be validated to get intructions , otherwise this is going to be a frequent issue?

azazellochg commented 4 years ago

ok, there are few issues here:

1) an original error in support branch for scipion2.0/relion30 (I don't think @delarosatrevin and me can support this any longer) 2) scipion3.0 error when going from 3d ref in relion30 to mb in relion31 (we have to check this) 3) scipion3.0 mb protocol for relion 3.1 (it's working as you recently confirmed on slack) 4) test for mb and relion31 (test files need updating if you plan to run it in the buildbot @pconesa )

pconesa commented 4 years ago

Thanks!

I think 1 can be discarded

2 I guess is useful for users with data in relion30 that con to continue in relion 3.1 but you know the details and if is worth supporting it or not. If not I'd, at least , inform users about it if possible to detect a relion30 refine as input of relion3.1 mb.

3 great, seems to work!

  1. Is up to you if you want build it to test it. Now is excluded due to lack of 2 GPUs, but we will probably get an update of the worker with 2 GPUs.
delarosatrevin commented 4 years ago

What is the status of this issue? @pconesa could you try this again?

azazellochg commented 4 years ago

@delarosatrevin we need to check (2)