Class ModifiedAminoAcidCompoundSet
java.lang.Object
org.biojava.nbio.aaproperties.xml.ModifiedAminoAcidCompoundSet
- All Implemented Interfaces:
CompoundSet<AminoAcidCompound>
-
Constructor Summary
ConstructorsConstructorDescriptionModifiedAminoAcidCompoundSet(List<AminoAcidComposition> aaList, Map<Character, Double> aaSymbol2MolecularWeight) -
Method Summary
Modifier and TypeMethodDescriptionbooleancompoundsEquivalent(AminoAcidCompound compoundOne, AminoAcidCompound compoundTwo) getCompoundForString(String string) Return null if not recognised.getEquivalentCompounds(AminoAcidCompound compound) intReturns the maximum size of a compound String this set holdsgetStringForCompound(AminoAcidCompound compound) booleanhasCompound(AminoAcidCompound compound) booleanbooleanReturns true if all String representations of Compounds are of the same length.booleanisValidSequence(Sequence<AminoAcidCompound> sequence)
-
Constructor Details
-
ModifiedAminoAcidCompoundSet
public ModifiedAminoAcidCompoundSet(List<AminoAcidComposition> aaList, Map<Character, Double> aaSymbol2MolecularWeight)
-
-
Method Details
-
getMaxSingleCompoundStringLength
Description copied from interface:CompoundSetReturns the maximum size of a compound String this set holds- Specified by:
getMaxSingleCompoundStringLengthin interfaceCompoundSet<AminoAcidCompound>
-
isCompoundStringLengthEqual
Description copied from interface:CompoundSetReturns true if all String representations of Compounds are of the same length.- Specified by:
isCompoundStringLengthEqualin interfaceCompoundSet<AminoAcidCompound>
-
getCompoundForString
Description copied from interface:CompoundSetReturn null if not recognised. Throw IllegalArgumentException if string is longer than maximum allowed byCompoundSet.getStringForCompound(Compound).- Specified by:
getCompoundForStringin interfaceCompoundSet<AminoAcidCompound>
-
getStringForCompound
- Specified by:
getStringForCompoundin interfaceCompoundSet<AminoAcidCompound>
-
compoundsEquivalent
- Specified by:
compoundsEquivalentin interfaceCompoundSet<AminoAcidCompound>
-
getEquivalentCompounds
- Specified by:
getEquivalentCompoundsin interfaceCompoundSet<AminoAcidCompound>
-
hasCompound
- Specified by:
hasCompoundin interfaceCompoundSet<AminoAcidCompound>
-
getAllCompounds
- Specified by:
getAllCompoundsin interfaceCompoundSet<AminoAcidCompound>
-
isComplementable
- Specified by:
isComplementablein interfaceCompoundSet<AminoAcidCompound>
-
isValidSequence
- Specified by:
isValidSequencein interfaceCompoundSet<AminoAcidCompound>
-