public class ScopDomain extends Object implements Serializable, Cloneable, StructureIdentifier
ScopDatabase.getDomainByScopID(String)| Constructor and Description |
|---|
ScopDomain() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
Set<String> |
getChains()
Returns the chains this domain is defined over; contains more than 1 element only if this domains is a multi-chain domain.
|
int |
getClassId() |
String |
getClassificationId() |
int |
getDomainId() |
int |
getFamilyId() |
int |
getFoldId() |
String |
getIdentifier()
Get the String form of this identifier.
|
String |
getPdbId() |
int |
getPx() |
List<String> |
getRanges() |
List<ResidueRange> |
getResidueRanges() |
String |
getScopId() |
int |
getSpeciesId() |
Integer |
getSunid() |
int |
getSuperfamilyId() |
Structure |
loadStructure(AtomCache cache)
Loads a structure encompassing the structure identified.
|
Structure |
reduce(Structure input)
Takes a complete structure as input and reduces it to the substructure
represented by this StructureIdentifier.
|
void |
setClassId(int classId) |
void |
setClassificationId(String classificationId) |
void |
setDomainId(int domainId) |
void |
setFamilyId(int familyId) |
void |
setFoldId(int foldId) |
void |
setPdbId(String pdbId) |
void |
setPx(int px) |
void |
setRanges(List<String> ranges) |
void |
setScopId(String scopId) |
void |
setSpeciesId(int speciesId) |
void |
setSunid(Integer sunid) |
void |
setSuperfamilyId(int superfamilyId) |
SubstructureIdentifier |
toCanonical()
Convert to a canonical SubstructureIdentifier.
|
String |
toString() |
public ScopDomain()
public String getClassificationId()
public void setClassificationId(String classificationId)
public int getClassId()
public void setClassId(int classId)
public int getFoldId()
public void setFoldId(int foldId)
public int getSuperfamilyId()
public void setSuperfamilyId(int superfamilyId)
public int getFamilyId()
public void setFamilyId(int familyId)
public int getDomainId()
public void setDomainId(int domainId)
public int getSpeciesId()
public void setSpeciesId(int speciesId)
public int getPx()
public void setPx(int px)
protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic Set<String> getChains()
public String getIdentifier()
StructureIdentifier#toString() method also return the
identifier, for consistency during serialization.getIdentifier in interface StructureIdentifierpublic List<ResidueRange> getResidueRanges()
public SubstructureIdentifier toCanonical()
StructureIdentifierThis allows all domains to be converted to a standard format String.
toCanonical in interface StructureIdentifierpublic Structure reduce(Structure input) throws StructureException
StructureIdentifierThe returned structure may be a shallow copy of the input, with shared Chains, Residues, etc.
reduce in interface StructureIdentifierinput - A full structure, e.g. as loaded from the PDB. The structure
ID should match that returned by getPdbId(), if applicable.StructureExceptionStructureTools.getReducedStructure(Structure, String)public Structure loadStructure(AtomCache cache) throws StructureException, IOException
StructureIdentifierStructureIdentifier.reduce(Structure).
It is recommended that the most complete structure available be returned
(e.g. the full PDB) to allow processing of unselected portions where
appropriate.loadStructure in interface StructureIdentifierStructureException - For errors loading and parsing the structureIOException - Errors reading the structure from diskCopyright © 2000–2017 BioJava. All rights reserved.