Morning, Natasha.
I've written a test code and It seems working properly. The only
problem is "non-standard" (a-ka non-secondary-structure) sequence
annotations. Is those annotations important in Jalview. For example, I
have original file, like thisO83071/192-246
MTCRAQLIAVPRASSLAE..AIACAQKM....RVSRVPVYERS
*#=GR O83071/192-246 SA *
999887756453524252..55152525....36463774777
O83071/259-312
MQHVSAPVFVFECTRLAY..VQHKLRAH....SRAVAIVLDEY
*#=GR O83071/259-312 SS *
CCCCCHHHHHHHHHHHHH..EEEEEEEE....EEEEEEEEEEEParsing code saves alignment annotation for secondary structure only
(i.e. *#=GR O83071/259-312 SS ...), *but not this one: *#=GR
O83071/192-246 SA *My output file looks like
O83071/192-246
MTCRAQLIAVPRASSLAE..AIACAQKM....RVSRVPVYERS
O83071/259-312
MQHVSAPVFVFECTRLAY..VQHKLRAH....SRAVAIVLDEY
*#=GR O83071/259-312 SS *
CCCCCHHHHHHHHHHHHH..EEEEEEEE....EEEEEEEEEEEIs it Ok? If no, I have an idea how to change the parsing Stockholm
code and after that I can save all alignment annotations.
I checked the parsing code and what you see is exactly right - although the 'SA' annotation is supported, the parser doesn't do anything with it.
It'd be great if you fix that issue too - but since its not quite related to stockholm output, I've raised it as another enhancement:
http://issues.jalview.org/browse/JAL-1207
Remember when you check the code in, mention the appropriate JAL-XXX issue numbers in the commit message so everyone can see which commits relate to which issue at issues.jalview.org
Looking forward to trying out (or getting others to try out..) the new code !
Jim.
···
On Mon Nov 19 10:55:47 2012, Nataliya Sherstneva wrote: