<div dir="ltr">Will do. Thanks Nathaniel!<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 July 2014 18:34, Nathaniel Echols <span dir="ltr">&lt;<a href="mailto:nechols@lbl.gov" target="_blank">nechols@lbl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="">On Mon, Jul 21, 2014 at 10:05 AM, Morten Grøftehauge <span dir="ltr">&lt;<a href="mailto:mortengroftehauge.work@gmail.com" target="_blank">mortengroftehauge.work@gmail.com</a>&gt;</span> wrote:<br>
</div><div class="gmail_extra">


<div class="gmail_quote"><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>
I notice that cctbx.python comes with phenix but as far as I can tell from when I run it, look at imported modules with dir(), and compare to the documentation on Sourceforge the version that comes with phenix is abridged. And possibly not the same version as the sourceforge one but they probably are the same.</div>



</div></blockquote><div><br></div></div><div>Define &quot;abridged&quot;?  We ship the complete CCTBX with Phenix, but not all modules are configured - in particular the cudatbx module.  Also, if you&#39;re using the 1.9 release, that&#39;s already nearly three months old and we&#39;ve made a huge number of changes since then (although I think the online docs are now several weeks out of date).</div>
<div class="">


<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<div>Will it cause any problems with Phenix if I install cctbx from sourceforge?</div></div></blockquote><div><br></div></div><div>The Python executables and modules will exist independently and not cross-import, but you should keep in mind that the program names do overlap significantly.  However, the &quot;phenix&quot; command (GUI) only exists in Phenix itself, and all of the launchers distributed with Phenix also exist with the version name appended, e.g. &quot;phenix.pdbtools_1.9-1692&quot; will be available.  It&#39;s possible we&#39;re making some simplistic assumptions about the command names being unambiguous when we&#39;re calling them as subprocesses, however.  The safest approach is to not incorporate either into your environment by default, e.g. call &quot;phenix_env.sh&quot; or &quot;setpaths.sh&quot; (or csh equivalents) only as needed.</div>



<div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Is it unnecessary? </div>


</blockquote>
<div><br></div></div><div>It depends on what you want to do.  For simple scripting, what we distribute with Phenix is more than adequate.  If you have larger projects in mind - especially if you plan on distributing something - working from SourceForge may be preferable, especially if you need the latest updates (or, even better, want to contribute code back).  I will also be making improved &quot;cctbx-plus&quot; builds (with various external dependencies pre-built) available in the very near future.</div>
<div class="">


<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Second question: Is there any better documentation anywhere? I found James Stroud&#39;s wiki but that&#39;s mainly for structure factor manipulation.</div>



</div></blockquote><div><br></div></div><div>*deep sigh*</div><div><br></div><div>Not really, the formal documentation is poor.  This was less of a problem when most of the people using CCTBX were in the same office but it is growing increasingly problematic.  I try to add inline documentation piecemeal when I get the chance but there are not a lot of practical how-to documents; I mostly learned by reading existing code.  (And bugging Ralf, which is no longer an option.)  I&#39;ve been wanting to write a massive tutorial for years but the NIH doesn&#39;t pay us for this stuff, unfortunately.</div>



<div><br></div><div>We do have some better docs for setting up the environment if you choose to go that route instead of using the Phenix distribution; these are mostly just internal right now but we could probably make them available to you.  As far as actual functionality is concerned, my recommendations would be:</div>



<div><br></div><div>1. Read the old newsletter articles and related content (linked from <a href="http://cctbx.sf.net" target="_blank">cctbx.sf.net</a>).</div><div><br></div><div>2. Look at the &quot;examples&quot; directory in each sub-module - these cover a lot of the basic use cases.  (For instance, mmtbx/examples/simple_command_line_cc.py gives you a template for most programs that operate on models and maps - it encapsulates a lot of the setup done in phenix.refine and friends.)</div>



<div><br></div><div>3. Join the &quot;cctbxbb&quot; mailing list and ask questions there.  The good news is that although we&#39;re pretty sluggish at writing documentation, we&#39;re much better at answering emails.</div>



<div><br></div><div>-Nat</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Morten K Grøftehauge, PhD <div>Pohl Group</div><div>Durham University</div>
</div>