Class PdbResidueIdentifier

    • Constructor Detail

      • PdbResidueIdentifier

        public PdbResidueIdentifier()
    • Method Detail

      • from

        public static PdbResidueIdentifier from​(ChainNumberICode chainNumberICode)
        Creates an instance of this class from any implementation of ChainNumberICode.
        Parameters:
        chainNumberICode - The instance of (chain, number, icode) to convert.
        Returns:
        An object that can be used to address specific residue.
      • chainIdentifier

        @Parameter(order=1)
        public abstract String chainIdentifier()
        Specified by:
        chainIdentifier in interface ChainNumberICode
        Returns:
        The identifier of the chain a residue belongs to.
      • residueNumber

        @Parameter(order=2)
        public abstract int residueNumber()
        Specified by:
        residueNumber in interface ChainNumberICode
        Returns:
        The number of a residue in the chain.
      • insertionCode

        @Parameter(order=3)
        public abstract String insertionCode()
        Specified by:
        insertionCode in interface ChainNumberICode
        Returns:
        Optional insertion code, used in some PDB and mmCIF files to represent "inserted" residues while maintaining the original numbering.