public class PeptidePropertiesImpl extends Object implements IPeptideProperties
IPeptideProperties,
PeptideProperties| Constructor and Description |
|---|
PeptidePropertiesImpl() |
| Modifier and Type | Method and Description |
|---|---|
Map<AminoAcidCompound,Double> |
getAAComposition(ProteinSequence sequence)
Returns the composition of the 20 standard amino acid in the sequence.
|
double |
getAbsorbance(ProteinSequence sequence,
boolean assumeCysReduced)
Returns the absorbance (optical density) of sequence.
|
double |
getApliphaticIndex(ProteinSequence sequence)
Returns the apliphatic index of sequence.
|
double |
getAvgHydropathy(ProteinSequence sequence)
Returns the average hydropathy value of sequence.
|
double |
getEnrichment(ProteinSequence sequence,
AminoAcidCompound aminoAcidCode)
Returns the composition of specified amino acid in the sequence.
|
double |
getExtinctionCoefficient(ProteinSequence sequence,
boolean assumeCysReduced)
Returns the extinction coefficient of sequence.
|
double |
getInstabilityIndex(ProteinSequence sequence)
Returns the instability index of sequence.
|
double |
getIsoelectricPoint(ProteinSequence sequence) |
double |
getIsoelectricPoint(ProteinSequence sequence,
boolean useExpasyValues)
Returns the isoelectric point of sequence.
|
double |
getMolecularWeight(ProteinSequence sequence)
Returns the molecular weight of sequence.
|
double |
getMolecularWeight(ProteinSequence sequence,
File aminoAcidCompositionFile)
Returns the molecular weight of sequence.
|
double |
getMolecularWeight(ProteinSequence sequence,
File elementMassFile,
File aminoAcidCompositionFile)
Returns the molecular weight of sequence.
|
double |
getMolecularWeightBasedOnXML(ProteinSequence sequence,
AminoAcidCompositionTable aminoAcidCompositionTable)
Returns the molecular weight of sequence.
|
double |
getNetCharge(ProteinSequence sequence) |
double |
getNetCharge(ProteinSequence sequence,
boolean useExpasyValues) |
double |
getNetCharge(ProteinSequence sequence,
boolean useExpasyValues,
double pHPoint)
Returns the net charge of sequence at pH 7.
|
AminoAcidCompositionTable |
obtainAminoAcidCompositionTable(File aminoAcidCompositionFile)
This method would initialize amino acid composition table based on the input xml files and stores the table for usage in future calls to
IPeptideProperties.getMolecularWeightBasedOnXML(ProteinSequence, AminoAcidCompositionTable).
|
AminoAcidCompositionTable |
obtainAminoAcidCompositionTable(File elementMassFile,
File aminoAcidCompositionFile)
This method would initialize amino acid composition table based on the input xml files and stores the table for usage in future calls to
IPeptideProperties.getMolecularWeightBasedOnXML(ProteinSequence, AminoAcidCompositionTable).
|
public double getMolecularWeight(ProteinSequence sequence)
IPeptidePropertiesgetMolecularWeight in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyProteinSequencepublic double getMolecularWeight(ProteinSequence sequence, File aminoAcidCompositionFile) throws JAXBException, FileNotFoundException
IPeptidePropertiesgetMolecularWeight in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters only
xml file that details the mass of each elements and isotopesaminoAcidCompositionFile - xml file that details the composition of amino acidsJAXBException - thrown if unable to properly parse either elementMassFile or aminoAcidCompositionFileFileNotFoundException - thrown if either elementMassFile or aminoAcidCompositionFile are not foundpublic double getMolecularWeight(ProteinSequence sequence, File elementMassFile, File aminoAcidCompositionFile) throws JAXBException, FileNotFoundException
IPeptidePropertiesgetMolecularWeight in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyelementMassFile - xml file that details the mass of each elements and isotopesaminoAcidCompositionFile - xml file that details the composition of amino acidsJAXBException - thrown if unable to properly parse either elementMassFile or aminoAcidCompositionFileFileNotFoundException - thrown if either elementMassFile or aminoAcidCompositionFile are not foundpublic double getMolecularWeightBasedOnXML(ProteinSequence sequence, AminoAcidCompositionTable aminoAcidCompositionTable)
IPeptidePropertiesgetMolecularWeightBasedOnXML in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyaminoAcidCompositionTable - a amino acid composition table obtained by calling IPeptideProperties.obtainAminoAcidCompositionTablepublic AminoAcidCompositionTable obtainAminoAcidCompositionTable(File aminoAcidCompositionFile) throws JAXBException, FileNotFoundException
IPeptidePropertiesobtainAminoAcidCompositionTable in interface IPeptidePropertiesaminoAcidCompositionFile - xml file that details the composition of amino acidsJAXBException - thrown if unable to properly parse either elementMassFile or aminoAcidCompositionFileFileNotFoundException - thrown if either elementMassFile or aminoAcidCompositionFile are not foundpublic AminoAcidCompositionTable obtainAminoAcidCompositionTable(File elementMassFile, File aminoAcidCompositionFile) throws JAXBException, FileNotFoundException
IPeptidePropertiesobtainAminoAcidCompositionTable in interface IPeptidePropertieselementMassFile - xml file that details the mass of each elements and isotopesaminoAcidCompositionFile - xml file that details the composition of amino acidsJAXBException - thrown if unable to properly parse either elementMassFile or aminoAcidCompositionFileFileNotFoundException - thrown if either elementMassFile or aminoAcidCompositionFile are not foundpublic double getExtinctionCoefficient(ProteinSequence sequence, boolean assumeCysReduced)
IPeptidePropertiesgetExtinctionCoefficient in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyassumeCysReduced - true if Cys are assumed to be reduced and false if Cys are
assumed to form cystinesProteinSequencepublic double getAbsorbance(ProteinSequence sequence, boolean assumeCysReduced)
IPeptidePropertiesgetAbsorbance in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyassumeCysReduced - true if Cys are assumed to be reduced and false if Cys are
assumed to form cystinesProteinSequencepublic double getInstabilityIndex(ProteinSequence sequence)
IPeptidePropertiesgetInstabilityIndex in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyProteinSequencepublic double getApliphaticIndex(ProteinSequence sequence)
IPeptidePropertiesgetApliphaticIndex in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyProteinSequencepublic double getAvgHydropathy(ProteinSequence sequence)
IPeptidePropertiesgetAvgHydropathy in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyProteinSequencepublic double getIsoelectricPoint(ProteinSequence sequence, boolean useExpasyValues)
IPeptidePropertiesgetIsoelectricPoint in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyuseExpasyValues - whether to use Expasy values (Default) or Innovagen valuesProteinSequencepublic double getIsoelectricPoint(ProteinSequence sequence)
getIsoelectricPoint in interface IPeptidePropertiespublic double getNetCharge(ProteinSequence sequence)
getNetCharge in interface IPeptidePropertiespublic double getNetCharge(ProteinSequence sequence, boolean useExpasyValues)
getNetCharge in interface IPeptidePropertiespublic double getNetCharge(ProteinSequence sequence, boolean useExpasyValues, double pHPoint)
IPeptidePropertiesgetNetCharge in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyuseExpasyValues - whether to use Expasy values (Default) or Innovagen valuespHPoint - the pH value to use for computation of the net charge. Default at 7.ProteinSequencepublic double getEnrichment(ProteinSequence sequence, AminoAcidCompound aminoAcidCode)
IPeptidePropertiesgetEnrichment in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyaminoAcidCode - the code of the amino acid to computeProteinSequence,
AminoAcidCompoundpublic Map<AminoAcidCompound,Double> getAAComposition(ProteinSequence sequence)
IPeptidePropertiesgetAAComposition in interface IPeptidePropertiessequence - a protein sequence consisting of non-ambiguous characters onlyProteinSequence,
AminoAcidCompoundCopyright © 2000–2016 BioJava. All rights reserved.