public class AminoAcidCompositionTable
extends java.lang.Object
Constructor and Description |
---|
AminoAcidCompositionTable() |
AminoAcidCompositionTable(java.util.List<AminoAcidComposition> aaList) |
Modifier and Type | Method and Description |
---|---|
void |
computeMolecularWeight(ElementTable eTable)
Computes and store the molecular weight of each amino acid by its symbol in aaSymbol2MolecularWeight.
|
java.util.List<AminoAcidComposition> |
getAminoacid() |
ModifiedAminoAcidCompoundSet |
getAminoAcidCompoundSet() |
double |
getMolecularWeight(java.lang.Character aaSymbol) |
java.util.Set<java.lang.Character> |
getSymbolSet() |
void |
setAminoacid(java.util.List<AminoAcidComposition> aminoacid) |
public AminoAcidCompositionTable()
public AminoAcidCompositionTable(java.util.List<AminoAcidComposition> aaList)
public ModifiedAminoAcidCompoundSet getAminoAcidCompoundSet()
public java.util.List<AminoAcidComposition> getAminoacid()
public void setAminoacid(java.util.List<AminoAcidComposition> aminoacid)
public java.util.Set<java.lang.Character> getSymbolSet()
public void computeMolecularWeight(ElementTable eTable)
eTable
- Stores the mass of elements and isotopespublic double getMolecularWeight(java.lang.Character aaSymbol) throws java.lang.NullPointerException
aaSymbol
- Standard symbol of Amino Acidjava.lang.NullPointerException
- thrown if AminoAcidCompositionTable.computeMolecularWeight(ElementTable) is not called before this method