Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Pastis have a parameter for specifying nucleus size? #50

Open
danextreme opened this issue Oct 15, 2019 · 3 comments
Open

Does Pastis have a parameter for specifying nucleus size? #50

danextreme opened this issue Oct 15, 2019 · 3 comments

Comments

@danextreme
Copy link

danextreme commented Oct 15, 2019

Thanks for this code. i really love it !
my question is,
Does Pastis have a parameter for specifying nucleus size?
There seems to be a parameter that specifies nucleus size in the config.py file. however in the algorithms.py file, it appears it is not utilized by any of the algorithms.
I also tried specifying the nucleus size in the config.ini file, but it results in an error ("TypeError: cannot create 'NoneType' instances").
I am wondering if it is possible to include a constraint that accounts for the nucleus of the cell when solving the 3D structures in Pastis, and specifically i want to know how to specify this parameter (with example, please).
Thanks in advance.

@NelleV
Copy link
Contributor

NelleV commented Oct 15, 2019

Hello,
If the nucleus size is available, the only element it would do is rescale the structure after the inference so that the resulting structure is at the correct scale. In practice, the inference is entirely identical at any scale.
But the problem you are facing with the option in the config.ini should not happen anyways… I'll check this out.

For now, I would recommend doing the inference without the nucleus size, and rescaling the structure afterwards.

@danextreme
Copy link
Author

Thanks for the quick response.

How does the nucleus_size parameter differ from the beta parameter for scaling the 3D structure?

Also what is the unit for the nucleus_size parameter? nanometers? micrometers?

Thanks in advance

@NelleV
Copy link
Contributor

NelleV commented Oct 31, 2019

Hi,
Sorry for the slow reply. As mentioned before, I think you should ignore this parameter, and rescale the resulting structure to match your prior knowledge of the nucleus_size.
Thanks,
Nelle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants