Comments (12)
What exactly does "formatted text" mean? Is there a specific format in mind, like the xyz format?
from mdtraj.
AMBER can write trajectories in a couple of different formats:
- Formatted text output (concatenated atom positions in a fixed text format):
http://ambermd.org/formats.html#trajectory - NetCDF format (preferred now):
http://ambermd.org/netcdf/nctraj.html
from mdtraj.
John, do you have a small short traj on each of the formats that you could upload to be part of the test suite?
-Robert
Sent from my iPhone.
On Sat, Apr 20, 2013 at 2:40 PM, jchodera [email protected]
wrote:
AMBER can write trajectories in a couple of different formats:
- Formatted text output (concatenated atom positions in a fixed text format):
http://ambermd.org/formats.html#trajectory- NetCDF format (preferred now):
http://ambermd.org/netcdf/nctraj.html
Reply to this email directly or view it on GitHub:
https://github.com/rmcgibbo/mdtraj/issues/27#issuecomment-16711834
from mdtraj.
I'm happy to generate some new examples of multiple trajectory formats for the same small system (e.g. alanine dipeptide) once we get our Amber license updated here at MSKCC, but I'll send along something I've dug up in the meantime.
from mdtraj.
Yeah, the trans only need to be a dozen frames long or so, this would be just for correctness testing, not performance benchmarks. And if you have the identical trajectory in two or more formats that would be optimal for testing.
-Robert
Sent from my iPhone.
On Sat, Apr 20, 2013 at 2:58 PM, jchodera [email protected]
wrote:
I'm happy to generate some new examples of multiple trajectory formats for the same small system (e.g. alanine dipeptide) once we get our Amber license updated here at MSKCC, but I'll send along something I've dug up in the meantime.
Reply to this email directly or view it on GitHub:
https://github.com/rmcgibbo/mdtraj/issues/27#issuecomment-16712098
from mdtraj.
Agreed. I'll see if I can produce this on one of the machines we have access to where Amber is installed.
from mdtraj.
@jchodera: I've added NetCDF support in #31.
from mdtraj.
@jchodera: do you really want formatted text support? The format is garbage.
from mdtraj.
@rmcgibbo: I agree the AMBER formatted text trajectory format is awful, but it's been around since the early days of AMBER in the 1990s. There's a ton of existing data in that format, and it takes extra effort to force AMBER to write NetCDF trajectories instead. So I think we're stuck supporting it, but should encourage people to use the NetCDF trajectory format whenever possible.
It could be worse---there's also a binary ("unformatted") output option that isn't even platform-portable! That one we should ignore---it's just a disaster and nobody uses it.
from mdtraj.
If it's something you'd like, feel free to prepare a pull request. I started writing a reader, but I don't think it correctly deals with variable box sizes.
from mdtraj.
OK, I'll try to find some time to tackle that over the weekend.
It's a pain. The number of box dimension variables has to be autodetected
based on the number of atoms.
Best,
John
On Wed, May 1, 2013 at 1:35 PM, Robert McGibbon [email protected]:
If it's something you'd like, feel free to prepare a pull request. I
started writing a reader https://gist.github.com/rmcgibbo/5498132, but
I don't think it correctly deals with variable box sizes.—
Reply to this email directly or view it on GitHubhttps://github.com/rmcgibbo/mdtraj/issues/27#issuecomment-17304887
.
John D. Chodera
Assistant Faculty Member, Computational Biology
Memorial Sloan-Kettering Cancer Center
email: [email protected]
office: 646.888.3400
fax: 510.280.3760
mobile: 415.867.7384
url: http://www.choderalab.org
from mdtraj.
ok. done with last pr.
from mdtraj.
Related Issues (20)
- ValueError: invalid literal for int() with base 16: HOT 1
- Build docs in CI HOT 9
- Build docs HOT 2
- mdtraj 1.9.9 and python 3.11.3 HOT 7
- Lammpstrj bounding box origin (shifts) in case os "scaled" coordinates representation HOT 2
- shrake-rupley error quits instead of raising error HOT 4
- xrdlib deprecation warning
- mdconvert dcd -> xtc breaks time field HOT 3
- Get velocity of atom from HDF5 trajectory. HOT 1
- Compiling in PPC64le HOT 2
- RMSD method HOT 3
- Support for velocities (& forces) in trajectory I/O HOT 9
- MDTraj reader not compatible with latest GSD
- bond angle computation results in 'nan' HOT 4
- Memory leak in NetCDF reporter HOT 2
- Drop old hard-coded version checks
- Compatibility with CMS topology files
- Memory issues when appending with XTCReporter HOT 16
- Update project status / add contributor's guide HOT 2
- Overwriting an Existing HDF5Reporter
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 mdtraj.