Package pl.poznan.put.pdb.analysis
Class PdbChain
- java.lang.Object
-
- pl.poznan.put.pdb.analysis.PdbChain
-
- All Implemented Interfaces:
Serializable,Comparable<PdbChain>,ResidueCollection,SingleTypedResidueCollection
- Direct Known Subclasses:
ImmutablePdbChain
@Immutable public abstract class PdbChain extends Object implements Comparable<PdbChain>, SingleTypedResidueCollection
A chain in a structure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdbChain()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(PdbChain t)static PdbChainfromBioJavaChain(org.biojava.nbio.structure.Chain chain)Creates an instance of this class from a chain instance from BioJava.abstract Stringidentifier()abstract List<PdbResidue>residues()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.poznan.put.pdb.analysis.ResidueCollection
filteredAtoms, findBondLengthViolations, findResidue, hasResidue, indexOf, namedResidueIdentifiers, residueIdentifiers, sequence, toCif, toPdb, withoutAlternateLocations
-
Methods inherited from interface pl.poznan.put.pdb.analysis.SingleTypedResidueCollection
moleculeType
-
-
-
-
Method Detail
-
fromBioJavaChain
public static PdbChain fromBioJavaChain(org.biojava.nbio.structure.Chain chain)
Creates an instance of this class from a chain instance from BioJava.- Parameters:
chain- An instance of Chain from BioJava.- Returns:
- An instance of this class with data converted from BioJava chain.
-
identifier
@Parameter(order=1) public abstract String identifier()
- Returns:
- The chain identifier.
-
residues
@Parameter(order=2) public abstract List<PdbResidue> residues()
- Specified by:
residuesin interfaceResidueCollection- Returns:
- The list of residues.
-
compareTo
public final int compareTo(@Nonnull PdbChain t)
- Specified by:
compareToin interfaceComparable<PdbChain>
-
-