Dear Marco, Thanks a lot for your help. I've tryed a lot yesterday and, finally, had sucess in extracting my protein. Bests Tanos Hi- David was just indicating a way to do it all in one command line. EOF or any other symbol will feed the remaining input until the next EOF to the invoked program Try make_ndx -f topol.tpr and then trjconv -n and you'll see.