<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Prathvi,<div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>Assuming that 'm' is your protein model, then the code would be:</div><div class=""><br class=""></div><div class="">from ChemGroup import findGroup</div><div class="">disulfides = findGroup("disulfide", [m])</div><div class="">num_disulfides = len(disulfides)</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=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 7, 2022, at 12:32 AM, Prathvi Singh 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=""><div dir="ltr" class="">Hi Elaine,<div class=""><br class=""></div><div class="">I have found out a way to select the disulphide bonded CYS residues in UCSF chimera using the command: <i class="">select disulphide</i>.</div><div class=""><br class=""></div><div class="">However, is there a way to count the number of disulphide bridges in a protein and save in a variable?</div><div class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Prathvi Singh,<div class="">Research Fellow,<br class=""><div class="">Department of Biological Sciences & Bioengineering,</div><div class="">Indian Institute of Technology, Kanpur-208016</div></div></div></div></div></div></div></div>
_______________________________________________<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>