OnWorks favicon

gmx-trjcat - Online in the Cloud

Run gmx-trjcat in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gmx-trjcat that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gmx-trjcat - Concatenate trajectory files


gmx trjcat [-f [<.xtc/.trr/...> [...]]] [-n [<.ndx>]] [-demux [<.xvg>]]
[-o [<.xtc/.trr/...> [...]]] [-tu <enum>] [-xvg <enum>]
[-b <time>] [-e <time>] [-dt <time>] [-[no]vel]
[-[no]settime] [-[no]sort] [-[no]keeplast]
[-[no]overwrite] [-[no]cat]


gmx trjcat concatenates several input trajectory files in sorted order. In case of double
time frames the one in the later file is used. By specifying -settime you will be asked
for the start time of each file. The input files are taken from the command line, such
that a command like gmx trjcat -f *.trr -o fixed.trr should do the trick. Using -cat, you
can simply paste several files together without removal of frames with identical time

One important option is inferred when the output file is amongst the input files. In that
case that particular file will be appended to which implies you do not need to store
double the amount of data. Obviously the file to append to has to be the one with lowest
starting time since one can only append at the end of a file.

If the -demux option is given, the N trajectories that are read, are written in another
order as specified in the .xvg file. The .xvg file should contain something like:

0 0 1 2 3 4 5
2 1 0 2 3 5 4

The first number is the time, and subsequent numbers point to trajectory indices. The
frames corresponding to the numbers present at the first line are collected into the
output trajectory. If the number of frames in the trajectory does not match that in the
.xvg file then the program tries to be smart. Beware.


Options to specify input files:

-f [<.xtc/.trr/...> [...]] (traj.xtc)
Trajectory: xtc trr cpt gro g96 pdb tng

-n [<.ndx>] (index.ndx) (Optional)
Index file

-demux [<.xvg>] (remd.xvg) (Optional)
xvgr/xmgr file

Options to specify output files:

-o [<.xtc/.trr/...> [...]] (trajout.xtc)
Trajectory: xtc trr gro g96 pdb tng

Other options:

-tu <enum> (ps)
Unit for time values: fs, ps, ns, us, ms, s

-xvg <enum>
xvg plot formatting: xmgrace, xmgr, none

-b <time> (-1)
First time to use (ps)

-e <time> (-1)
Last time to use (ps)

-dt <time> (0)
Only write frame when t MOD dt = first time (ps)

-[no]vel (yes)
Read and write velocities if possible

-[no]settime (no)
Change starting time interactively

-[no]sort (yes)
Sort trajectory files (not frames)

-[no]keeplast (no)
Keep overlapping frames at end of trajectory

-[no]overwrite (no)
Overwrite overlapping frames during appending

-[no]cat (no)
Do not discard double time frames

Use gmx-trjcat online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands