VMD-L Mailing List
From: Josh Vermaas (vermaas2_at_illinois.edu)
Date: Tue Jan 21 2014 - 16:16:13 CST
- Next message: Subbarao Kanchi: "VMD text mode commands"
- Previous message: Axel Kohlmeyer: "Re: select and save every X atom"
- In reply to: Steven Neumann: "select and save every X atom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Steven,
If you really want every sixth atom, that part is actually not too bad.
Your atom selection would be "serial % 6 == 0", which would return a
selection containing every 6th atom in a file. However, I don't think
this is what you meant, as that would in no way be equivalent to "serial
1 to 6". Can you describe better what you are trying to accomplish?
-Josh Vermaas
On 01/21/2014 03:01 PM, Steven Neumann wrote:
> Dear Users,
>
> Would you please recommend any script which once read the pdb file
> will save e.g. every 6th atom in a separate file? using atomselect
> serial 1 to 6 or serial 12 to 18 etc. is not helps as I have over 400
> K atoms :(
>
> Please advise,
>
> Steven
>
- Next message: Subbarao Kanchi: "VMD text mode commands"
- Previous message: Axel Kohlmeyer: "Re: select and save every X atom"
- In reply to: Steven Neumann: "select and save every X atom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]