[Biocorba-l] SeqFeature and Id

Brad Chapman chapmanb@arches.uga.edu
Tue, 11 Sep 2001 22:52:11 -0400


Hey all;

> Actually I reported bug in orbit-perl IDL parser, already couple of
> months ago... Did not know that ORBit itself do not work either.

Yup, I did a similar thing myself -- reported the bug to the
orbit-python list, and then someone pointed out that orbit-idl will
choke on it as well. I guess I just forgot about all of that pesky C
code that actually makes ORBit work :-).

> How about this kind of solution (if we really have to drop the
> recursion):

I definately agree with Ewan on this one; I really want this to work
everywhere. I also want to support orbit-python (which is how I
found the bug in the first place), since this makes it much easier
for people to get started with BioCorba.

>     struct SeqLocation { 
>       SeqFeaturePosition start; 
>       SeqFeaturePosition end;
>       StrandTypeDef strand;          
>     };
> 
>     struct SeqFeatureLocation  {
>       SeqLocation seq_location ;
>       SeqFeatureLocOpDef region_operator;
>       sequence <SeqLocation> sub_seq_locations;
>       Identifier id;
>     };
>
> Then we can use the SeqFeatureLocation as before, except we have only
> one level of sub locations. 

+1 on this from me. I did an initial implementation and it works
great for me on orbit-python, so I assume orbit-perl will handle it
just fine.

Brad