Package pl.poznan.put.pdb
Class PdbNamedResidueIdentifier
java.lang.Object
pl.poznan.put.pdb.PdbNamedResidueIdentifier
- All Implemented Interfaces:
Serializable
,Comparable<ChainNumberICode>
,ChainNumberICode
- Direct Known Subclasses:
ImmutablePdbNamedResidueIdentifier
@Immutable
public abstract class PdbNamedResidueIdentifier
extends Object
implements ChainNumberICode, Serializable
Class that represents a residue identifier with a known name. In some cases, the name is known
only after post-processing e.g. when finding out the name of a residue based on the atom content.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
abstract char
abstract int
final PdbResidueIdentifier
final String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface pl.poznan.put.pdb.ChainNumberICode
compareTo
-
Constructor Details
-
PdbNamedResidueIdentifier
public PdbNamedResidueIdentifier()
-
-
Method Details
-
chainIdentifier
- Specified by:
chainIdentifier
in interfaceChainNumberICode
- Returns:
- The identifier of the chain a residue belongs to.
-
residueNumber
@Parameter(order=2) public abstract int residueNumber()- Specified by:
residueNumber
in interfaceChainNumberICode
- Returns:
- The number of a residue in the chain.
-
insertionCode
- Specified by:
insertionCode
in interfaceChainNumberICode
- Returns:
- Optional insertion code, used in some PDB and mmCIF files to represent "inserted" residues while maintaining the original numbering.
-
oneLetterName
@Parameter(order=4) public abstract char oneLetterName()- Returns:
- The one letter name of the residue.
-
toResidueIdentifier
- Returns:
- An instance of identifier without the oneLetterName field.
-
toString
-