Package org.biojava.bio.symbol
Interface CodonPref
- All Known Implementing Classes:
SimpleCodonPref
public interface CodonPref
-
Method Summary
Modifier and TypeMethodDescriptionreturns a Distribution giving the frequency of codons (sums to one over the totality of codons).getFrequencyForSynonyms
(Symbol residue) returns a Distribution giving the frequency of synonymous codons.the genetic code that this codon preference is based on.get the name of the genetic codegetName()
get name of objectgetWobbleDistributionForSynonyms
(Symbol residue) returns a WobbleDistribution for a specified residue.
-
Method Details
-
getName
get name of object -
getGeneticCodeName
get the name of the genetic code -
getGeneticCode
the genetic code that this codon preference is based on. -
getFrequency
returns a Distribution giving the frequency of codons (sums to one over the totality of codons). -
getFrequencyForSynonyms
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
returns a WobbleDistribution for a specified residue.- Throws:
IllegalSymbolException
-