Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 994 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 994 Bytes

msmb_data

Testing and example data for MSMBuilder. The data is available under the creative commons attribution license (CC-BY). Please cite:

Installation

conda

This package is designed to be used via conda

conda install msmb_data

Manual installation

Copy the msmb_data directory to /path/to/python/prefix/share/msmb_data

Using

You should probably use the methods in msmbuilder to load this data. To do it by hand, try something like this

import mdtraj
import sys
import glob
traj_fns = glob.glob("{}/share/msmb_data/alanine_dipeptide/trajectories-*.???"
                      .format(sys.prefix))
top_fn = "{}/share/msmb_data/alanine_dipeptide/alanine_dipeptide.pdb".format(sys.prefix)
trajs = [mdtraj.load(tfn, top=top_fn) for tfn in traj_fns]