Subject: Sequence function
From: m_randir
Date: Nov 8 11:40 AM

Next: 28


Hello all. I have been unable to get sparky to accept an RNA
sequence. Using atomnames.py as a guide I input the one-letter
residues codes. When I click OK a shell window opens with the
following errors:

Exception in Tkinter callback
Traceback (most recent call last):
File c:Program Filessparkypythonlib-tkTkinter.py, line 1345,
in __call__
return self.func(*args)
File c:Program Filessparkypythonsparkysequence.py, line 78,
in ok_cb
seq = self.read_sequence()
File c:Program Filessparkypythonsparkysequence.py, line 71,
in read_sequence
s = sequence(aa_sequence, first_residue_number)
File c:Program Filessparkypythonsparkysequence.py, line 163,
in __init__
self.resonances = self.create_resonances()
File c:Program Filessparkypythonsparkysequence.py, line 192,
in create_resonances
for atom_name in atomnames.protein_atoms_by_group[symbol]:
KeyError: U
Exception in Tkinter callback
Traceback (most recent call last):
File c:Program Filessparkypythonlib-tkTkinter.py, line 1345,
in __call__
return self.func(*args)
File c:Program Filessparkypythonsparkysequence.py, line 78,
in ok_cb
seq = self.read_sequence()
File c:Program Filessparkypythonsparkysequence.py, line 71,
in read_sequence
s = sequence(aa_sequence, first_residue_number)
File c:Program Filessparkypythonsparkysequence.py, line 163,
in __init__
self.resonances = self.create_resonances()
File c:Program Filessparkypythonsparkysequence.py, line 192,
in create_resonances
for atom_name in atomnames.protein_atoms_by_group[symbol]:
KeyError: U

Does sparky assume I have an amino acid sequence? How can this be
fixed? Any input would be much appreciated.

By the way, I was very happy to find this group and hope to contribute
at least as much as I take.

Thanks in advance,
m_randir