Re: Combining trajectories

From: Bill Ross <>
Date: Wed 28 Mar 2001 09:35:54 -0800 (PST)

        Ptraj can combine trajectories with the following commands:
        trajin one.trj
        trajin two.trj
        [some operations like strip etc]
        trajout three.trj
        But this file will include the box size after each coord sets,
        which carnal and visualization programs don't like,

Carnal expects the box. There is also the NOBOX flag
for coord sets without it.

        I must admit, I could not get carnal combine trajectories as it was
        suggested in the examples:
        STREAM s1 a1.trj a2.trj a3.trj;
        due to segmentation fault...
No bug report received.. I wonder if this is an older version.

        PS: have you tried the unix merge command to combine big files or
            cat file1 file2 > file3
This won't work for mdcrd because the title lines will
be embedded.

Bill Ross
Received on Wed Mar 28 2001 - 09:35:54 PST
Custom Search