[Biococoa-dev] starting BCAlignment

Alexander Griekspoor a.griekspoor at nki.nl
Fri Mar 11 16:20:27 EST 2005


On 11-mrt-05, at 9:15, Philipp Seibel wrote:

>> A final comment about the scrore matrix in that design: because 
>> BCSymbolSet is in charge of the int<-->BCSymbol translation, the 
>> score matrix has to be defined as a dictionary, like John suggested. 
>> Such a dictionary could use the symbols as the key, for instance to 
>> get the score of substitution of symbolA for symbolB:
>>    NSNUmber *score = [[scoreDictionary objectForKey:symbolA] 
>> objectForKey:symbolB];
>> (key being copied for dictionary, BCSymbol has to be immutable with 
>> that design... or we could use the string representation)
>> That makes matrices difficult to define programatically, but easier 
>> through plist.
>
> What about storing in .plists and representing as int* in the Object.

I think that's indeed better phil, we don't need to stick to 
dictionaries to have storage in plists...

**************************************************************
                         ** Alexander Griekspoor **
**************************************************************
                  The Netherlands Cancer Institute
                  Department of Tumorbiology (H4)
             Plesmanlaan 121, 1066 CX, Amsterdam
                        Tel:  + 31 20 - 512 2023
                        Fax:  + 31 20 - 512 2029
                       AIM: mekentosj at mac.com
                       E-mail: a.griekspoor at nki.nl
                    Web: http://www.mekentosj.com

MacOS X: The power of UNIX with the simplicity of the Mac

***************************************************************




More information about the Biococoa-dev mailing list