java.lang.Object
de.grogra.ext.pdb.model.Protein
- All Implemented Interfaces:
IProtein
- Author:
- fdill, mdube The protein contains the sequences as a vector. It also provides a text output. RH20060629 changed variable name 'enum' to 'e' to avoid problems with java 1.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAminoSequence(AminoSequence sequence) getAcidName(int sequence, int acid) getAtomName(int sequence, int acid, int atom) getElement(int sequence, int acid, int atom) getName()intgetNumberOfAcids(int sequence) intgetNumberOfAtoms(int sequence, int acid) intintgetResSeqNr(int sequence, int acid) floatgetXCoord(int sequence, int acid, int atom) floatgetYCoord(int sequence, int acid, int atom) floatgetZCoord(int sequence, int acid, int atom) voidtext output for testing
-
Constructor Details
-
Protein
- Parameters:
proteinName- - the name of the protein
-
Protein
public Protein()
-
-
Method Details
-
addAminoSequence
- Parameters:
sequence- - a sequence to be added to this protein
-
textOutput
public void textOutput()text output for testing -
getAminoSequences
- Returns:
- - a vector containing the amino sequences of the type @link AminoSequence of this protein
-
getName
- Returns:
- - the name of the protein
-
getAcidName
- Specified by:
getAcidNamein interfaceIProtein- See Also:
-
getResSeqNr
public int getResSeqNr(int sequence, int acid) - Specified by:
getResSeqNrin interfaceIProtein- See Also:
-
getXCoord
public float getXCoord(int sequence, int acid, int atom) -
getYCoord
public float getYCoord(int sequence, int acid, int atom) -
getZCoord
public float getZCoord(int sequence, int acid, int atom) -
getElement
- Specified by:
getElementin interfaceIProtein- See Also:
-
getAtomName
- Specified by:
getAtomNamein interfaceIProtein- See Also:
-
getNumberOfSequences
public int getNumberOfSequences()- Specified by:
getNumberOfSequencesin interfaceIProtein- See Also:
-
getNumberOfAcids
public int getNumberOfAcids(int sequence) - Specified by:
getNumberOfAcidsin interfaceIProtein- See Also:
-
getNumberOfAtoms
public int getNumberOfAtoms(int sequence, int acid) - Specified by:
getNumberOfAtomsin interfaceIProtein- See Also:
-