On 4/22/12 3:55 PM, Lara Bunte wrote:
Hi Justin

You wrote:

 >If you do not specify any output file, the default is this .xvg file that
tells you how many atoms satisfied the >criterion specified in the selection
string. If you want a coordinate file, it's a two-step process.
 >
 >1. Run g_select using the -on flag to produce an output index file of the
atoms that satisfy your criterion.
 >
 >2. Use trjconv with that index file in and your coordinate file to generate
the structure with those atoms.

I used the command:

g_select -s molecule_in_water.pdb -select '"Close to ISO" resname SOL and within
0.5 of resname ISO' -on

And got the size.xvg file and an index.ndx file. Than I want to make my
coordinate file by

trjconv -n index.ndx

and got the error

Can not open file:
traj.xtc

I have no traj.xtc file.


If you do not specify any other options, trjconv (like all Gromacs programs) searches for default file names (listed in the manual and/or the help information printed with -h). You need to provide explicit file names for -s and -f in this case, and perhaps -o to choose an appropriate file name and format if for some reason you do not wish to use the default name.

-Justin

--
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
MILES-IGERT Trainee
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================
--
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to