--- Thomas Down <[EMAIL PROTECTED]> wrote: > Hi... > > I've just received a query (by direct mail from > someone who's > having trouble subscribing to the list -- I'll look > into that) > asking if it's possible to obtain the set of > possible codons > It seems to > me that > this could be handled quite nicely by making the > GeneticCode > translation tables ReversibleTranslationTables, and > having > the untranslate method return an ambiguity symbol > over > possible codons. Would anyone have any objetion to > me implementing > this?
Go for it. > > Of course, if we were to do this, it makes me wonder > if we actually > need to differentiate between TranslationTable and > ReversibleTranslationTable at all. Possibly we > could just > make ReversibleTranslationTable a marker interface > to guarantee > that untranslate(AtomicSymbol) will return another > AtomicSymbol. > Any thoughts? Or is it to late to make a change > like this? > Initialy, I was assuming that TranslationTable was injective and ReversibleTranslationTable was bijective. Of course, you could move the reverse translation method from Reversible... to Trans... and just add javadocs to Reversible... that states it should now be a bijective method. > Thomas. > _______________________________________________ > Biojava-l mailing list - [EMAIL PROTECTED] > http://biojava.org/mailman/listinfo/biojava-l __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l
