[Biococoa-dev] BCScanner

Koen van der Drift kvddrift at earthlink.net
Tue Mar 15 20:17:40 EST 2005


On Mar 15, 2005, at 7:38 PM, John Timmer wrote:

> BCSequence
> Pocessed by BCFindSequence -> array of ranges
> BCSequence  subSequenceInRange -> individual digest fragments
>
> A scanner seems like overkill for this need.
>

The nice thing of a scanner is that you can pass it a 
symbolset/characterset, containing all the various locations where a 
sequence has to be cut. At least this is how I use it for proteins in 
my own app. Eg trypsin cuts at K and R, if we pass KR to findSequence, 
it will look for that actual sequence. If we pass it as a symbolset to 
a scanner, it will look for each individual symbol, which is what we 
want.

- Koen.




More information about the Biococoa-dev mailing list