<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 13/09/2011 6:11 PM, Shay Teaching wrote:
<blockquote
cite="mid:CAG3b_-gzvJD_syK+YdtK8wsMXeQ8Ck-LniE3stWG-o08ej-ErA@mail.gmail.com"
type="cite">
<div dir="ltr">Ok I tried that and it doesn't work:<br>
There's a fundamental difference between chains/no-chains
topology, namely the existence of peptide bond between chains,
and the different protonation state on the termini.<br>
In the chain-based topology there are several termini, and less
peptide bonds.<br>
<br>
This causes the no-chains-tpr to have different number of atoms,
and different protonation states.<br>
I tried using tpbconv to make a backbone-tpr, but it still gets
me to segmentation fault.<br>
</div>
</blockquote>
<br>
The idea behind Justin's original solution is still right. You need
to provide two sets of corresponding atoms and those sets have to
have the same size. So you need to construct two index groups that
suit what you actually want to compare - say, the backbone atoms
that are common to the two forms. That will require some thought,
and playing around with make_ndx (or a text editor). Then use those
to create subset .tpr and trajectory files as Justin suggested. Each
form is likely to need its own customized index group to make the
subset that is correct for it.<br>
<br>
Mark<br>
<br>
<blockquote
cite="mid:CAG3b_-gzvJD_syK+YdtK8wsMXeQ8Ck-LniE3stWG-o08ej-ErA@mail.gmail.com"
type="cite">
<div dir="ltr">
<br>
So thanks, but I don't think it would work.<br>
-SA<br>
<br>
<div class="gmail_quote">On Mon, Sep 12, 2011 at 11:47 PM, Shay
Teaching <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:shay.teaching@gmail.com">shay.teaching@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div dir="ltr">Thanks, I'll try that, and post again if it
works.
<div>
<div class="h5">
<br>
<br>
<div class="gmail_quote">On Mon, Sep 12, 2011 at 6:20
PM, Justin A. Lemkul <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:jalemkul@vt.edu" target="_blank">jalemkul@vt.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt
0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;">
<div><br>
<br>
Shay Teaching wrote:<br>
<blockquote class="gmail_quote" style="margin:
0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left: 1ex;">
When I try to work the command on a small
portion of the backbone it seems to work just
fine. But when I try the entire backbone
(which is composed of several _separate_
chains) I am getting segmentation fault.<br>
Any workaround for that, so I can use the
entire backbone?<br>
</blockquote>
<br>
</div>
Are there chain identifiers separating the
proteins? I don't know if that would cause the
problem, but it's possible. In that case, I'd
suggest you start with a coordinate file and
topology without chain identifiers and generate a
new .tpr file (and then take the backbone atoms
only with tpbconv).<br>
<br>
-Justin<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt
0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;">
Thanks again,<br>
-Shay
<div>
<div><br>
<br>
On Mon, Sep 12, 2011 at 5:29 PM, Justin A.
Lemkul <<a moz-do-not-send="true"
href="mailto:jalemkul@vt.edu"
target="_blank">jalemkul@vt.edu</a>
<mailto:<a moz-do-not-send="true"
href="mailto:jalemkul@vt.edu"
target="_blank">jalemkul@vt.edu</a>>>
wrote:<br>
<br>
<br>
<br>
Shay Teaching wrote:<br>
<br>
Hi all,<br>
(Gromacs 4.0.7): I am trying to make
rms matrix between one Wt<br>
trajectory and one mutant trajectory
using the following command:<br>
<br>
g_rms -f wt.xtc -f2 mutant.xtc -s
wt.tpr -m -fit rot+trans -n<br>
wt_backbone.ndx<br>
<br>
The file wt_backbone.ndx contains the
backbone of the protein<br>
(Backbone indices are identical
between wt and mutant).<br>
<br>
The result is that I am getting a
well deserved error saying<br>
that wt.xtc and mutant.xtc has
different number of atoms (the<br>
tpr itself):<br>
Fatal error:<br>
Second trajectory (76128 atoms) does
not match the first one<br>
(76129 atoms)<br>
<br>
So the question becomes: Is there a
(convenient) way to produce<br>
rms-matrix between wt and mutant?<br>
Or perhaps circumvent this problem in
some other way?<br>
<br>
<br>
Use trjconv to write out new trajectories
containing only backbone<br>
atoms of each protein, then use tpbconv
to write a .tpr file with<br>
only backbone atoms in it (using index
groups, if necessary). Then<br>
run g_rms again with these new
trajectories and .tpr file.<br>
Everything should match if the indices
are chosen correctly.<br>
<br>
-Justin<br>
<br>
-- ==============================__==========<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
MILES-IGERT Trainee<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
</div>
</div>
jalemkul[at]<a moz-do-not-send="true"
href="http://vt.edu" target="_blank">vt.edu</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span> <<a
moz-do-not-send="true" href="http://vt.edu"
target="_blank">http://vt.edu</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span>> | <a
moz-do-not-send="true"
href="tel:%28540%29%20231-9080"
value="+15402319080" target="_blank">(540)
231-9080</a><br>
<tel:%28540%29%20231-9080>
<div><br>
<a moz-do-not-send="true"
href="http://www.bevanlab.biochem."
target="_blank">http://www.bevanlab.biochem.</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span>__<a
moz-do-not-send="true"
href="http://vt.edu/Pages/Personal/justin"
target="_blank">vt.edu/Pages/Personal/justin</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span><br>
<<a moz-do-not-send="true"
href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin"
target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span>><br>
<br>
==============================__==========<br>
-- gmx-users mailing list <a
moz-do-not-send="true"
href="mailto:gmx-users@gromacs.org"
target="_blank">gmx-users@gromacs.org</a><br>
</div>
<mailto:<a moz-do-not-send="true"
href="mailto:gmx-users@gromacs.org"
target="_blank">gmx-users@gromacs.org</a>>
<div><br>
<a moz-do-not-send="true"
href="http://lists.gromacs.org/__mailman/listinfo/gmx-users"
target="_blank">http://lists.gromacs.org/__mailman/listinfo/gmx-users</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span><br>
<<a moz-do-not-send="true"
href="http://lists.gromacs.org/mailman/listinfo/gmx-users"
target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span>><br>
Please search the archive at<br>
<a moz-do-not-send="true"
href="http://www.gromacs.org/__Support/Mailing_Lists/Search"
target="_blank">http://www.gromacs.org/__Support/Mailing_Lists/Search</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span><br>
<<a moz-do-not-send="true"
href="http://www.gromacs.org/Support/Mailing_Lists/Search"
target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span>> before
posting!<br>
Please don't post (un)subscribe requests to
the list. Use the www<br>
interface or send it to <a
moz-do-not-send="true"
href="mailto:gmx-users-request@gromacs.org"
target="_blank">gmx-users-request@gromacs.org</a><br>
</div>
<mailto:<a moz-do-not-send="true"
href="mailto:gmx-users-request@gromacs.org"
target="_blank">gmx-users-request@gromacs.org</a>>.
<div><br>
Can't post? Read <a moz-do-not-send="true"
href="http://www.gromacs.org/__Support/Mailing_Lists" target="_blank">http://www.gromacs.org/__Support/Mailing_Lists</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span><br>
</div>
<div> <<a moz-do-not-send="true"
href="http://www.gromacs.org/Support/Mailing_Lists"
target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span>><br>
<br>
<br>
</div>
</blockquote>
<div>
<div>
<br>
-- <br>
========================================<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
MILES-IGERT Trainee<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a moz-do-not-send="true"
href="http://vt.edu" target="_blank">vt.edu</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span> | <a
moz-do-not-send="true"
href="tel:%28540%29%20231-9080"
value="+15402319080" target="_blank">(540)
231-9080</a><br>
<a moz-do-not-send="true"
href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin"
target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span><br>
<br>
========================================<br>
-- <br>
gmx-users mailing list <a
moz-do-not-send="true"
href="mailto:gmx-users@gromacs.org"
target="_blank">gmx-users@gromacs.org</a><br>
<a moz-do-not-send="true"
href="http://lists.gromacs.org/mailman/listinfo/gmx-users"
target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span><br>
Please search the archive at <a
moz-do-not-send="true"
href="http://www.gromacs.org/Support/Mailing_Lists/Search"
target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span> before posting!<br>
Please don't post (un)subscribe requests to
the list. Use the www interface or send it to
<a moz-do-not-send="true"
href="mailto:gmx-users-request@gromacs.org"
target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can't post? Read <a moz-do-not-send="true"
href="http://www.gromacs.org/Support/Mailing_Lists"
target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><span
style="padding-right: 16px; width: 16px;
min-height: 16px;"></span><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>