<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Qiancheng,<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>You would need to modify <your Chimera installation>/share/chimera/__init__.py. On line 1436, change:</div><div class=""><br class=""></div><div class=""> _openPDBModel, (".pdb", ".pdb1", ".ent", ".pqr"), ("pdb",),<br class=""><br class="">to:</div><div class=""><br class=""></div><div class=""> _openPDBModel, (".pdb", ".pdb1", ".ent", ".pqr", ".pdbqt"), ("pdb",),</div><div class=""><br class=""></div><div class="">keeping the indentation the same. On a Mac, <your Chimera installation> is Chimera.app/Contents/Resources.</div><div class=""><br class=""></div><div class=""><div class="">--Eric</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>UCSF Computer Graphics Lab</div></div><div class=""><br class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 23, 2022, at 5:20 AM, 夏前程 via Chimera-users <<a href="mailto:chimera-users@cgl.ucsf.edu" class="">chimera-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p class="">
Hi Chimera team,
</p><p class="">
I'm wondering if there is any chance that I can open a .pdbqt file smoothly (just <span style="white-space:normal;" class="">like open a .pdb file </span>) through some strategies (for example, maybe modifying some source codes?).
</p><p class="">
Since AutoDock (and vina) always gives a .pdbqt format file but not .pdb format, however the content of which is somewhat like pdb and we always want to open it in pdb format.
</p><p class="">
This is not an important issue. But if so, the experience will be much better at least for me (Now, I have to choose the PDB format or rename the file suffix into .pdb).
</p><p class="">
<br class="">
</p><p class="">
With Regards
</p><p class="">
Qiancheng Xia
</p><p class="">
2022/12/23
</p><br class=""><br class="">
_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users" class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></body></html>