Giter Site home page Giter Site logo

ligand-binding-pathsampling's Introduction

Path sampling for ligand binding/unbinding kinetics

Using path sampling to study ligand binding/unbinding kinetics

ligand-binding-pathsampling's People

Contributors

jchodera avatar

Stargazers

Haotian Li avatar

Watchers

Joshua Adelman avatar James Cloos avatar Jan-Hendrik Prinz avatar Josh Fass avatar  avatar Chaya Stern  avatar David W.H. Swenson avatar Mehtap Isik avatar Rafal Wiewiora avatar  avatar

ligand-binding-pathsampling's Issues

openpathsampling errors

@jhprinz : I've created a very basic attempt at ligand unbinding for a simple CB7:B2 host-guest system (using openmmtools >=0.8.0):
https://github.com/choderalab/ligand-binding-pathsampling/tree/master/host-guest/cb7-b2

The current script dies with the error

[LSKI1497:ligand-binding-pathsampling/host-guest/cb7-b2] choderaj% python -i run-ops.py
Creating host-guest system...
Creating template...
Creating an integrator...
Selecting a platform...
Creating engine...
Creating a "hot" engine...
Initializing storage...
(store.engines[DynamicsEngine], 11, UUID('137432cf-5ab5-11e6-9087-000000000010'))
(store.engines[DynamicsEngine], 11, UUID('137432cf-5ab5-11e6-9087-000000000014'))
CPU
CPU
<openpathsampling.engines.openmm.topology.MDTrajTopology object at 0x119cf75d0>
Traceback (most recent call last):
  File "run-ops.py", line 111, in <module>
    storage.save([compute_contacts])
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/netcdfplus/netcdfplus.py", line 617, in save
    return [self.save(part, idx) for part in obj]
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/netcdfplus/netcdfplus.py", line 628, in save
    return store, store_idx, store.save(obj, idx)
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/netcdfplus/objects.py", line 1371, in save
    reference = super(UniqueNamedObjectStore, self).save(obj, idx)
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/netcdfplus/objects.py", line 1183, in save
    reference = super(NamedObjectStore, self).save(obj)
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/netcdfplus/objects.py", line 853, in save
    self._save(obj, n_idx)
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/storage/stores/collectivevariable.py", line 18, in _save
    self.add_diskcache(cv)
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/storage/stores/collectivevariable.py", line 96, in add_diskcache
    chunksize=chunksize
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/storage/stores/snapshot.py", line 939, in add_cv
    params = NetCDFPlus.get_value_parameters(cv(template))
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/chaindict.py", line 231, in __getitem__
    return self._post[items]
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/chaindict.py", line 244, in __getitem__
    return np.array(self._post[items])
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/chaindict.py", line 277, in __getitem__
    return self._post[[items]][0]
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/chaindict.py", line 72, in __getitem__
    rep = self._post[nones]
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/chaindict.py", line 65, in __getitem__
    results = self._get_list(items)
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/openpathsampling-0.9.0-py2.7.egg/openpathsampling/chaindict.py", line 360, in _get_list
    if self.scalarize_numpy_singletons and results.shape[-1] == 1:
AttributeError: 'tuple' object has no attribute 'shape'

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.