From: Carsten Olbrich (ocarsten_at_googlemail.com)
Date: Fri Dec 05 2008 - 01:30:17 CST

Hi Anirban,

this should work like this:

set sel [ atomselect top "protein"]
set ind [ $sel get index ]
set fout [open "indexfile.ind" "w"]
puts $fout $ind
close $fout

Cheers,
Carsten

On Fri, Dec 5, 2008 at 7:07 AM, Anirban Ghosh <anirbanz83_at_yahoo.co.in> wrote:
> Hi ALL,
>
> I have a solvated system of protein and ions. I want to generate an index
> (.ind) file for only the protein to use in catdcd. How can I generate this
> .ind file? Please let me know the commands. Any suggestion is welcome.
>
> Regards,
>
>
>
> Anirban Ghosh
> Grade Based Engineer
> Bioinformatics Team
> Centre for Development of Advanced Computing (C-DAC)
> Pune, India
>
>
> ________________________________
> Add more friends to your messenger and enjoy! Invite them now.