linux下pymol找不到BLOSUM62问题

运行pymol的align命令时报错:

Match-Error: unable to open matrix file '/usr/lib/python2.7/dist-packages/pymol/data/pymol/matrices/BLOSUM62'.

经查询/usr/lib/python2.7/dist-packages/pymol/文件夹下不存在data目录,而且BLOSUM62也确实存在,不过位置是在:/usr/share/pymol/data/pymol/matrices/BLOSUM62

解决办法:在/usr/lib/python2.7/dist-packages/pymol/下创建一个软链接data指向/usr/share/pymol/data/

>sudo ln -s /usr/share/pymol/data/ data

Souce: 纽普生物    2019-12-27