<p>
        Thanks Eric, that's exactly what I need.
</p>
<br>
<br>
<blockquote name="replyContent" class="ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0;">
        -----原始邮件-----<br>
<b>发件人:</b><span id="rc_from">"Eric Pettersen" <pett@cgl.ucsf.edu></span><br>
<b>发送时间:</b><span id="rc_senttime">2022-12-28 03:20:05 (星期三)</span><br>
<b>收件人:</b> "夏前程" <xiaqiancheng@nibs.ac.cn><br>
<b>抄送:</b> Chimera <chimera-users@cgl.ucsf.edu><br>
<b>主题:</b> Re: [Chimera-users] Is there an option to open pdbqt as PDB format smoothly?<br>
<br>
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>
                                        </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>
</blockquote><br><br>