public class EcodDomain extends Object implements Serializable, Cloneable, StructureIdentifier
For detailed explanation about the ECOD information see the original article at: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4256011.
Cheng H, Schaeffer RD, Liao Y, et al. ECOD: An Evolutionary Classification of Protein Domains. Elofsson A, ed. PLoS Computational Biology. 2014;10(12):e1003926.
Constructor and Description |
---|
EcodDomain()
Default constructor with all null properties
|
EcodDomain(EcodDomain o) |
EcodDomain(Long uid,
String domainId,
Boolean manual,
Integer xGroup,
Integer hGroup,
Integer tGroup,
Integer fGroup,
String pdbId,
String chainId,
String range,
String architectureName,
String xGroupName,
String hGroupName,
String tGroupName,
String fGroupName,
Long assemblyId,
Set<String> ligands) |
EcodDomain(Long uid,
String domainId,
Boolean manual,
Integer xGroup,
Integer hGroup,
Integer tGroup,
Integer fGroup,
String pdbId,
String chainId,
String range,
String seqId,
String architectureName,
String xGroupName,
String hGroupName,
String tGroupName,
String fGroupName,
Long assemblyId,
Set<String> ligands) |
EcodDomain(String domainId) |
Modifier and Type | Method and Description |
---|---|
protected Object |
clone() |
boolean |
equals(Object obj) |
String |
getArchitectureName() |
Long |
getAssemblyId() |
String |
getChainId() |
String |
getDomainId() |
Integer |
getFGroup() |
String |
getFGroupName() |
Integer |
getHGroup() |
String |
getHGroupName() |
String |
getIdentifier()
Get the String form of this identifier.
|
Set<String> |
getLigands() |
Boolean |
getManual() |
String |
getPdbId() |
String |
getRange()
Get the range of this domain, in PDB residue numbers (mmCif's
_pdbx_poly_seq_scheme.pdb_seq_num and pdb_ins_code).
|
List<ResidueRange> |
getResidueRanges() |
String |
getSeqIdRange()
Get the range of this domain, in 1-based residue indices (mmCif's
_pdbx_poly_seq_scheme.seq_id)
Note that
getRange() is used when constructing the domain. |
Integer |
getTGroup() |
String |
getTGroupName() |
Long |
getUid() |
Integer |
getXGroup() |
String |
getXGroupName() |
int |
hashCode() |
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 |
setArchitectureName(String architectureName) |
void |
setAssemblyId(Long assemblyId) |
void |
setChainId(String chainId) |
void |
setDomainId(String domainId) |
void |
setFGroup(Integer fGroup) |
void |
setFGroupName(String fGroupName) |
void |
setGroupName(String tGroupName) |
void |
setHGroup(Integer hGroup) |
void |
setHGroupName(String hGroupName) |
void |
setLigands(Set<String> ligands) |
void |
setManual(Boolean manual) |
void |
setPdbId(String pdbId) |
void |
setRange(String range) |
void |
setSeqIdRange(String seqIdRange) |
void |
setTGroup(Integer tGroup) |
void |
setUid(Long uid) |
void |
setXGroup(Integer xGroup) |
void |
setXGroupName(String xGroupName) |
SubstructureIdentifier |
toCanonical()
Convert to a canonical SubstructureIdentifier.
|
String |
toString() |
public EcodDomain()
public EcodDomain(Long uid, String domainId, Boolean manual, Integer xGroup, Integer hGroup, Integer tGroup, Integer fGroup, String pdbId, String chainId, String range, String architectureName, String xGroupName, String hGroupName, String tGroupName, String fGroupName, Long assemblyId, Set<String> ligands)
public EcodDomain(Long uid, String domainId, Boolean manual, Integer xGroup, Integer hGroup, Integer tGroup, Integer fGroup, String pdbId, String chainId, String range, String seqId, String architectureName, String xGroupName, String hGroupName, String tGroupName, String fGroupName, Long assemblyId, Set<String> ligands)
public EcodDomain(String domainId)
public EcodDomain(EcodDomain o)
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public Long getUid()
public void setUid(Long uid)
public String getDomainId()
public void setDomainId(String domainId)
public Boolean getManual()
public void setManual(Boolean manual)
public Integer getXGroup()
public void setXGroup(Integer xGroup)
public Integer getHGroup()
public void setHGroup(Integer hGroup)
public Integer getTGroup()
public void setTGroup(Integer tGroup)
public Integer getFGroup()
public void setFGroup(Integer fGroup)
public String getPdbId()
public void setPdbId(String pdbId)
public String getChainId()
public void setChainId(String chainId)
public String getRange()
public void setRange(String range)
public String getSeqIdRange()
getRange()
is used when constructing the domain.public void setSeqIdRange(String seqIdRange)
public String getArchitectureName()
public void setArchitectureName(String architectureName)
public String getXGroupName()
public void setXGroupName(String xGroupName)
public String getHGroupName()
public void setHGroupName(String hGroupName)
public String getTGroupName()
public void setGroupName(String tGroupName)
public String getFGroupName()
public void setFGroupName(String fGroupName)
public Long getAssemblyId()
public void setAssemblyId(Long assemblyId)
public String getIdentifier()
StructureIdentifier
#toString()
method also return the
identifier, for consistency during serialization.getIdentifier
in interface StructureIdentifier
public List<ResidueRange> getResidueRanges()
public SubstructureIdentifier toCanonical()
StructureIdentifier
This allows all domains to be converted to a standard format String.
toCanonical
in interface StructureIdentifier
public Structure reduce(Structure input) throws StructureException
StructureIdentifier
The returned structure may be a shallow copy of the input, with shared Chains, Residues, etc.
reduce
in interface StructureIdentifier
input
- A full structure, e.g. as loaded from the PDB. The structure
ID should match that returned by getPdbId(), if applicable.StructureException
StructureTools.getReducedStructure(Structure, String)
public Structure loadStructure(AtomCache cache) throws StructureException, IOException
StructureIdentifier
StructureIdentifier.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 StructureIdentifier
StructureException
- For errors loading and parsing the structureIOException
- Errors reading the structure from diskCopyright © 2000–2016 BioJava. All rights reserved.