Class DefaultPdbResidue

    • Constructor Detail

      • DefaultPdbResidue

        public DefaultPdbResidue()
    • Method Detail

      • fromBioJavaGroup

        public static PdbResidue fromBioJavaGroup​(org.biojava.nbio.structure.Group group)
        Creates an instance of this class from Group object defined in BioJava.
        Parameters:
        group - A BioJava counterpart.
        Returns:
        An instance of this class with contents equal to those from the BioJava counterpart.
      • standardResidueName

        @Parameter(order=2)
        public abstract String standardResidueName()
        Specified by:
        standardResidueName in interface PdbResidue
        Returns:
        The usual name of the residue. For example, a pseudouridine will be seen as uracil here.
      • modifiedResidueName

        @Parameter(order=3)
        public abstract String modifiedResidueName()
        Specified by:
        modifiedResidueName in interface PdbResidue
        Returns:
        The name of the residue as read from PDB or mmCIF file.
      • atomNames

        @Lazy
        public Set<AtomName> atomNames()
        Specified by:
        atomNames in interface PdbResidue
        Returns:
        The set of all atom names available in this residue.
      • hasAllHeavyAtoms

        @Lazy
        public boolean hasAllHeavyAtoms()
        Description copied from interface: PdbResidue
        Compares the set of actual atoms in this residue with the set of expected atoms derived from the detected type of residue.
        Specified by:
        hasAllHeavyAtoms in interface PdbResidue
        Returns:
        True if all expected heavy atoms (non-hydrogen) for this residue type are present in this residue.