[gmx-users] residue labeling in g_rmsf
tsjerkw at gmail.com
Fri May 24 09:29:55 CEST 2013
In bash you can also combine the residue names and such with the RMSF graph:
paste <(grep "^\(ATOM\|HETATM\)" structure.pdb | cut -b 17-26 | uniq)
<(grep "^[^#@]" rmsf.xvg)
To make it a bit more clear, the redirection <( ... ) treats the output of
the command between parentheses as an input file, so we paste the results
from two commands. The first command extracts the atom residue and chain
info and uniqifies, giving a list of residues. The second command strips
the metadata fram the xvg file.
Hope it helps,
On Thu, May 23, 2013 at 1:52 PM, Justin Lemkul <jalemkul at vt.edu> wrote:
> On 5/23/13 6:51 AM, Arunima Shilpi wrote:
>> Respected Sir
>> If i want my residue name to be labeled in the graph for g_rmsf ,how
>> should I proceed...
>> I used the following command
>> g_rmsf -f md_0_1.xtc -s md_0_1.tpr -res -o rmsf.xvg
> Add labels in your favorite plotting software. g_rmsf will not write
> residue names.
> Justin A. Lemkul, Ph.D.
> Research Scientist
> Department of Biochemistry
> Virginia Tech
> Blacksburg, VA
> jalemkul[at]vt.edu | (540) 231-9080
> gmx-users mailing list gmx-users at gromacs.org
> * Please search the archive at http://www.gromacs.org/**
> Support/Mailing_Lists/Search<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 gmx-users-request at gromacs.org.
> * Can't post? Read http://www.gromacs.org/**Support/Mailing_Lists<http://www.gromacs.org/Support/Mailing_Lists>
Tsjerk A. Wassenaar, Ph.D.
More information about the gromacs.org_gmx-users