Re: [AMBER] Trajectory Clustering

From: Gannett, Peter <pgannett.hsc.wvu.edu>
Date: Fri, 26 Oct 2012 08:47:03 -0400

If I understand the question, you want to know what frame a specific structure corresponds to, right? If so, you can just get the rmsd of the structure to the trajectory and search the output file for the value 0.00000. Then, use the associated frame number to calculate the time.

Pete
________________________________________
From: David Condon [dec986.gmail.com]
Sent: Friday, October 26, 2012 8:43 AM
To: AMBER Mailing List
Subject: Re: [AMBER] Trajectory Clustering

Hi Chiara,

another useful way is to use the AMBER's 2drms feature.

I use

trajin mdall.mdcrd 1 20000 40
> 2drms out 2drms.tmp raw mass :1-4 time 4.0
>

Then you can use this awk script:

#execute by $awk -f addblanks.awk < file.in > file.out
> /^[[:blank:]]*#/ {next} # ignore comments (lines starting with #)
> NF < 3 {next} # ignore lines which don’t have at least 3 columns
> $1 != prev {printf "\n"; prev=$1} # print blank line
> {print} # print the line
>

and then go into GNUPlot and type

gnuplot>set pm3d map
> gnuplot>set pm3d corners2color c1
>
gnuplot>splot "./graph"
>

and then you can see clearly which structures have high/low RMSD to one
another.

-Dave

On Fri, Oct 26, 2012 at 8:39 AM, Gustavo Seabra <gustavo.seabra.gmail.com>wrote:

> Hi Chiara,
>
> I don't think there is such information. What you can do is, based on the
> relative number of structures in each cluster, estimate the percentage of
> the total time spent sampling that area of space. To see the members, you
> can just look at the output trajectories in a program like VMD.
>
> Gustavo Seabra
> Professor Adjunto
> Departamento de Química Fundamental
> Universidade Federal de Pernambuco
> Recife - PE - Brasil
> +55-81-2126-7450 x5023
>
>
>
> On Oct 26, 2012, at 9:08 AM, Chiara Pallara wrote:
>
> > Hi,
> > I clustered the frames of my trajectory into 10 clusters with the
> > command cluster of ptraj module.
> > I applied the averagelinkage algorithm on the alpha carbons of my sistem
> > using this command:
> >
> > cluster out [outfile] representative pdb average pdb averagelinkage
> > clusters 10 rms .CA
> >
> > Now I would to know the MD times of the each cluster representative and
> > its members. Do you know where I can find this information? I did not
> > find nothig about in the output file.
> > Thanks
> > Chiara
> >
> >
> > WARNING / LEGAL TEXT: This message is intended only for the use of the
> > individual or entity to which it is addressed and may contain
> > information which is privileged, confidential, proprietary, or exempt
> > from disclosure under applicable law. If you are not the intended
> > recipient or the person responsible for delivering the message to the
> > intended recipient, you are strictly prohibited from disclosing,
> > distributing, copying, or in any way using this message. If you have
> > received this communication in error, please notify the sender and
> > destroy and delete any copies you may have received.
> >
> > https://console.mxlogic.com/redir/?8VddBMQsCzBASUqejhOYYCyYr014amXWoxaBzZAHYjt-hojuv78I9CzATsTGF3UBO5mUm-waRkxYlke00CTS3hOyrhpvhjvvoj76SmjobZ8Qg6BIg6NAq1pFtd409zEzZFRymd40AuTivNB0yrDUvf5zZB0SyrodK6zAQsLf8KcC-C23
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > https://console.mxlogic.com/redir/?zAQSn3hOqemjrxEVd7bPOqbNI06vaAWtGF3UGEs01MjlS67OFek7qVGF3UCXYyMCY-ehojd79KVLli7NbAaJMJZ0lGF3UGEs01dLI6zB4SyO-yC--MCedIICMnWhEwdbowdz8Q2PiWq80j7h7XjH4Iq818ZKA_za14TfM-ub7Xa1JcSMrsd79EVuuhspdLGjw
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> https://console.mxlogic.com/redir/?4sCCOUqejhOOrsd79EVuujhudw0PVkDjJl8v5l3w0e2qKMM-l9OwXndl8v4TvAm4TDNOb2pEVdTdWGg-9sxlK5LE2Jl8v5l3w09JZwQsECQmnQkTTS4NNJBAS2_id41Fr41Ip6wmqnjh02oW8_qtoBzh097JQDYpg8CV-7PNo_pgdICS3rxEVd7bPObz9J7CD6niiUZUK
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://console.mxlogic.com/redir/?hOqrbxEVd7b9JMQsCzBVVd5US03fBiteRkxYlke00U9GX33VkDa3JsRkxYjt-hojuv78I9CzATsTGF3UBO5mUm-waRkxYlke00CTS3hOyrhpvhjvvoj76SmjobZ8Qg6BIg6NAq1pFtd409zEzZFRymd40AuTivNB0yrDUvf5zZB0SMrodK6zAQsLf8KcCP3ir3UTRPRd7

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Oct 26 2012 - 06:00:12 PDT
Custom Search