5 from __future__
import print_function
15 tfn = IMP.create_temporary_file_name(
"pdb",
".rmf")
17 print(
"File name is", tfn)
20 rh = RMF.create_rmf_file(tfn)
38 rh = RMF.open_rmf_file_read_only(tfn)
48 print(
"Try running hdf5_display or hdf5_show on", tfn)
atom::Hierarchies create_hierarchies(RMF::FileConstHandle fh, kernel::Model *m)
void show_molecular_hierarchy(Hierarchy h)
Print out the molecular hierarchy.
void save_frame(RMF::FileHandle file, unsigned int, std::string name="")
void load_frame(RMF::FileConstHandle file, unsigned int frame)
A decorator for a particle with x,y,z coordinates.
void add_hierarchies(RMF::NodeHandle fh, const atom::Hierarchies &hs)
Functionality for loading, creating, manipulating and scoring atomic structures.
void read_pdb(base::TextInput input, int model, Hierarchy h)
Hierarchies get_leaves(const Selection &h)
Support for the RMF file format for storing hierarchical molecular data and markup.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
Class for storing model, its restraints, constraints, and particles.