<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 Billy,
<div class=""><br class="">
</div>
<div class="">Do you have any updates on this? I just used tried to use mmtbx.prepare_pdb_deposition with the .cif file from phenix.refine and fasta sequences as input, followed by pdb_extract to deposit several structures to the PDB. The .cif files were accepted
 by PDB, but the refinement statistics were lost and something with the structure factors also seemed wrong, as the validation reports did not contain metrics for R-free and RSRZ outliers. I don’t quite understand how the second problem happens, since mmtbx.prepare_pdb_deposition
 does not see the structure factors. However, when I skipped the mmtbx.prepare_pdb_deposition and directly used the output cif from phenix.refine in pdb_extract and then uploaded this file to the PDB, both those issues were fixed.</div>
<div class=""><br class="">
</div>
<div class="">I first used an older phenix version (1.14rc2-3139) on a Mac, then upgraded to the latest nightly-built version (dev-3374), but the issue persisted.</div>
<div class=""><br class="">
</div>
<div class="">Additionally, for one my five structures, I had the same issue as Patrick described in October (see below), also with both versions of phenix.</div>
<div class=""><br class="">
</div>
<div class="">Bernhard<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<p class="MsoNormal" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; line-height: normal;">
<b class=""><span style="font-size: 8pt; font-family: Arial; color: rgb(214, 61, 36);" class="">Bernhard C. Lechtenberg, PhD<span class="Apple-converted-space">&nbsp;</span><br class="">
</span></b><span style="font-size: 8pt; font-family: Arial; color: gray;" class="">Postdoctoral Associate<br class="">
Riedl Lab<br class="">
Cancer Metabolism and Signaling Networks Program<br class="">
NCI-Designated Cancer Center</span></p>
<span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><span><span><span><span><span><span><span><span><br class="Apple-interchange-newline">
<span><img apple-inline="yes" id="806CD092-88ED-4961-835B-F7A8F2D7C27C" src="cid:24A04CE0-5418-4257-A8D1-8084CA766BC9@burnham.org" class=""></span>
<p class="MsoNormal" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; line-height: normal;">
<span style="color: gray; font-family: Arial; font-size: 8pt;" class=""><br class="Apple-interchange-newline">
10901 N. Torrey Pines Road, La Jolla, CA 92037</span></p>
<p class="MsoNormal" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; line-height: normal;">
<b class=""><span style="font-size: 8pt; font-family: Arial; color: gray;" class="">T&nbsp;&nbsp;</span></b><span style="font-size: 8pt; font-family: Arial; color: gray;" class="">858.646.3100 ext. 4216&nbsp;<span class="Apple-tab-span" style="white-space: pre;">
</span></span><b class=""><span style="font-size: 8pt; font-family: Arial; color: gray;" class="">E</span></b><span style="font-size: 8pt; font-family: Arial; color: gray;" class="">&nbsp;</span><span style="color: gray; font-family: Arial; font-size: 8pt;" class=""><a href="mailto:blechtenberg@SBPdiscovery.org" class="">blechtenberg@SBPdiscovery.org</a></span></p>
<p class="MsoNormal" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; line-height: normal;">
<i class=""><span style="font-size: 8pt; font-family: Arial; color: gray;" class="">Science Benefiting Patients®</span></i></p>
</span></span></span></span></span></span></span></span></span></div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Oct 2, 2018, at 4:01 PM, Billy Poon &lt;<a href="mailto:BKPoon@lbl.gov" class="">BKPoon@lbl.gov</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi Pat,
<div class=""><br class="">
</div>
<div class="">I'm in the process of reworking that tool since it is dropping some information from phenix.refine in the process of adding the sequence. Something should be available by the end of the week in a new build.</div>
<div class=""><br clear="all" class="">
<div class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">
<div class="">--</div>
<div class=""><span style="font-size:12.8000001907349px" class="">Billy K. Poon</span><br class="">
</div>
</div>
<div class="">Research Scientist, Molecular Biophysics and Integrated Bioimaging</div>
<div class="">Lawrence Berkeley National Laboratory</div>
<div class="">1 Cyclotron Road, M/S 33R0345</div>
<div class="">Berkeley, CA 94720</div>
<div class="">Tel: (510) 486-5709</div>
<div class="">Fax: (510) 486-5909</div>
<div class="">Web:&nbsp;<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fphenix-online.org&amp;data=02%7C01%7Cblechtenberg%40sbpdiscovery.org%7C1f02e727a9a24dbf989308d628bb1cc9%7C0b162723004547deb0699f1a7aa955a1%7C0%7C0%7C636741181463446660&amp;sdata=quN%2BNM5dHlBOs0xk0T53tu3ZN92oLc7v3h6tyZ%2BViXM%3D&amp;reserved=0" originalsrc="https://phenix-online.org" shash="Y/qDQVwzBL3DI7vRvkrsM2KAGZrpf1ZRbH6QcnLkU0LQq0hECRZNz/AKex9dAkQTLLRMVuNWnJpAn4NpUM/YBHUviaMKBb0JOK&#43;8atmq/Cd72RNamH/ydC1ujurXesKml61h42M2ZbL35C334DIIO/WCXmd79gIZnCE/vH0xXEI=" target="_blank" class="">https://phenix-online.org</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Mon, Oct 1, 2018 at 8:41 AM Patrick Loll &lt;<a href="mailto:pjloll@gmail.com" class="">pjloll@gmail.com</a>&gt; wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br class="">
<br class="">
Following the instructions given here:<br class="">
<br class="">
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.phenix-online.org%2Fdocumentation%2Foverviews%2Fxray-structure-deposition.html&amp;data=02%7C01%7Cblechtenberg%40sbpdiscovery.org%7C1f02e727a9a24dbf989308d628bb1cc9%7C0b162723004547deb0699f1a7aa955a1%7C0%7C0%7C636741181463456667&amp;sdata=Q6TEdFOFt3wCQqJ4tA1tHWypnlY8Qb9%2BgOR1a6tErO8%3D&amp;reserved=0" originalsrc="https://www.phenix-online.org/documentation/overviews/xray-structure-deposition.html" shash="rJh/l2roJTQB/VU1bnGitWd5V5ldKNdJQbxS6enEmf6lCim9Sy8MaoJpvXEGT6hsc83lr38kjHUPT475jCxG7GztfwgU2XL49ESoorp34DnPi1alpx9Wpf6a1uVveFQ/FNusnGPLk0ekOq0dGWnyvpPKmepfZEQuYrQwjkYVsxg=" rel="noreferrer" target="_blank" class="">https://www.phenix-online.org/documentation/overviews/xray-structure-deposition.html</a><br class="">
<br class="">
I’m attempting to use mmtbx.prepare_pdb_deposition to insert sequence information into the mmCIF that contains the model coordinates. Unfortunately, the program fails with an error (shown below).<br class="">
<br class="">
The sequence file is FASTA format, and contains an entry for each of the (4) chains in the AU, i.e.<br class="">
<br class="">
&gt;A<br class="">
MSEQNCE…<br class="">
&gt;B<br class="">
MSEQNCE…<br class="">
etc.<br class="">
<br class="">
Any bright ideas?<br class="">
<br class="">
<br class="">
============this is what happens (vide infra)====================================<br class="">
<br class="">
<br class="">
[PJL-iMac:blahblah/PJL_final] loll% mmtbx.prepare_pdb_deposition&nbsp; &nbsp;filename.cif&nbsp; &nbsp;seq_name.fasta<br class="">
Starting mmtbx.prepare_pdb_deposition<br class="">
on Mon Oct&nbsp; 1 11:16:23 2018 by loll<br class="">
===============================================================================<br class="">
Processing files:<br class="">
-------------------------------------------------------------------------------<br class="">
<br class="">
&nbsp; Found model, filename.cif<br class="">
&nbsp; Found sequence, seq_name.fasta<br class="">
<br class="">
Processing PHIL parameters:<br class="">
-------------------------------------------------------------------------------<br class="">
&nbsp; No PHIL parameters found<br class="">
Final processed PHIL parameters:<br class="">
-------------------------------------------------------------------------------<br class="">
&nbsp; data_manager {<br class="">
&nbsp; &nbsp; model {<br class="">
&nbsp; &nbsp; &nbsp; file = “filename.cif&quot;<br class="">
&nbsp; &nbsp; }<br class="">
&nbsp; &nbsp; default_model = “filename.cif&quot;<br class="">
&nbsp; &nbsp; sequence_files = &quot;seq_name.fasta&quot;<br class="">
&nbsp; &nbsp; default_sequence = &quot;seq_name.fasta&quot;<br class="">
&nbsp; }<br class="">
<br class="">
Starting job<br class="">
===============================================================================<br class="">
Validating inputs<br class="">
Using model: filename.cif<br class="">
Using sequence: seq_name.fasta<br class="">
Creating mmCIF block for sequence<br class="">
Traceback (most recent call last):<br class="">
&nbsp; File &quot;/Applications/phenix-1.14-3260/build/../modules/cctbx_project/mmtbx/command_line/prepare_pdb_deposition.py&quot;, line 9, in &lt;module&gt;<br class="">
&nbsp; &nbsp; run_program(program_class=prepare_pdb_deposition.Program)<br class="">
&nbsp; File &quot;/Applications/phenix-1.14-3260/modules/cctbx_project/iotbx/cli_parser.py&quot;, line 71, in run_program<br class="">
&nbsp; &nbsp; task.run()<br class="">
&nbsp; File &quot;/Applications/phenix-1.14-3260/modules/cctbx_project/mmtbx/programs/prepare_pdb_deposition.py&quot;, line 98, in run<br class="">
&nbsp; &nbsp; alignment_params=self.params.mmtbx.validation.sequence.sequence_alignment)<br class="">
&nbsp; File &quot;/Applications/phenix-1.14-3260/modules/cctbx_project/iotbx/pdb/hierarchy.py&quot;, line 1190, in as_cif_block_with_sequence<br class="">
&nbsp; &nbsp; assert len(chain.residue_groups) &#43; chain.n_missing_start &#43; chain.n_missing_end == len(sequence)<br class="">
AssertionError<br class="">
(gouts of smoke, terrified squealing)<br class="">
<br class="">
<br class="">
The ‘No PHIL parameters found’ message is concerning, but the program clearly seems to be finding the input file names.<br class="">
<br class="">
Suggestions welcome.<br class="">
<br class="">
Thanks,<br class="">
<br class="">
Pat<br class="">
<br class="">
---------------------------------------------------------------------------------------<br class="">
Patrick J. Loll, Ph. D.&nbsp; <br class="">
Professor of Biochemistry &amp; Molecular Biology<br class="">
Drexel University College of Medicine<br class="">
Room 10-102 New College Building<br class="">
245 N. 15th St., Mailstop 497<br class="">
Philadelphia, PA&nbsp; 19102-1192&nbsp; USA<br class="">
<br class="">
(215) 762-7706<br class="">
<a href="mailto:pjloll@gmail.com" target="_blank" class="">pjloll@gmail.com</a><br class="">
<a href="mailto:pjl28@drexel.edu" target="_blank" class="">pjl28@drexel.edu</a><br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
phenixbb mailing list<br class="">
<a href="mailto:phenixbb@phenix-online.org" target="_blank" class="">phenixbb@phenix-online.org</a><br class="">
<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fphenix-online.org%2Fmailman%2Flistinfo%2Fphenixbb&amp;data=02%7C01%7Cblechtenberg%40sbpdiscovery.org%7C1f02e727a9a24dbf989308d628bb1cc9%7C0b162723004547deb0699f1a7aa955a1%7C0%7C0%7C636741181463466669&amp;sdata=S5Y55I0NxgVfkdUevXh3BQFr%2Fy6YJbF6TtYg48B7muA%3D&amp;reserved=0" originalsrc="http://phenix-online.org/mailman/listinfo/phenixbb" shash="WPS/BY0JKZi6lZM0MEMnCTB1yJRPTc43ON6dszy1suf&#43;b3r8SsfLSOS9brZ8437TCcfuhtzPS2/nWoLo2nvBPVbAU6iC3SCigTG3opJGJe2gNez1Mt&#43;CD08STOns2YDaCTi/taW/dZ&#43;FwgdMY&#43;gtJkVt7&#43;EX76uqszZWOeVwiDQ=" rel="noreferrer" target="_blank" class="">http://phenix-online.org/mailman/listinfo/phenixbb</a><br class="">
Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org" target="_blank" class="">
phenixbb-leave@phenix-online.org</a></blockquote>
</div>
_______________________________________________<br class="">
phenixbb mailing list<br class="">
<a href="mailto:phenixbb@phenix-online.org" class="">phenixbb@phenix-online.org</a><br class="">
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fphenix-online.org%2Fmailman%2Flistinfo%2Fphenixbb&amp;amp;data=02%7C01%7Cblechtenberg%40sbpdiscovery.org%7C1f02e727a9a24dbf989308d628bb1cc9%7C0b162723004547deb0699f1a7aa955a1%7C0%7C0%7C636741181463496692&amp;amp;sdata=eSLHcjYDUZfKM04MLaIossUjFGIyR2F6XGP5jta%2F%2B5c%3D&amp;amp;reserved=0<br class="">
Unsubscribe: phenixbb-leave@phenix-online.org</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>