Package org.biojava.nbio.structure.cath
Class CathDomain
java.lang.Object
org.biojava.nbio.structure.cath.CathDomain
- All Implemented Interfaces:
- Serializable,- StructureIdentifier
A class which represents a single CATH domain.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetCATH()Returns the chains this domain is defined over; contains more than 1 element only if this domains is a multi-chain domain.getClassificationId(CathCategory cathCategory) getDate()Get the String form of this identifier.getName()Returns a string of the formPDBID.CHAIN.getSOILD()Returns the PDB ID.loadStructure(AtomCache cache) Loads a structure encompassing the structure identified.Takes a complete structure as input and reduces it to the substructure represented by this StructureIdentifier.voidsetArchitectureId(Integer architectureId) voidvoidsetClassId(Integer classId) voidsetComment(String comment) voidvoidsetDomainCounter(Integer domainCounter) voidsetDomainName(String domainName) voidvoidsetHomologyId(Integer homologyId) voidsetIdenticalSequenceFamilyId(Integer identicalSequenceFamilyId) voidvoidsetLikeSequenceFamilyId(Integer likeSequenceFamilyId) voidvoidsetOrthologousSequenceFamilyId(Integer orthologousSequenceFamilyId) voidsetResolution(Double resolution) voidsetSegments(List<CathSegment> segments) voidsetSequence(String sequence) voidsetSequenceFamilyId(Integer sequenceFamilyId) voidsetSequenceHeader(String sequenceHeader) voidvoidvoidsetTopologyId(Integer topologyId) voidsetVersion(String version) Convert to a canonical SubstructureIdentifier.toString()
- 
Field Details- 
serialVersionUID- See Also:
 
 
- 
- 
Constructor Details- 
CathDomainpublic CathDomain()
 
- 
- 
Method Details- 
getDomainName
- 
setDomainName
- 
getThePdbIdReturns the PDB ID.
- 
getPdbIdAndChainReturns a string of the formPDBID.CHAIN. For example:1hiv.A.
- 
getDomainId
- 
getClassId
- 
setClassId
- 
getArchitectureId
- 
setArchitectureId
- 
getTopologyId
- 
setTopologyId
- 
getHomologyId
- 
setHomologyId
- 
getSequenceFamilyId
- 
setSequenceFamilyId
- 
getOrthologousSequenceFamilyId
- 
setOrthologousSequenceFamilyId
- 
getLikeSequenceFamilyId
- 
setLikeSequenceFamilyId
- 
getIdenticalSequenceFamilyId
- 
setIdenticalSequenceFamilyId
- 
getDomainCounter
- 
setDomainCounter
- 
getLength
- 
setLength
- 
getResolution
- 
setResolution
- 
setCATH
- 
getCATH
- 
setSOLID
- 
getSOILD
- 
getClassificationId
- 
getFormat
- 
setFormat
- 
getVersion
- 
setVersion
- 
getDate
- 
setDate
- 
getName
- 
setName
- 
getSource
- 
setSource
- 
getSequenceHeader
- 
setSequenceHeader
- 
getSequence
- 
setSequence
- 
getSegments
- 
setSegments
- 
getComment
- 
setComment
- 
toString
- 
getChainsReturns the chains this domain is defined over; contains more than 1 element only if this domains is a multi-chain domain.- Throws:
- StructureException
 
- 
getIdentifierDescription copied from interface:StructureIdentifierGet the String form of this identifier. It is recommended that the toString() method also return the identifier, for consistency during serialization.- Specified by:
- getIdentifierin interface- StructureIdentifier
- Returns:
- The String form of this identifier
 
- 
toCanonicalDescription copied from interface:StructureIdentifierConvert to a canonical SubstructureIdentifier.This allows all domains to be converted to a standard format String. - Specified by:
- toCanonicalin interface- StructureIdentifier
- Returns:
- A SubstructureIdentifier equivalent to this
- Throws:
- StructureException- Wraps exceptions that may be thrown by individual implementations. For example, a SCOP identifier may require that the domain definitions be available for download.
 
- 
reduceDescription copied from interface:StructureIdentifierTakes a complete structure as input and reduces it to the substructure represented by this StructureIdentifier.The returned structure may be a shallow copy of the input, with shared Chains, Residues, etc. - Specified by:
- reducein interface- StructureIdentifier
- Parameters:
- input- A full structure, e.g. as loaded from the PDB. The structure ID should match that returned by getPdbId(), if applicable.
- Returns:
- Throws:
- StructureException
 
- 
loadStructureDescription copied from interface:StructureIdentifierLoads a structure encompassing the structure identified. The Structure returned should be suitable for passing as the input toStructureIdentifier.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. - Specified by:
- loadStructurein interface- StructureIdentifier
- Parameters:
- cache- A potential sources of structures
- Returns:
- A Structure containing at least the atoms identified by this, or null if Structures are not applicable.
- Throws:
- StructureException- For errors loading and parsing the structure
- IOException- Errors reading the structure from disk
 
 
-