Class CaseFreeAminoAcidCompoundSet
- java.lang.Object
-
- org.biojava.nbio.aaproperties.xml.CaseFreeAminoAcidCompoundSet
-
- All Implemented Interfaces:
CompoundSet<AminoAcidCompound>
public class CaseFreeAminoAcidCompoundSet extends Object implements CompoundSet<AminoAcidCompound>
Set of proteinogenic amino acids. Molecular weights are recorded in daltons (Da) as residues of a chain; monomers outside of a chain would likely have an additional mass of 18.01524 Da contributed by an associated water molecule. Currently we have different symbols to handle inserts so not as clean as it should be- Author:
- Richard Holland, Scooter Willis, Mark Chapman
-
-
Constructor Summary
Constructors Constructor Description CaseFreeAminoAcidCompoundSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompoundsEquivalent(AminoAcidCompound compoundOne, AminoAcidCompound compoundTwo)List<AminoAcidCompound>getAllCompounds()static CaseFreeAminoAcidCompoundSetgetAminoAcidCompoundSet()AminoAcidCompoundgetCompoundForString(String string)Set<AminoAcidCompound>getEquivalentCompounds(AminoAcidCompound compound)intgetMaxSingleCompoundStringLength()StringgetStringForCompound(AminoAcidCompound compound)booleanhasCompound(AminoAcidCompound compound)booleanisComplementable()booleanisCompoundStringLengthEqual()booleanisValidSequence(Sequence<AminoAcidCompound> sequence)
-
-
-
Method Detail
-
getStringForCompound
public String getStringForCompound(AminoAcidCompound compound)
- Specified by:
getStringForCompoundin interfaceCompoundSet<AminoAcidCompound>
-
getCompoundForString
public AminoAcidCompound getCompoundForString(String string)
- Specified by:
getCompoundForStringin interfaceCompoundSet<AminoAcidCompound>
-
getMaxSingleCompoundStringLength
public int getMaxSingleCompoundStringLength()
- Specified by:
getMaxSingleCompoundStringLengthin interfaceCompoundSet<AminoAcidCompound>
-
isCompoundStringLengthEqual
public boolean isCompoundStringLengthEqual()
- Specified by:
isCompoundStringLengthEqualin interfaceCompoundSet<AminoAcidCompound>
-
getAminoAcidCompoundSet
public static CaseFreeAminoAcidCompoundSet getAminoAcidCompoundSet()
-
compoundsEquivalent
public boolean compoundsEquivalent(AminoAcidCompound compoundOne, AminoAcidCompound compoundTwo)
- Specified by:
compoundsEquivalentin interfaceCompoundSet<AminoAcidCompound>
-
getEquivalentCompounds
public Set<AminoAcidCompound> getEquivalentCompounds(AminoAcidCompound compound)
- Specified by:
getEquivalentCompoundsin interfaceCompoundSet<AminoAcidCompound>
-
hasCompound
public boolean hasCompound(AminoAcidCompound compound)
- Specified by:
hasCompoundin interfaceCompoundSet<AminoAcidCompound>
-
getAllCompounds
public List<AminoAcidCompound> getAllCompounds()
- Specified by:
getAllCompoundsin interfaceCompoundSet<AminoAcidCompound>
-
isComplementable
public boolean isComplementable()
- Specified by:
isComplementablein interfaceCompoundSet<AminoAcidCompound>
-
isValidSequence
public boolean isValidSequence(Sequence<AminoAcidCompound> sequence)
- Specified by:
isValidSequencein interfaceCompoundSet<AminoAcidCompound>
-
-