VMD-L Mailing List
From: Paweł Kędzierski (pawel.kedzierski_at_pwr.wroc.pl)
Date: Fri Mar 18 2011 - 15:17:31 CDT
- Next message: Xiaogang Wang: ""non-grid" volumetric data"
- Previous message: Ajasja Ljubetič: "Re: script for projection of c-alpha atom cordinates on xy plane"
- In reply to: ban arn: "script for projection of c-alpha atom cordinates on xy plane"
- Next in thread: ban arn: "Re: script for projection of c-alpha atom cordinates on xy plane"
- Reply: ban arn: "Re: script for projection of c-alpha atom cordinates on xy plane"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On 18.03.2011 18:58, ban arn wrote:
> Dear VMD users
>
> I would like to know is there any script available in vmd or from
> others sources for projection of c-aplha atom coordinates on xy plane.
>
Did you mean filtering out CA atoms and replacing z coordinate with 0
(or whatever)? E.g.:
awk --posix '/^ATOM (.){6} CA /{printf("%.46s%8.3f\n",$0,0);}' your_file.pdb
Or if you filtered out CA previously (within VMD, File->Save
coordinates, selection "protein and name CA") it would be enough to say:
awk '{printf("%.46s%8.3f\n", $0, 0);}' your_file.pdb
This works with gnu awk.
HTH
Pawel
> Any help is greatly appreciated.
>
> Many Thanks
> Balaji
>
- Next message: Xiaogang Wang: ""non-grid" volumetric data"
- Previous message: Ajasja Ljubetič: "Re: script for projection of c-alpha atom cordinates on xy plane"
- In reply to: ban arn: "script for projection of c-alpha atom cordinates on xy plane"
- Next in thread: ban arn: "Re: script for projection of c-alpha atom cordinates on xy plane"
- Reply: ban arn: "Re: script for projection of c-alpha atom cordinates on xy plane"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]