public class ProfeatPropertiesImpl extends java.lang.Object implements IProfeatProperties
IProfeatProperties.ATTRIBUTE, IProfeatProperties.DISTRIBUTION, IProfeatProperties.GROUPING, IProfeatProperties.TRANSITION
Constructor and Description |
---|
ProfeatPropertiesImpl() |
public double getComposition(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) throws java.lang.Exception
IProfeatProperties
getComposition
in interface IProfeatProperties
sequence
- a protein sequence consisting of non-ambiguous characters onlyattribute
- one of the seven attributes (Hydrophobicity, Volume, Polarity, Polarizability, Charge, SecondaryStructure or SolventAccessibility)group
- the grouping to be computedjava.lang.Exception
- throws Exception if attribute or group are unknownpublic double getTransition(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.TRANSITION transition) throws java.lang.Exception
IProfeatProperties
getTransition
in interface IProfeatProperties
sequence
- a protein sequence consisting of non-ambiguous characters onlyattribute
- one of the seven attributes (Hydrophobicity, Volume, Polarity, Polarizability, Charge, SecondaryStructure or SolventAccessibility)transition
- the interested transition between the groupsjava.lang.Exception
- throws Exception if attribute or group are unknownpublic double getDistributionPosition(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group, IProfeatProperties.DISTRIBUTION distribution) throws java.lang.Exception
IProfeatProperties
getDistributionPosition
in interface IProfeatProperties
sequence
- a protein sequence consisting of non-ambiguous characters onlyattribute
- one of the seven attributes (Hydrophobicity, Volume, Polarity, Polarizability, Charge, SecondaryStructure or SolventAccessibility)group
- one the three groups for the attributedistribution
- the distribution of the groupingjava.lang.Exception
- throws Exception if attribute or group are unknownpublic java.util.Map<IProfeatProperties.GROUPING,java.lang.Double> getComposition(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) throws java.lang.Exception
getComposition
in interface IProfeatProperties
java.lang.Exception
public java.util.Map<IProfeatProperties.ATTRIBUTE,java.util.Map<IProfeatProperties.GROUPING,java.lang.Double>> getComposition(ProteinSequence sequence) throws java.lang.Exception
getComposition
in interface IProfeatProperties
java.lang.Exception
public java.util.Map<IProfeatProperties.TRANSITION,java.lang.Double> getTransition(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) throws java.lang.Exception
getTransition
in interface IProfeatProperties
java.lang.Exception
public java.util.Map<IProfeatProperties.ATTRIBUTE,java.util.Map<IProfeatProperties.TRANSITION,java.lang.Double>> getTransition(ProteinSequence sequence) throws java.lang.Exception
getTransition
in interface IProfeatProperties
java.lang.Exception
public java.util.Map<IProfeatProperties.DISTRIBUTION,java.lang.Double> getDistributionPosition(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) throws java.lang.Exception
getDistributionPosition
in interface IProfeatProperties
java.lang.Exception
public java.util.Map<IProfeatProperties.GROUPING,java.util.Map<IProfeatProperties.DISTRIBUTION,java.lang.Double>> getDistributionPosition(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) throws java.lang.Exception
getDistributionPosition
in interface IProfeatProperties
java.lang.Exception
public java.util.Map<IProfeatProperties.ATTRIBUTE,java.util.Map<IProfeatProperties.GROUPING,java.util.Map<IProfeatProperties.DISTRIBUTION,java.lang.Double>>> getDistributionPosition(ProteinSequence sequence) throws java.lang.Exception
getDistributionPosition
in interface IProfeatProperties
java.lang.Exception