|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.utils.AbstractChangeable
org.biojava.bio.symbol.SimpleCodonPref
public class SimpleCodonPref
a simple no-frills implementation of the CodonPref object that encapsulates codon preference data.
| Constructor Summary | |
|---|---|
SimpleCodonPref(String geneticCodeName,
Distribution codonPref,
String name)
|
|
| Method Summary | |
|---|---|
Distribution |
getFrequency()
returns a Distribution giving the frequency of codons (sums to one over the totality of codons). |
Distribution |
getFrequencyForSynonyms(Symbol residue)
returns a Distribution giving the frequency of synonymous codons. |
ManyToOneTranslationTable |
getGeneticCode()
the genetic code that this codon preference is based on. |
String |
getGeneticCodeName()
get the name of the genetic code |
String |
getName()
get name of object |
WobbleDistribution |
getWobbleDistributionForSynonyms(Symbol residue)
returns a WobbleDistribution for a specified residue. |
| Methods inherited from class org.biojava.utils.AbstractChangeable |
|---|
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleCodonPref(String geneticCodeName,
Distribution codonPref,
String name)
throws IllegalAlphabetException
IllegalAlphabetException| Method Detail |
|---|
public String getName()
CodonPref
getName in interface CodonPrefpublic String getGeneticCodeName()
CodonPref
getGeneticCodeName in interface CodonPrefpublic ManyToOneTranslationTable getGeneticCode()
CodonPref
getGeneticCode in interface CodonPrefpublic Distribution getFrequency()
CodonPref
getFrequency in interface CodonPref
public Distribution getFrequencyForSynonyms(Symbol residue)
throws IllegalSymbolException
CodonPref
getFrequencyForSynonyms in interface CodonPrefIllegalSymbolException
public WobbleDistribution getWobbleDistributionForSynonyms(Symbol residue)
throws IllegalSymbolException
CodonPref
getWobbleDistributionForSynonyms in interface CodonPrefIllegalSymbolException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||