The RMF library provides support for reading and writing coarse grained molecular structures. See http://salilab.github.com/rmf/ for more information.