***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


One trick that may work for you is to rewrite that selection statement more compactly, plus using "resid" instead of "residue".

E.g.

(segid A and (resid 169 or resid 175 or resid 172 or resid 37 or resid 222 or resid 126 or resid 51 or ..... ) )

Failing that, the parameter
PARAMETER (STRING_SIZE=264)
in the file "cns.inc" would appear to be responsible. Redimension and recompile. 264 seems rather small.

Even though strings are inconsistent between C and C++, at least both of them have fairly straightforward dynamic memory allocation, and this error is one of the types of "joys" of more classical Fortran versions.

Phil Jeffrey
Princeton

Qun Wan wrote:
Dear all,
My model (total 354 residues) has 13 residues which have alternate conformations. when I generate the alternate conformation with alternate.inp in CNS, the program does not give me the AC conformers because the atom selection only allows for 265 letter. However, all these residue selection will more than 264 strings. Does any one know how to the alternates in CNS?


DEFINE>{========================== atom selection ===========================}
 DEFINE>
 DEFINE>{* select atoms to have multiple conformations *}
 %COPYST-ERR: ST2MAX too small. Check input file.
Offending string:"{===>} atom_select=((segid A and residue 12) or (segid A and residue 169) or (segid A and residue 175) or (segid A and residue 172) or (segid A and residue 37) or (segid A and residue 222) or (segid A and residue 126) or (segid A and residue 51) or (segid A and re "
                with length=  265
           Max allowed length of string=  264

Reply via email to