public class SimpleCodonPref extends AbstractChangeable implements CodonPref
Constructor and Description |
---|
SimpleCodonPref(String geneticCodeName,
Distribution codonPref,
String name) |
Modifier and Type | Method and Description |
---|---|
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.
|
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
public SimpleCodonPref(String geneticCodeName, Distribution codonPref, String name) throws IllegalAlphabetException
IllegalAlphabetException
public String getGeneticCodeName()
CodonPref
getGeneticCodeName
in interface CodonPref
public ManyToOneTranslationTable getGeneticCode()
CodonPref
getGeneticCode
in interface CodonPref
public Distribution getFrequency()
CodonPref
getFrequency
in interface CodonPref
public Distribution getFrequencyForSynonyms(Symbol residue) throws IllegalSymbolException
CodonPref
getFrequencyForSynonyms
in interface CodonPref
IllegalSymbolException
public WobbleDistribution getWobbleDistributionForSynonyms(Symbol residue) throws IllegalSymbolException
CodonPref
getWobbleDistributionForSynonyms
in interface CodonPref
IllegalSymbolException
Copyright © 2014 BioJava. All rights reserved.