[Biococoa-dev] More on BCSymbolSets
Koen van der Drift
kvddrift at earthlink.net
Fri Mar 4 06:32:52 EST 2005
On Mar 3, 2005, at 10:07 PM, John Timmer wrote:
> Renaming it's fine, but we HAVE to keep it. There are going to be
> literally
> dozens of symbol sets, plus the potential for user-generated sets, and
> I
> would not want to loop through all the possibilities just to find out
> whether a sequence could be translated or complemented.
>
I am not sure if I follow this. As soon as a sequence is created, the
symbolset is defined. So there is no need to iterate over all
symbolsets to find out if a certain operation is possible. For
convenience, we could extend BCSymbolSet with a method
"containsNucleotides" that will return yes is the objects in the set
are of that type.
- Koen.
More information about the Biococoa-dev
mailing list