public class PeptideProperties extends Object
IPeptideProperties
,
PeptidePropertiesImpl
Modifier and Type | Class and Description |
---|---|
static class |
PeptideProperties.SingleLetterAACode
Enumeration of 20 standard amino acid code
|
Modifier and Type | Field and Description |
---|---|
static Set<Character> |
standardAASet
Contains the 20 standard AA code in a set
|
Constructor and Description |
---|
PeptideProperties() |
Modifier and Type | Method and Description |
---|---|
static Map<AminoAcidCompound,Double> |
getAAComposition(String sequence)
An adaptor method to return the composition of the 20 standard amino acid in the sequence.
|
static Map<Character,Double> |
getAACompositionChar(String sequence)
An adaptor method to return the composition of the 20 standard amino acid in the sequence.
|
static Map<String,Double> |
getAACompositionString(String sequence)
An adaptor method to return the composition of the 20 standard amino acid in the sequence.
|
static double |
getAbsorbance(String sequence,
boolean assumeCysReduced)
An adaptor method to returns the absorbance (optical density) of sequence.
|
static double |
getApliphaticIndex(String sequence)
An adaptor method to return the apliphatic index of sequence.
|
static double |
getAvgHydropathy(String sequence)
An adaptor method to return the average hydropathy value of sequence.
|
static int[] |
getChargesOfAminoAcids(String sequence)
Returns the array of charges of each amino acid in a protein.
|
static double |
getEnrichment(String sequence,
char aminoAcidCode)
An adaptor method to return the composition of specified amino acid in the sequence.
|
static double |
getEnrichment(String sequence,
PeptideProperties.SingleLetterAACode aminoAcidCode)
An adaptor method to return the composition of specified amino acid in the sequence.
|
static double |
getEnrichment(String sequence,
String aminoAcidCode)
An adaptor method to return the composition of specified amino acid in the sequence.
|
static double |
getExtinctionCoefficient(String sequence,
boolean assumeCysReduced)
An adaptor method to return the extinction coefficient of sequence.
|
static double |
getInstabilityIndex(String sequence)
An adaptor method to return the instability index of sequence.
|
static double |
getIsoelectricPoint(String sequence) |
static double |
getIsoelectricPoint(String sequence,
boolean useExpasyValues)
An adaptor method to return the isoelectric point of sequence.
|
static double |
getMolecularWeight(String sequence)
An adaptor method to return the molecular weight of sequence.
|
static double |
getMolecularWeight(String sequence,
File aminoAcidCompositionFile)
An adaptor method to return the molecular weight of sequence.
|
static double |
getMolecularWeight(String sequence,
File elementMassFile,
File aminoAcidCompositionFile)
An adaptor method to return the molecular weight of sequence.
|
static double |
getMolecularWeightBasedOnXML(String sequence,
AminoAcidCompositionTable aminoAcidCompositionTable)
An adaptor method that returns the molecular weight of sequence.
|
static double |
getNetCharge(String sequence) |
static double |
getNetCharge(String sequence,
boolean useExpasyValues) |
static double |
getNetCharge(String sequence,
boolean useExpasyValues,
double pHPoint)
An adaptor method to return the net charge of sequence at pH 7.
|
static int[] |
getPolarityOfAminoAcids(String sequence)
Returns the array of polarity values of each amino acid in a protein sequence.
|
static AminoAcidCompositionTable |
obtainAminoAcidCompositionTable(File aminoAcidCompositionFile)
An adaptor 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).
|
static AminoAcidCompositionTable |
obtainAminoAcidCompositionTable(File elementMassFile,
File aminoAcidCompositionFile)
An adaptor 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 static Set<Character> standardAASet
public PeptideProperties()
public static final double getMolecularWeight(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlypublic static final double getMolecularWeight(String sequence, File elementMassFile, File aminoAcidCompositionFile) throws FileNotFoundException, JAXBException
sequence
- 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 acidsFileNotFoundException
- thrown if either elementMassFile or aminoAcidCompositionFile are not foundJAXBException
- thrown if unable to properly parse either elementMassFile or aminoAcidCompositionFilepublic static final double getMolecularWeight(String sequence, File aminoAcidCompositionFile) throws FileNotFoundException, JAXBException
sequence
- 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 static final AminoAcidCompositionTable obtainAminoAcidCompositionTable(File aminoAcidCompositionFile) throws JAXBException, FileNotFoundException
aminoAcidCompositionFile
- 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 static final AminoAcidCompositionTable obtainAminoAcidCompositionTable(File elementMassFile, File aminoAcidCompositionFile) throws JAXBException, FileNotFoundException
elementMassFile
- 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 static double getMolecularWeightBasedOnXML(String sequence, AminoAcidCompositionTable aminoAcidCompositionTable)
sequence
- a protein sequence consisting of non-ambiguous characters onlyaminoAcidCompositionTable
- a amino acid composition table obtained by calling IPeptideProperties.obtainAminoAcidCompositionTablepublic static final double getAbsorbance(String sequence, boolean assumeCysReduced)
sequence
- 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 cystinespublic static final double getExtinctionCoefficient(String sequence, boolean assumeCysReduced)
sequence
- 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 cystinespublic static final double getInstabilityIndex(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlypublic static final double getApliphaticIndex(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlypublic static final double getAvgHydropathy(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlypublic static final double getIsoelectricPoint(String sequence, boolean useExpasyValues)
sequence
- a protein sequence consisting of non-ambiguous characters onlyuseExpasyValues
- whether to use Expasy values (Default) or Innovagen valuespublic static final double getIsoelectricPoint(String sequence)
public static final double getNetCharge(String sequence, boolean useExpasyValues, double pHPoint)
sequence
- 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.public static final double getNetCharge(String sequence, boolean useExpasyValues)
public static final double getNetCharge(String sequence)
public static final double getEnrichment(String sequence, PeptideProperties.SingleLetterAACode aminoAcidCode)
sequence
- a protein sequence consisting of non-ambiguous characters onlyaminoAcidCode
- the code of the amino acid to computePeptideProperties.SingleLetterAACode
public static final double getEnrichment(String sequence, char aminoAcidCode)
sequence
- a protein sequence consisting of non-ambiguous characters onlyaminoAcidCode
- the code of the amino acid to computepublic static final double getEnrichment(String sequence, String aminoAcidCode)
sequence
- a protein sequence consisting of non-ambiguous characters onlyaminoAcidCode
- the code of the amino acid to computepublic static final Map<AminoAcidCompound,Double> getAAComposition(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlyAminoAcidCompound
public static final Map<String,Double> getAACompositionString(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlypublic static final Map<Character,Double> getAACompositionChar(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlypublic static final int[] getChargesOfAminoAcids(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlypublic static final int[] getPolarityOfAminoAcids(String sequence)
sequence
- a protein sequence consisting of non-ambiguous characters onlyCopyright © 2000–2019 BioJava. All rights reserved.