[Biococoa-dev] sequence wrappers

Koen van der Drift kvddrift at earthlink.net
Tue Dec 14 17:13:05 EST 2004


On Dec 14, 2004, at 10:33 AM, John Timmer wrote:

> In terms of design of this class, how will it differ from a regular
> NSMutableArray?

It's not intended to be a subclass of NSMutableArray, but it has an 
NSMutableArray as it's only member. The idea is to have a bare-bones 
class that *only* maintains an array of BCSymbols but without all the 
overhead of features and annotations. These can be handy for searching, 
and specific calculations.


So it could have the following methods from the current BCSequence:

initWithArray
symbolAtIndex
subSequenceStringInRange

etc.

but not:

sequenceType
symbolSet
name


The current BCSequence will be a subclass of this new class, and will 
have members for features and annotations.



>
> That said, the idea of having annotations and features be a part of the
> sequence specific subclasses allows some interesting possibilities, so 
> I am
> intrigued....


Well, that can be done with or without the BCSymbolList anyway.



- Koen.




More information about the Biococoa-dev mailing list