Thank you for the reply Daniel. I want to have something similar to the rigid body mover, except when the RigidBody object is moved, objects which are related to it by a Cn symmetry operation are moved in such as was as to preserve the symmetry, just as SymmetrySampler samples when using domino.
I have tried this by adding an overloaded RigidBodyMover constructor which takes in a Particles*, and by creating a new 'SymmerticalRigidBodyMover' class in the core model. However, after re-compiling, _IMP_core.so doesn't contain the new functions and crashes when I try to import IMP into python. I've also tried creating a new module containg my desired Mover class, but it doesn't even compile.
Thanks, Iain
________________________________________ From: imp-users-bounces@salilab.org [imp-users-bounces@salilab.org] On Behalf Of imp-users-request@salilab.org [imp-users-request@salilab.org] Sent: 12 March 2011 20:00 To: imp-users@salilab.org Subject: IMP-users Digest, Vol 10, Issue 2
Send IMP-users mailing list submissions to imp-users@salilab.org
To subscribe or unsubscribe via the World Wide Web, visit https://salilab.org/mailman/listinfo/imp-users or, via email, send a message with subject or body 'help' to imp-users-request@salilab.org
You can reach the person managing the list at imp-users-owner@salilab.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of IMP-users digest..."
Today's Topics:
1. Re: Symmetry (Daniel Russel)
----------------------------------------------------------------------
Message: 1 Date: Sat, 12 Mar 2011 11:58:04 -0800 From: Daniel Russel drussel@gmail.com Subject: Re: [IMP-users] Symmetry To: Help and discussion for users of IMP imp-users@salilab.org, Keren Lasker kerenlasker@gmail.com Message-ID: 2093665D-E853-471A-9F1D-2641669FC29E@gmail.com Content-Type: text/plain; charset=us-ascii
On Mar 11, 2011, at 12:05 AM, Iain Moal wrote:
> Hi, > I am new to IMP so please fogive naievity! > Is it possible to use IMP::domino::SymmetrySampler as a Monte Carlo mover? If not, how could I impliment it as a mover. It isn't evident how I could impliment this using MoverBase, nor what the list of attributes are for. I'm unclear on exactly what you would want as your move set? Picking a random choice from a discrete set? Chances are that you want to use the X,Y,Z coordinate keys as the float attributes list when using the MoverBase (you can get those from IMP::core::XYZ::get_coordinate_keys()). If you then store a list of coordinate values in your Mover, you can pick one of those for each particle to be moved and do IMP::core::XYZ(p).set_coordinates(new_coordinates) to change them.
Does that help?
> Also, when reconstructing em maps, such as in particles2density, I get this warning: > WARNING could not find parameters for radius:8.16743 > EM map is using default params > > What does this mean, are the default params ok? Keren will have to answer this.
Daniel
------------------------------
_______________________________________________ IMP-users mailing list IMP-users@salilab.org https://salilab.org/mailman/listinfo/imp-users
End of IMP-users Digest, Vol 10, Issue 2 ****************************************
This communication is from Cancer Research UK. Our website is at www.cancerresearchuk.org. We are a registered charity in England and Wales (1089464) and in Scotland (SC041666) and a company limited by guarantee registered in England and Wales under number 4325234. Our registered address is Angel Building, 407 St John Street, London, EC1V 4AD. Our central telephone number is 020 7242 0200.
This communication and any attachments contain information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender and delete the email and destroy any copies of it.
E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so.