[Biococoa-dev] BCSequenceFactory

Koen van der Drift kvddrift at earthlink.net
Wed Dec 1 22:13:29 EST 2004


On Dec 1, 2004, at 7:41 PM, John Timmer wrote:

> I added the guess the type method implementation.  Since guessing the 
> type
> involved creating the sequence, I changed its return value to the 
> actual
> sequence, rather than the type.
>

John,

Works fine for a protein file, although I had to change the lines

             if ( aSymbol = nullSymbol )
                 altCount++;

to:

             if ( aSymbol == nullSymbol )
                 altCount++;


to get it to work ;-)



BTW,  would it be an idea to use BCSymbolCounter for this?


cheers,

- Koen.




More information about the Biococoa-dev mailing list