±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 2353  |  »Ø¸´: 0

À¶×ÏÉ«²£Á§ÐÄ

гæ (СÓÐÃûÆø)

[ÇóÖú] VMD·ÖÎö²Ð»ùRMSD

¿´ÍøÉÏ˵ÓÃVMD×Ô´øµÄrmsd-fullthrottle.tclÎļþ¾Í¿ÉÒÔ¶ÔÖ¸¶¨²Ð»ù¼ÆËãRMSD£¬µ«ÊÇÕâ¸öÎļþ²»ÊǺÜÃ÷°×£¨¶Ô³ÌÐòÒ»µã¶¼²»Ã÷°×£©£¬ÏëÎÊÒ»ÏÂÓÐûÓÐÓÃÕâ¸ö³ÌÐò¼ÆËãRMSDµÄ£¿ÎÒ¶ÔÕâ¸öÎļþÀïÃæÓ¦¸ÃÐÞ¸Äʲô£¿»òÕßÄܲ»Äܸø¸ö¾ßÌå²½Ö裿һµãÍ·Ð÷¶¼Ã»ÓУ¡

# This script contains a procedure called rmsd_residue_over_time that calculates the average RMSD for each residue in a selection over all frames in a trajectory. The procedure is called as:
# rmsd_residue_over_time mol sel_resid
#where mol is the molecule in VMD and sel_resid is a list of the residue numbers in that selection.

#You can use the procedure for any residue or list of residues. Here, as an example, we will make a selection for all residues in the protein. Note that this will take a long time to calculate:

set sel_resid [[atomselect top "protein and alpha"] get resid]

#The procedure is presented below.  It also sets the B value to the value calculated, so you can color the protein by RMSD.  The call for the procedure is at the end of the file.

proc rmsd_residue_over_time {{mol top} res} {

    # use frame 0 for the reference
    set reference [atomselect 1 "protein" frame 0]
    # the frame being compared
    set compare [atomselect $mol "protein"]
    #make a selection with all atoms
    set all [atomselect top all]
    #get the number of frames
    set num_steps [molinfo $mol get numframes]
   
    foreach r $res {
        set rmsd($r) 0
    }
   
    #loop over all frames in the trajectory
    for {set frame 1} {$frame < $num_steps} {incr frame} {
        puts "Calculating rmsd for frame $frame ..."
        # get the correct frame
        $compare frame $frame
        # compute the transformation
        set trans_mat [measure fit $compare $reference]
        # do the alignment
        $all move $trans_mat
        # compute the RMSD
       
        #loop through all residues
        foreach r $res {
            set ref [atomselect $mol "chain U and resid $r and noh" frame 0]
            set comp [atomselect $mol "chain U and resid $r and noh" frame $frame]
            set rmsd($r) [expr $rmsd($r) + [measure rmsd $comp $ref]]
            $comp delete
            $ref delete
        }
    }
    set ave 0
        foreach r $res {
            set rmsd($r) [expr $rmsd($r)/$num_steps]
            # print the RMSD
            puts "RMSD of residue $r is $rmsd($r)"
            set res_b [atomselect $mol "resid $r"]
            $res_b set beta $rmsd($r)
            $res_b delete
            set ave [expr $ave + $rmsd($r)]
            
        }
    set ave [expr $ave/[llength $res]]
    puts " Average rmsd per residue:   $ave"
   
}

#Call the procedure

rmsd_residue_over_time top $sel_resid
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ÖÇÄÜ»úÆ÷ÈË

Robot (super robot)

ÎÒÃǶ¼°®Ð¡Ä¾³æ

ÕÒµ½Ò»Ð©Ïà¹ØµÄ¾«»ªÌû×Ó£¬Ï£ÍûÓÐÓÃŶ~

