<div dir="ltr">Hi Pat,<div><br></div><div>I&#39;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><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: (510) 486-5709</div><div>Fax: (510) 486-5909</div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 1, 2018 at 8:41 AM Patrick Loll &lt;<a href="mailto:pjloll@gmail.com">pjloll@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Following the instructions given here:<br>
<br>
<a href="https://www.phenix-online.org/documentation/overviews/xray-structure-deposition.html" rel="noreferrer" target="_blank">https://www.phenix-online.org/documentation/overviews/xray-structure-deposition.html</a><br>
<br>
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>
<br>
The sequence file is FASTA format, and contains an entry for each of the (4) chains in the AU, i.e.<br>
<br>
&gt;A<br>
MSEQNCE…<br>
&gt;B<br>
MSEQNCE…<br>
etc.<br>
<br>
Any bright ideas?<br>
<br>
<br>
============this is what happens (vide infra)====================================<br>
<br>
<br>
[PJL-iMac:blahblah/PJL_final] loll% mmtbx.prepare_pdb_deposition   filename.cif   seq_name.fasta<br>
Starting mmtbx.prepare_pdb_deposition<br>
on Mon Oct  1 11:16:23 2018 by loll<br>
===============================================================================<br>
Processing files:<br>
-------------------------------------------------------------------------------<br>
<br>
  Found model, filename.cif<br>
  Found sequence, seq_name.fasta<br>
<br>
Processing PHIL parameters:<br>
-------------------------------------------------------------------------------<br>
  No PHIL parameters found<br>
Final processed PHIL parameters:<br>
-------------------------------------------------------------------------------<br>
  data_manager {<br>
    model {<br>
      file = “filename.cif&quot;<br>
    }<br>
    default_model = “filename.cif&quot;<br>
    sequence_files = &quot;seq_name.fasta&quot;<br>
    default_sequence = &quot;seq_name.fasta&quot;<br>
  }<br>
<br>
Starting job<br>
===============================================================================<br>
Validating inputs<br>
Using model: filename.cif<br>
Using sequence: seq_name.fasta<br>
Creating mmCIF block for sequence<br>
Traceback (most recent call last):<br>
  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>
    run_program(program_class=prepare_pdb_deposition.Program)<br>
  File &quot;/Applications/phenix-1.14-3260/modules/cctbx_project/iotbx/cli_parser.py&quot;, line 71, in run_program<br>
    task.run()<br>
  File &quot;/Applications/phenix-1.14-3260/modules/cctbx_project/mmtbx/programs/prepare_pdb_deposition.py&quot;, line 98, in run<br>
    alignment_params=self.params.mmtbx.validation.sequence.sequence_alignment)<br>
  File &quot;/Applications/phenix-1.14-3260/modules/cctbx_project/iotbx/pdb/hierarchy.py&quot;, line 1190, in as_cif_block_with_sequence<br>
    assert len(chain.residue_groups) + chain.n_missing_start + chain.n_missing_end == len(sequence)<br>
AssertionError<br>
(gouts of smoke, terrified squealing)<br>
<br>
<br>
The ‘No PHIL parameters found’ message is concerning, but the program clearly seems to be finding the input file names.<br>
<br>
Suggestions welcome.<br>
<br>
Thanks,<br>
<br>
Pat<br>
<br>
---------------------------------------------------------------------------------------<br>
Patrick J. Loll, Ph. D.  <br>
Professor of Biochemistry &amp; Molecular Biology<br>
Drexel University College of Medicine<br>
Room 10-102 New College Building<br>
245 N. 15th St., Mailstop 497<br>
Philadelphia, PA  19102-1192  USA<br>
<br>
(215) 762-7706<br>
<a href="mailto:pjloll@gmail.com" target="_blank">pjloll@gmail.com</a><br>
<a href="mailto:pjl28@drexel.edu" target="_blank">pjl28@drexel.edu</a><br>
<br>
<br>
_______________________________________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org" target="_blank">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org" target="_blank">phenixbb-leave@phenix-online.org</a></blockquote></div>