[Biococoa-dev] singletons

Koen van der Drift kvddrift at earthlink.net
Sat Aug 21 16:27:15 EDT 2004


What I am actually looking for is the equivalent of the code that John 
put in BCNucleotideDNA where he has a class method for each possible 
base. Before I start doing that for all + 20 amino acids, I want to be 
sure that that is the most effective way to do it. Somehow I have the 
feeling this can be much more simplified, maybe by mainiaining an array 
of singletons  (is that what BioJava calls an alphabet?).  But maybe 
not, therefore I was looking for the way BioJava does this. My 
apologies if I was not clear when I asked my question :)


- Koen.


On Aug 21, 2004, at 3:58 PM, Alexander Griekspoor wrote:

> Koen,
>
> If I'm correct, an amino acids is of class AtomicSymbol, a subclass of 
> Symbol defined in org.biojava.bio.symbol.
> If you have the source besure to checkout AtomicSymbol.java
> Also, take a look at Geneticcode.java
> The Aminoacids themselves seem to be defined in AlphabetManager.xml
> That's what I could find at first glance...
> Cheers,
> Alex
>
>
> Op 21-aug-04 om 21:39 heeft Koen van der Drift het volgende geschreven:
>
>> Hi,
>>
>> I looked around the BioJava code to see how they implement the use of 
>> singletons for amino acids. Does anyone know where this is coded, I 
>> couldn't find it.
>>
>> thanks,
>>
>> - Koen.
>>
>> _______________________________________________
>> Biococoa-dev mailing list
>> Biococoa-dev at bioinformatics.org
>> https://bioinformatics.org/mailman/listinfo/biococoa-dev
>>
>>
> *********************************************************
>                       ** 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
>
>           LabAssistant - Get your life organized!
>           http://www.mekentosj.com/labassistant
>
> *********************************************************
>
>
> *********************************************************
>                      ** 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
>
>    The requirements said: Windows 2000 or better.
>    So I got a Macintosh.
>
> *********************************************************
>
> _______________________________________________
> Biococoa-dev mailing list
> Biococoa-dev at bioinformatics.org
> https://bioinformatics.org/mailman/listinfo/biococoa-dev
>




More information about the Biococoa-dev mailing list