¿ÆÑдÓСľ³æ¿ªÊ¼£¬ÈËÈËΪÎÒ£¬ÎÒΪÈËÈË
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ À¶×ÏÉ«²£Á§ÐÄ µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 385·Ö ÉúÎïѧ£¨071000£©Çóµ÷¼Á +8 qf626 2026-04-01 8/400 2026-04-04 17:02 by dongzh2009
[¿¼ÑÐ] Ò»Ö¾Ô¸»ªÄÏʦ·¶361·Ö£¬»¯Ñ§Çóµ÷¼Á +6 Nicole88888 2026-04-01 6/300 2026-04-04 16:36 by dongzh2009
[¿¼ÑÐ] Çóµ÷¼Á£º085600²ÄÁÏÓ뻯¹¤£¬¿¼²Ä¿Æ»ù£¬×Ü·Ö319 +21 678lucky 2026-03-31 26/1300 2026-04-04 16:22 by dongzh2009
[¿¼ÑÐ] 323Çóµ÷¼Á +6 Àî¼ÑÀÖ1 2026-04-04 6/300 2026-04-04 16:19 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] 325Çóµ÷¼Á +4 ´º·ç²»½èÒâ 2026-04-04 4/200 2026-04-04 14:46 by ÏæÅ©´¢ÄܲÄÁÏ
[¿¼ÑÐ] 085600²ÄÁÏÓ뻯¹¤µ÷¼Á +26 kikiki7 2026-03-30 27/1350 2026-04-04 09:18 by qlm5820
[¿¼ÑÐ] 283·Ö²ÄÁÏÓ뻯¹¤Çóµ÷¼Á +29 ÂÞKAKA 2026-04-02 29/1450 2026-04-03 23:56 by userper
[¿¼ÑÐ] 320µ÷¼Á +4 ũҵ¹¤³ÌÓëÐÅÏ¢¼ 2026-04-03 4/200 2026-04-03 21:40 by lbsjt
[¿¼ÑÐ] Çóµ÷¼Á +3 wos666 2026-04-03 3/150 2026-04-03 21:36 by lbsjt
[¿¼ÑÐ] 11408£¬284·Ö£¬¶þÕ½Õæ³ÏÇóµ÷¼Á +4 12.27 2026-04-02 4/200 2026-04-03 14:14 by dxiaoxin
[˶²©¼ÒÔ°] ÇóÀÏʦÊÕÁô +9 lllq123 2026-04-03 9/450 2026-04-03 13:48 by ºôÎü¶¼ÊǼõ·Ê
[¿¼ÑÐ] ±§Ç¸ +5 ÌïºéÓÐ 2026-03-30 5/250 2026-04-03 10:24 by linyelide
[¿¼ÑÐ] 298Çóµ÷¼Á +4 zzz£¬£¬r 2026-04-02 7/350 2026-04-02 18:57 by 1939136013¹·×³
[¿¼ÑÐ] 266Çóµ÷¼Á +4 ѧԱ97LZgn 2026-04-02 4/200 2026-04-02 13:03 by yulian1987
[¿¼ÑÐ] ²ÄÁÏרҵÇóµ÷¼Á +10 ÔÂÔÂÄñľ 2026-04-01 10/500 2026-04-02 12:57 by wxiongid
[¿¼ÑÐ] 085600 Ò»Ö¾Ô¸9 ×Ü·Ö351 Çóµ÷¼ÁѧУ +7 czhcz 2026-03-31 9/450 2026-04-01 19:24 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] 085600£¬321·ÖÇóµ÷¼Á +13 ´ó²öС×Ó 2026-03-31 13/650 2026-04-01 12:35 by chemdavid
[¿¼ÑÐ] 301Çóµ÷¼Á +8 axibli 2026-04-01 8/400 2026-04-01 09:51 by ÎҵĴ¬Îҵĺ£
[¿¼ÑÐ] 339Çóµ÷¼Á +5 zjjkt 2026-03-31 5/250 2026-04-01 09:18 by JourneyLucky
[¿¼ÑÐ] 296Çóµ÷¼Á +10 ±Ë°¶t 2026-03-29 10/500 2026-03-30 10:50 by ̽123
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û