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

Feature request: Gemmi alternative to 'NOISE' option of PDBSET #326

Open
drlemmus opened this issue Jul 11, 2024 · 2 comments
Open

Feature request: Gemmi alternative to 'NOISE' option of PDBSET #326

drlemmus opened this issue Jul 11, 2024 · 2 comments

Comments

@drlemmus
Copy link

I'm currently using the NOISE function in PDBSET to perturb the atomic coordinates in a structure model and I'm looking for an mmCIF way to do that (without scripting that in Python). Could you add such an option in the command-line gemmi?

@wojdyr
Copy link
Member

wojdyr commented Jul 11, 2024

The noise distribution is uniform rather than normal?

I can add it quickly. But I'm thinking where to put it. So far I've been cramming everything into the convert subcommand. I have other things from PDBSET there: BFACTOR and transforming/shifting. Perhaps they should be in a separate subcommand. If that subcommand is only modifying properties of atoms, all the rest of the file could be kept intact.

I'll look into it when I finish what I'm doing now, in about a week.

@drlemmus
Copy link
Author

I had a a look at the descriptions of the RANMAR algorithm. It seems to be uniform, I guess that is why it can also be used in Freeflag. Perhaps that is why PDBSET has a cap on the amplitude, it becomes too unrealistic if you set the amplitude too high, but with small amplitudes the distribution doesn't matter.
Sinsce adding noise is not associated with format conversion indeed a separate subcommand would be sensible.

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

No branches or pull requests

2 participants