Package org.biojava.nbio.structure
Class Site
java.lang.Object
org.biojava.nbio.structure.Site
- All Implemented Interfaces:
Serializable,Comparable<Site>,PDBRecord
Holds the data of sites presented in PDB files.
Example from the PDB flatfile:
Example from the PDB flatfile:
SITE 1 AC1 3 GLY A 65 CYS A 67 HOH A 180
SITE 1 AC2 10 HIS C 37 ALA C 39 THR C 152 LEU C 153
SITE 2 AC2 10 HIS D 37 ALA D 39 THR D 152 LEU D 153
SITE 3 AC2 10 SER D 154 GOL D 172
- Author:
- Amr ALHOSSARY, Jules Jacobsen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangets the REMARK 800 description of the sitegets the REMARK 800 EVIDENCE CODE for the site.inthashCode()Provides REMARK 800 section pertaining to the site as a string.voidremark800toPDB(StringBuffer stringBuffer) Appends the REMARK 800 section pertaining to the site onto the end of the StringBuffer provided.voidsetDescription(String description) sets the REMARK 800 description of the sitevoidsets the REMARK 800 EVIDENCE CODE for the site.voidvoidtoPDB()Returns a PDB file like representation of this record.voidtoPDB(StringBuffer buf) Appends a PDB file like representation of this record to the provided StringBuffer.toString()
-
Constructor Details
-
Site
public Site() -
Site
-
-
Method Details
-
toString
-
toPDB
Description copied from interface:PDBRecordReturns a PDB file like representation of this record. -
toPDB
Description copied from interface:PDBRecordAppends a PDB file like representation of this record to the provided StringBuffer. -
remark800toPDB
Appends the REMARK 800 section pertaining to the site onto the end of the StringBuffer provided. For example in pdb 1a4w: REMARK 800 SITE_IDENTIFIER: CAT REMARK 800 EVIDENCE_CODE: UNKNOWN REMARK 800 SITE_DESCRIPTION: ACTIVE SITE- Parameters:
stringBuffer-
-
remark800toPDB
Provides REMARK 800 section pertaining to the site as a string. For example in pdb 1a4w: REMARK 800 SITE_IDENTIFIER: CAT REMARK 800 EVIDENCE_CODE: UNKNOWN REMARK 800 SITE_DESCRIPTION: ACTIVE SITE -
setSiteID
- Parameters:
siteID- the siteID to set e.g. CAT, AC1, AC2...
-
getSiteID
- Returns:
- the siteID e.g. CAT, AC1, AC2...
-
getGroups
- Returns:
- the groups
-
setGroups
- Parameters:
residues- the groups to set
-
getDescription
gets the REMARK 800 description of the site- Returns:
- description
-
setDescription
sets the REMARK 800 description of the site -
getEvCode
gets the REMARK 800 EVIDENCE CODE for the site.- Returns:
- evidence code
-
setEvCode
sets the REMARK 800 EVIDENCE CODE for the site. -
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<Site>
-