AMBER Archive (2008)

Subject: Re: AMBER: WARNING in readAmberTrajectory(): Set #7918 is corrupted (-)

From: Steven Winfield (saw44_at_cam.ac.uk)
Date: Wed Mar 26 2008 - 10:22:26 CDT


You could figure out how many lines there are per frame and then use the
 'head' and 'tail' unix commands to cut out the required part.

e.g:
head -n (lines/frame * 7918) infile | tail -n (lines/frame) > outfile

Steve.

Qi Yan wrote:
> It seems I can use "more" to view my trajectory, but there are all
> coordinate numbers in trajectory which is hard to read and find where is
> the error frame.
>
>
> -----Original Message-----
> From: owner-amber_at_scripps.edu on behalf of Da-Wei Li
> Sent: Tue 3/25/2008 12:08 PM
> To: amber_at_scripps.edu
> Subject: Re: AMBER: WARNING in readAmberTrajectory(): Set #7918 is
> corrupted (-)
>
> Hi,
>
> Do you use ASCII format? If so, you can use any TEXT editor(for
> example, MS word or an simple "more" command under linux) software to
> check whether there is an error or not. You can also split the file if
> it is because ptraj cannot handle large files (>4G).
>
> Here is the format of amber files: http://amber.scripps.edu/formats.html
>
>
>
> dawei
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu