GithubHelp home page GithubHelp logo

rjdkmr / g_coordndata Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 160 KB

This program can be used to extract coordinates from the GROMACS MD Trajectory and to create GROMACS MD Trajectory from coordinate data.

License: GNU General Public License v3.0

C 100.00%

g_coordndata's Introduction

##g_coordNdata


###About

This program can be used to extract coordinates from the GROMACS MD Trajectory. The output format of coordinate data file is as follows:

[number of frames]       [number of atoms]                          
X11 Y11 Z11 X12 Y12 Z12 X13 Y13 Z13 ... ... ... ... ... X1n Y1n Z1n 
X21 Y21 Z21 X22 Y22 Z22 X23 Y23 Z23 ... ... ... ... ... X2n Y2n Z2n 
X31 Y31 Z31 X32 Y32 Z32 X33 Y33 Z33 ... ... ... ... ... X3n Y3n Z3n 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
Xm1 Ym1 Zm1 Xm2 Ym2 Zm2 Xm3 Ym3 Zm3 ... ... .. ... ... Xmn Ymn Zmn  

where "m" is number of frames and "n" is number of atoms. This file could be used in other program or scripts for MATLAB, R or Python for further analysis and coordinates transformation.

The program could read coordinates data from an external file with the above described file format to create a GROMACS format MD trajectory. This is useful when after analysis and coordinates transformations visualization of trajectory is required.


###Requirements

To compile and install, GROMACS libraries libgmx, libmd, libgmxana are required.


###Download

git clone https://github.com/rjdkmr/g_coordNdata

###Installation

cd g_coordNdata
mkdir build
cd build
cmake ..  -DGMX_PATH=/opt/gromacs
make
make install

Directory /opt/gromacs should contains include and lib directories. If these directories are in seprate locations, use followings:

cmake ..  -DGMX_LIB=/path/to/lib -GMX_INCLUDE=/path/to/include

If fftw library libfftw3f.so or libfftw3f.a are not present in standard locations:

-DFFTW_LIB=/path/to/fftw3/lib

###Usage

g_coordNdata -h

g_coordndata's People

Contributors

rjdkmr avatar

Watchers

 avatar

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.