Package pl.poznan.put.pdb
Class PdbRemark465Line
java.lang.Object
pl.poznan.put.pdb.PdbRemark465Line
- All Implemented Interfaces:
Serializable
,Comparable<ChainNumberICode>
,ChainNumberICode
- Direct Known Subclasses:
ImmutablePdbRemark465Line
A representation of REMARK 465 in PDB format which describes missing residues.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
static boolean
isCommentLine
(String line) Checks ifline
is just a comment or a line with actual information.abstract int
static PdbRemark465Line
Parses a line of text to create an instance of this class.abstract String
abstract int
final String
toPdb()
final PdbResidue
Creates an instance ofDefaultPdbResidue
marked as missing and without atoms.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
-
Field Details
-
PROLOGUE
- See Also:
-
-
Constructor Details
-
PdbRemark465Line
public PdbRemark465Line()
-
-
Method Details
-
isCommentLine
Checks ifline
is just a comment or a line with actual information.- Parameters:
line
- A line of text.- Returns:
- True if
line
contains a comment only.
-
parse
Parses a line of text to create an instance of this class.- Parameters:
line
- A line of text starting with REMARK 465.- Returns:
- An instance of this class
-
modelNumber
@Parameter(order=1) public abstract int modelNumber()- Returns:
- The value of the
modelNumber
attribute
-
residueName
- Returns:
- The value of the
residueName
attribute
-
chainIdentifier
- Specified by:
chainIdentifier
in interfaceChainNumberICode
- Returns:
- The value of the
chainIdentifier
attribute
-
residueNumber
@Parameter(order=4) public abstract int residueNumber()- Specified by:
residueNumber
in interfaceChainNumberICode
- Returns:
- The value of the
residueNumber
attribute
-
insertionCode
- Specified by:
insertionCode
in interfaceChainNumberICode
- Returns:
- The value of the
insertionCode
attribute
-
toString
-
toPdb
- Returns:
- A line in PDB format.
-
toResidue
Creates an instance ofDefaultPdbResidue
marked as missing and without atoms.- Returns:
- An instance of a missing residue.
-