Hi Mannan,
> I am using Ross walker tutorial for clustering the pdbs from my traj.
>
>
> I could do till clustering, but while analsying I have problem with
> awk.
> When I use
> >awk -f extract_centroids.awk Centroid_6"
>
> I am getting the following error . please help me overcome this error
> awk: extract_centroids.awk:1: BEGIN{b0=2;}
> ' in expressionntroids.awk:1: ^ invalid char '
Double check that the extract_centroids.awk file is in Unix text file format
if you are running on Linux.
dos2unix extract_centroids.awk
On a MAC I have no idea what file format it should be.
I just tried this on my machine (RHEL4) with the following:
rpm -qa | grep awk
gawk-3.1.3-10.1
And it appears to work fine. What version of awk (gawk) are you using?
All the best
Ross
/\
\/
|\oss Walker
| Assistant Research Professor |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
|
http://www.rosswalker.co.uk |
http://www.wmd-lab.org/ |
Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jan 14 2010 - 12:30:02 PST