<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<big>Dear all,<br>
<br>
I am trying to construct a model with a ligand, a zinc ion, but I
failed. <br>
<br>
Firstly, I did the alignment with align.py:</big><br>
<br>
<small> <font color="#ff0000">from modeller import *<br>
<br>
env = environ()<br>
aln = alignment(env)<br>
mdl = model(env, file='1ze9',
model_segment=('FIRST:A','LAST:A'))<br>
aln.append_model(mdl, align_codes='1ze9A',
atom_files='1EZ9.pdb')<br>
aln.append(file='ABCD.ali', align_codes='ABCD')<br>
aln.align2d()<br>
aln.write(file='ABCD-1ze9.ali', alignment_format='PIR')<br>
aln.write(file='ABCD-1ze9.pap', alignment_format='PAP')<br>
align2d.py (END)</font></small><br>
<br>
<big>It finished successfully, and I got the aligned ali and pap
files:</big><br>
<br>
<small><font color="#ff0000">ABCD-1ze9.ali:<br>
<br>
>P1;1ze9A<br>
structureX:1ZE9.pdb: 1 :A:+16 :A:::-1.00:-1.00<br>
DAEFRHDSGYEVHHQK-*<br>
<br>
>P1;ABCD<br>
sequence:ABCD: : : : ::: 0.00: 0.00<br>
DAEFRHDSGYEVHHQK.*<br>
<br>
ABCD-1ze9.pap<br>
<br>
_aln.pos 10<br>
1ze9A DAEFRHDSGYEVHHQK- <br>
ABCD DAEFRHDSGYEVHHQK. <br>
_consrvd * * *** * ** ** ******<br>
</font></small><br>
<br>
<big>The template is a 16-residue peptide coordinate with a zinc
ion, which is residue 17 in the same chain A. The sequence of the
unknown structure is the same as the template's.<br>
This is a test of how to construct a model with a ligand.<br>
<br>
And then I tried to construct the model using model-single.py,
which is the same as the one in the manual:<br>
<br>
</big><br>
<small><font color="#ff0000"> from modeller import *<br>
from modeller.automodel import *<br>
<br>
log.verbose()<br>
env = environ()<br>
env.io.atom_files_directory = ['./:../atom_files'] <br>
<br>
# Read in HETATM records from template PDBs<br>
env.io.hetatm = True<br>
<br>
a = automodel(env, alnfile='ABCD-1ze9.ali',<br>
knowns='1ze9A', sequence='ABCD',<br>
assess_methods=(assess.DOPE,
assess.GA341))<br>
a.starting_model = 1<br>
a.ending_model = 5<br>
a.make()</font></small><br>
<br>
<big>However, I failed to get the model, I get some error like this:</big><br>
<br>
<small><font color="#3333ff"> </font><font color="#ffff00"><font
color="#3333ff"> File "model-single.py", line 16, in ?<br>
a.make()<br>
File
"/usr/lib/modeller9.11/modlib/modeller/automodel/automodel.py",
line 96, in make<br>
self.homcsr(exit_stage)<br>
File
"/usr/lib/modeller9.11/modlib/modeller/automodel/automodel.py",
line 423, in homcsr<br>
self.check_alignment(aln)<br>
File
"/usr/lib/modeller9.11/modlib/modeller/automodel/automodel.py",
line 405, in check_alignment<br>
aln.check()<br>
File
"/usr/lib/modeller9.11/modlib/modeller/alignment.py", line
197, in check<br>
self.check_structure_structure(io=io)<br>
File
"/usr/lib/modeller9.11/modlib/modeller/alignment.py", line
206, in check_structure_structure<br>
return f(self.modpt, io.modpt,
self.env.libs.modpt, eqvdst)<br>
_modeller.ModellerError: read_te_290E> Number of
residues in the alignment and pdb files are different:
16 17 For alignment entry: 1 1ze9A</font><br>
</font></small><br>
<br>
<big>Right now, I guess that the error is coming from the alignment,
but I did not find how the alignment was done in the tutorial. So
could someone tell me how to solve this problem? Any suggestions
would be highly appreciated.<br>
<br>
<br>
All the best,<br>
Qinghua<br>
</big><br>
</body>
</html>