[gmx-users] header of xvg file from GMX Analysis Tools
Erik Marklund
erikm at xray.bmc.uu.se
Wed Jun 28 13:08:35 CEST 2006
Or simply use grep. The header lines all begin with strange characters I
think (@ and #), while the data lines begin with something like:
'^[[:space:]][[:space:]]*[0-9]'
It should be quite easy to script.
/Erik
On Tue, 2006-06-27 at 20:58 -0700, Arneh Babakhani wrote:
> Thanks, I'll give it a shot . . .
>
> Arneh
>
> Mark Abraham wrote:
> > Arneh Babakhani wrote:
> >> Sure . . . was just wondering if I could do it with an option in GMX
> >> . . . would be a lot easier to implement in the analysis scripts that
> >> I already have.
> >
> > Well I've never used Matlab, but I Googled "matlab reading files" and
> > the first hit tells me that the textread() function has the ability to
> > ignore some number of header lines that the user specifies. This seems
> > to do your job.
> >
> > Mark
> > _______________________________________________
> > gmx-users mailing list gmx-users at gromacs.org
> > http://www.gromacs.org/mailman/listinfo/gmx-users
> > Please don't post (un)subscribe requests to the list. Use the www
> > interface or send it to gmx-users-request at gromacs.org.
> > Can't post? Read http://www.gromacs.org/mailing_lists/users.php
> >
> _______________________________________________
> gmx-users mailing list gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
Erik Marklund, PhD Student, Molecular Biopcysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596, 75124 Uppsala, Sweden
phone: 46 18 471 4537 fax: 46 18 511 755
erikm at xray.bmc.uu.se
More information about the gromacs.org_gmx-users
mailing list