<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Natan,<div class=""><br class=""></div><div class=""> You can use the molmap and mask commands to get a binary mask around helices, for example,</div><div class=""><br class=""></div><div class="">open 3p2i</div><div class="">molmap helix 10 grid 2 model #1</div><div class="">vol #1 level 0.25</div><div class="">mask ones #1</div><div class="">volume #1 hide</div><div class="">volume #2 save helixmask.mrc</div><div class=""><br class=""></div><div class="">These commands open PDB file 3p2i, create a density map at resolution 10 Angstroms with grid spacing 2 Angstroms for the helix atoms calling the resulting map #1, set the surface contour level of that helix map to 0.25, create a 0/1 binary mask with one values within the surface of the helix map, hide the original helix map so you can see the binary mask, and save the binary mask to an MRC file. All the commands are described in great detail in the documentation.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="7C7EA92D-4B36-4804-B18B-54B7DAE7090E" src="cid:79BC2F02-0D8D-4086-A892-A80AE7915877@cgl.ucsf.edu" class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 22, 2017, at 4:42 AM, natan geier wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="rtl" class=""><div dir="ltr" class="">Hello,</div><div dir="ltr" class="">I am currently studying the connection between density maps and the secondary structure elements.</div><div dir="ltr" class="">I have a density map file for a certain protein, giving for each voxel a density value, and what I am missing is a "helix map", giving a binary value for each voxel, representing wether it is a part of a helix or not.</div><div dir="ltr" class="">In order to build this "helix map", I need to use the .pdb file of that protein, but I am not really sure how to extract an appropriate 3D boolean matrix out of this file.</div><div dir="ltr" class="">Any suggestions would be greatly appreciated.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Thanks</div><div dir="ltr" class=""><br class=""></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="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></body></html>