Comments (14)
We can use mdtraj
under the hood, but it should be encapsulated and hidden inside of each class that uses it.
from yank.
Can you give examples of which things you think should be private?
from yank.
Still working my way through the rest of the code.
I'm making changes as I go, so hold off on changes now. I'm not addressing this issue---just reformatting the docstrings and whitespace as I understand the code.
from yank.
I agree with the point 1 and 3, but I think that the ability to output an mdtraj object is a highly useful public-facing function. For example, it allows us to dump coordinates to an array of file formats.
from yank.
I'd prefer to stick to OpenMM-only interfaces for this release. We can go mdtraj-crazy in the next one, but we should support mdtraj for everything then. I just don't want inconsistent interfaces.
(For example, right now, ComplexSystemBuilder
has a coordinates_as_quantity
property, an openmm_positions
, and a positions
property, which all return different things.)
from yank.
(By contrast, the other SystemBuilder
objects lack coordinates_as_quantity
, have have the two other properties.)
from yank.
This was totally fine for a first pass, of course! But it's making it more difficult to debug.
from yank.
Do openmm
and mdtraj
use different Topology
formats?
from yank.
They are slightly different, as we have made some enhancements to facilitate various things. There is a function traj.top.to_openmm()
that gives you a pure-openmm version.
from yank.
Also, is the only way to create an MDTraj
object to read from disk? We have the positions in memory and an OpenMM
Topology
object, why would we need to write to disk and then read again?
from yank.
That should be possible.
from yank.
top_mdtraj = md.Topology.from_openmm(top)
traj = md.Trajectory(xyz, top_mdtraj)
from yank.
Thanks!
from yank.
To my knowledge this is done.
from yank.
Related Issues (20)
- Yank analysis error HOT 7
- Issues about the calculation of solvation free energy in organic solvent
- Cannot apply the restraint. No receptor-ligand complex could be found. HOT 1
- generate_free_energy() fails because standard state correction is missing from the reporter HOT 1
- Migrate thermodynamic trailblazing to openmmtools
- Yank installation Python3.10 import error HOT 1
- a error about antecamber HOT 5
- The periodic box size has decreased to less than twice the nonbonded cutoff
- Free energy of solvation for charged ligand
- Load() missing one argument
- pymbar 4 compatibility HOT 1
- I got the following error. HOT 6
- multichain receptor for 'restrained_receptor_atoms'
- Issue with Ligand Coordinates During Absolute-Binding Free Energy
- NetCDF upstream changes breaking Yank (and can't update OpenMMtools)
- Failures due to API changes in `openmmtools` HOT 3
- problem during absolute binding energy calculation HOT 3
- support for python 3.10? HOT 2
- Issue in Yank's calls to OpenMMTools MultiStateReporter HOT 1
- Question: How to measure simulation time and how much is necessary?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yank.