pdb2xyz.php
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· PHP 代码 · 共 22 行
PHP
22 行
<?php// Example of converting from PDB for XYZset_time_limit(0);require_once "Science/Chemistry/PDBFile.php";$file = new Science_Chemistry_PDBFile($argv[1]);for ($j=0; $j < $file->num_macromolecules; $j++) { $macromol =& $file->macromolecules[$j]; // use the builtin method for the macromolecule echo $macromol->toXYZ(); // for more control on the printing /* foreach ($macromol->molecules as $mol) { echo $mol->toXYZ(); $mol->printConnectionTable(); $mol->printDistanceMatrix(); } */}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?