Package org.biojava.bio.symbol
Interface CodonPref
-
- All Known Implementing Classes:
SimpleCodonPref
public interface CodonPref
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DistributiongetFrequency()returns a Distribution giving the frequency of codons (sums to one over the totality of codons).DistributiongetFrequencyForSynonyms(Symbol residue)returns a Distribution giving the frequency of synonymous codons.ManyToOneTranslationTablegetGeneticCode()the genetic code that this codon preference is based on.StringgetGeneticCodeName()get the name of the genetic codeStringgetName()get name of objectWobbleDistributiongetWobbleDistributionForSynonyms(Symbol residue)returns a WobbleDistribution for a specified residue.
-
-
-
Method Detail
-
getGeneticCodeName
String getGeneticCodeName()
get the name of the genetic code
-
getGeneticCode
ManyToOneTranslationTable getGeneticCode()
the genetic code that this codon preference is based on.
-
getFrequency
Distribution getFrequency()
returns a Distribution giving the frequency of codons (sums to one over the totality of codons).
-
getFrequencyForSynonyms
Distribution getFrequencyForSynonyms(Symbol residue) throws IllegalSymbolException
returns a Distribution giving the frequency of synonymous codons. (sums to one over the total number of codons that encode that residue).- Throws:
IllegalSymbolException
-
getWobbleDistributionForSynonyms
WobbleDistribution getWobbleDistributionForSynonyms(Symbol residue) throws IllegalSymbolException
returns a WobbleDistribution for a specified residue.- Throws:
IllegalSymbolException
-
-