Class PdbModresLine

    • Constructor Detail

      • PdbModresLine

        public PdbModresLine()
    • Method Detail

      • parse

        public static PdbModresLine parse​(String line)
        Parses text with MODRES line in PDB format.
        Parameters:
        line - A text with MODRES line in PDB format.
        Returns:
        An instance of this class with fields set to parsed values.
      • idCode

        @Parameter(order=1)
        public abstract String idCode()
        Returns:
        The value of the idCode attribute
      • residueName

        @Parameter(order=2)
        public abstract String residueName()
        Returns:
        The value of the residueName attribute
      • chainIdentifier

        @Parameter(order=3)
        public abstract String chainIdentifier()
        Specified by:
        chainIdentifier in interface ChainNumberICode
        Returns:
        The value of the chainIdentifier attribute
      • residueNumber

        @Parameter(order=4)
        public abstract int residueNumber()
        Specified by:
        residueNumber in interface ChainNumberICode
        Returns:
        The value of the residueNumber attribute
      • insertionCode

        @Parameter(order=5)
        public abstract String insertionCode()
        Specified by:
        insertionCode in interface ChainNumberICode
        Returns:
        The value of the insertionCode attribute
      • standardResidueName

        @Parameter(order=6)
        public abstract String standardResidueName()
        Returns:
        The value of the standardResidueName attribute
      • comment

        @Parameter(order=7)
        public abstract String comment()
        Returns:
        The value of the comment attribute
      • toPdb

        public final String toPdb()
        Returns:
        A line in PDB format.