PT - JOURNAL ARTICLE AU - David W.H. Swenson AU - Jan-Hendrik Prinz AU - Frank Noe AU - John D. Chodera AU - Peter G. Bolhuis TI - OpenPathSampling: A Python framework for path sampling simulations. II. Building and customizing path ensembles and sample schemes AID - 10.1101/351510 DP - 2018 Jan 01 TA - bioRxiv PG - 351510 4099 - http://biorxiv.org/content/early/2018/06/20/351510.short 4100 - http://biorxiv.org/content/early/2018/06/20/351510.full AB - The OpenPathSampling (OPS) package provides an easy-to-use framework to apply transition path sampling methodologies to complex molecular systems with a minimum of effort. Yet, the extensibility of OPS allows for the exploration of new path sampling algorithms by building on a variety of basic operations. In a companion paper [Swenson et al 2018] we introduced the basic concepts and the structure of the OPS package, and how it can be employed to perform standard transition path sampling and (replica exchange) transition interface sampling. In this paper, we elaborate on two theoretical developments that went into the design of OPS. The first development relates to the construction of path ensembles, the what is being sampled. We introduce a novel set-based notation forthepath ensemble, which provides an alternative paradigm for constructing path ensembles, and allows building arbitrarily complex path ensembles from fundamental ones. The second fundamental development is the structure for the customisation of Monte Carlo procedures; how path ensembles are being sampled. We describe in detail the OPS objects that implement this approach to customization, the MoveScheme and the PathMover, and provide tools to create and manipulate these objects. We illustrate both the path ensemble building and sampling scheme customization with several examples. OPS thus facilitates both standard path sampling application in complex systems as well as the development of new path sampling methodology, beyond the default.