Class AminoAcidCompositionTable
java.lang.Object
org.biojava.nbio.aaproperties.xml.AminoAcidCompositionTable
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
computeMolecularWeight
(ElementTable eTable) Computes and store the molecular weight of each amino acid by its symbol in aaSymbol2MolecularWeight.double
getMolecularWeight
(Character aaSymbol) void
setAminoacid
(List<AminoAcidComposition> aminoacid)
-
Constructor Details
-
AminoAcidCompositionTable
public AminoAcidCompositionTable() -
AminoAcidCompositionTable
-
-
Method Details
-
getAminoAcidCompoundSet
-
getAminoacid
-
setAminoacid
-
getSymbolSet
-
computeMolecularWeight
Computes and store the molecular weight of each amino acid by its symbol in aaSymbol2MolecularWeight.- Parameters:
eTable
- Stores the mass of elements and isotopes
-
getMolecularWeight
- Parameters:
aaSymbol
- Standard symbol of Amino Acid- Returns:
- the molecular weight given its symbol
- Throws:
NullPointerException
- thrown if AminoAcidCompositionTable.computeMolecularWeight(ElementTable) is not called before this method
-