High Level Operations in IMP

The purpose of this page is to discuss common "high level" operations in IMP which it might be useful to stick somewhere. Operations should be common and have relatively few parameters so that it makes sense to write a function which encapsulates the broiler plate code.

Particles bond_chain(Particles chain, Float k);

void restraint_internal_bonds(MolecularHiearchyDecorator, Float stiffness);

Particles create_protein_representation(MolecularHierarchyDecorator d, unsigned int num_spheres, Float stiffness= infinity)

* Create a molecular hierarchy with an appropriate number of particles as leaves for the protein based on the number of amino acids. The leaves will have radii chosen appropriately and the DomainDecorator information set.

MolecularHierarchyDecorator create_protein(unsigned int number_of_residues, Float resolution, std::string name);

* Set up optimal collision detection given the collection of spheres, rigid bodies and hierarchies and the leaf pair score to use. Each particle passed would be tested against all the appropraite decorators.

void setup_excluded_volume(PairScore *ps, Particles ps);

IMP: high_level_operations (last edited 2009-03-07 00:06:07 by flute)