分子对接Docking基本步骤,使用UCSF分子对接程序Dock5.x或者6.x。
首先获得靶蛋白分子PDB文件,可以从PDB database网站上搜索。同时取得小分子的PDB或者mol2文件。Dock程序要求分子文件必须为mol2结构,因为mol2文件可以记录分子中各个原子的代电量等,包含信息比较多。准备分子对接文件时候,最后也使用UCSF提供的Chimera(http://www.cgl.ucsf.edu/chimera),好用免费,同时功能齐全。也可以使用VMD,但是要和tleap程序一起用。
首先对靶蛋白分子进行处理,去除靶蛋白PDB文件中包含的其他小分子和水分子,无关紧咬的金属离子等。以Chimera为例,可以使用Dock Prep功能一步搞定。然后利用Chimera给靶蛋白分子加上H原子,同时计算代电量。如果靶蛋白的分子量过大,再后续步骤中可能会出错,所以无关必要的要清除干净。保存靶蛋白为mol2格式。然后对要进行docking的小分子进行同样操作,加氢和加电,然后保存为Mol2格式。
准备完两个基本对接分子后,要准备靶蛋白分子的分子表面文件,需要使用dms程序,同时需要靶蛋白分子的PDB文件。用Chimera去除靶蛋白分子的氢原素,保存为pdb文件格式。然后利用dms生成靶蛋白分子表面文件。命令格式可以为:
-------------------------------------------------------------------
dms input_file [-a -d density -g file -i file -n -w radius -v] -o file
-a use all atoms, not just amino acids
-d change density of points
-g send messages to file
-i calculate only surface for specified atoms
-n calculate normals for surface points
-w change probe radius
-v verbose
-o specify output file name (required)
-------------------------------------------------------------------
例,如果靶蛋白无氢PDB文件为rec_noH.pdb,可以使用一下命令生成表面文件:dms rec_noH.pdb -n -w 1.4 -v -o rec.ms。其中参数都为默认值。rec。ms为靶蛋白分子表面文件,可以用Chimera监查。dms可以从一下地址下载:http://www.cgl.ucsf.edu/Overview/software.html#dms
下一步使用Dock程序包自带的sphgen程序生成靶蛋白的球面文件,即计算靶蛋白分子表面的性状各个不分的曲率半径。sphgen要求一个INSPH文件在目录下,格式如下:
-------------------------------------------------------------------
rec.ms #molecular surface file
R #sphere outside of surface (R) or inside surface (L)
X #specifies subset of surface points to be used (X=all points)
0.0 #prevents generation of large spheres with close surface contacts (default=0.0)
4.0 #maximum sphere radius in Angstroms (default=4.0)
1.4 #minimum sphere radius in Angstroms (default=radius of probe)
rec.sph #clustered spheres file
-------------------------------------------------------------------
其中各项为默认值,细节氢参考Dock文档。rec。ms为上一步生成的分子表面文件,rec。sph为球面文件。
下一步需要使用Dock自带的showspere程序显示有可能接合的位置,showspere可以是问答式,也可以使用一个配置文件以:showspere < showsphere.in 命令方式运行。showsphere。in 文件格式如下:
-------------------------------------------------------------------
rec.sph #sphere cluster file
1 #cluster number to process (<0 = all)
N #generate surface as well as pdb file
selected_cluster.pdb #name for output file
-------------------------------------------------------------------
运行后得到selected_cluster.pdb文件,即为有可能接合位置文件,可以使用Chimera查看。再用DDock自带的sphere_selector程序参考小分子mol2文件选择有可能接合的位置,命令如下。
sphere_selector rec.sph lig_charged.mol2 10.0
其参数为默认值。lig_charged。mol2为小分子带电荷文件。该程序会生成sphere_selected.sph文件,即为小分子有可能接合位置文件。
接下来使用Dock自带的showbox程序划出有可能接合的几何区域,dock将在这个Box里面进行,所以很重要。命令方式如下:
showbox < box.in
box.in文件格式为
-------------------------------------------------------------------
Y
5
sphere_selected.sph
1
rec_box.pdb
-------------------------------------------------------------------
命令得到rec_box。pdb文件,即为小分子与靶蛋白进行对接的区域。到此Docking的工作完成一半。剩下的就是Grid和docking。如果没有出错,后面做docking一般不会出现错误。
Dock自带的grid和dock程序的输入格式基本一样: grid -i grid.in -o grid.out/dock -i dock.in -o dock.out.
grid.in和dock.in为输入文件,参数较多,请参考dock手册。
FC4中文字体有些发虚,特别使用CRT的话,看久了眼睛特别累。以下内容都是网上查阅得到,绝对对其他版本有一定借鉴意义。
1.复制字体文件
MS的simsun等字体效果好,所以从Windows的fonts文件夹里,复制simsun.ttc、times.ttf、tahoma.ttf到/usr/share/fonts/local/TrueType,并将simsun.ttc 更名为simsun.ttf。中文的宋体全在simsun里面,对比度很好。其他两个字体是英文字体,靠要也行。
2.在命令行运行如下命令:
fc-cache /usr/share/fonts/local/TrueType
生成新的fonts.cache-1文件。
3.打开 /etc/fonts/fonts.conf,并且在说明亚洲字符集的注释前插入新字体说明。
< !--
Some Asian fonts misadvertise themselves as monospaced when in fact they are Undo
…… this magic by disabling the width forcing code -->
前面,插入:
< match target="font">
< test name="family">< string>SimSun< /string>< /test>
< edit name="antialias" mode="assign">< bool>false< /bool>< /edit>
< /match>
这样可以避免字体被过分平滑。
4.在 /etc/fonts/fonts.conf中,所有类似如下的地方,全部插入simsun字体:
……
< family>Kochi Mincho< /family>
< family>SimSun< /family> < !--增加这样的一行 -->
< family>AR PL SungtiL GB< /family>
……
< default>< family>serif< /family>< /default>
需要注意的是,simsun要插入到所有英文字体的最后面、非英文字体的最前面。
5.在 /usr/share/fonts/local/TrueType/fonts.dir和fonts.scale前面,插入字体配置语句。注意要修正第一行的数字,使其等于下面内容的行数。注意将新字体放在/usr/share/fonts/local/TrueType不会被自动修改。如果将字体及置文件放在缺省中文字体目录/usr/share/fonts/chinese/TrueType下,则系统重启后会自动修改字体配置文件,导致一些配置丢失。文件
片段如下:
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso10646-1
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-so8859-1
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-10
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-15
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-2
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-3
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-4
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-5
times.ttf -arphic technology co.-ar pl Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-9
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso10646-1
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-so8859-1
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-10
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-15
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-2
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-3
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-4
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-5
tahoma.ttf -arphic technology co.-ar pl Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-9
simsun.ttf -arphic technology co.-ar pl simsun gb-medium-r-normal--0-0-0-0-c-0-ascii-0
simsun.ttf -arphic technology co.-ar pl simsun gb-medium-r-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -arphic technology co.-ar pl simsun gb-medium-r-normal--0-0-0-0-c-0-gb18030-0
simsun.ttf -arphic technology co.-ar pl simsun gb-medium-r-normal--0-0-0-0-c-0-gb2312-0
simsun.ttf -arphic technology co.-ar pl simsun gb-medium-r-normal--0-0-0-0-c-0-gbk-0
字体配置文件的每一行都说明字体的设置和定义,如粗体的宽度、斜体的倾斜度等,字体文件包括要用的2种英文字体和simsun中文宋体的配置信息。
6.最后一步,用simsun.ttf文件覆盖原来中文字体文件,
/usr/share/fonts/chinese/TrueType下的中文字体文件bkai00mp.ttf、bsmi00lp.ttf、gbsn00lp.ttf、gkai00mp.ttf或删除该目录下的所有字体文件。
完成上述步骤后,在Preferences(首选项)里的font(字体)里,不管是中文语言环境还是英文语言环境,都将字体设为英文,系统缺省使用宋体显示中文,这样中英文显示都很清晰,和Windows环境一样。