Package org.biojava.nbio.structure.cath
Class CathInstallation
java.lang.Object
org.biojava.nbio.structure.cath.CathInstallation
- All Implemented Interfaces:
CathDatabase
- Author:
- Daniel Asarnow
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCathInstallation(String cacheLocation) CathInstallation(String cacheLocation, boolean usingCDDF, boolean parseCF) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voiddownloadFileFromRemote(URL remoteURL, File localFile) protected voidvoidvoidvoidvoidfilterByCathCode(String query) Return list of CATH descriptions whose CATH codes (e.g. 1.4.6.10) start with the query.filterByDescription(String query) Return list of CATH descriptions whose descriptions (name field) starts with the query.filterByNodeName(String query) Return list of CATH domains whose node name (e.g.getByCategory(CathCategory category) Return list of CATH descriptions for node representatives at a CATH category (e.g.getCathNode(String nodeId) Return the CathNode for a node ID.Return the CATH release version.getDescriptionByCathId(String cathId) Return CATH description for CATH domain ID.getDescriptionByNodeId(String nodeId) Return CATH description for node representative by node ID.getDomainByCathId(String cathId) Return CATH domain for CATH domain ID.getDomainsByNodeId(String nodeId) Return all CATH domains for a particular CATH node.getDomainsForPdb(String pdbId) Return all CATH domains for a PDB ID.getFragmentsByPdbId(String pdbId) getTree(CathDomain domain) Return the CATH sub-tree for a particular domain.voidsetCacheLocation(String cacheLocation) voidsetCathDownloadUrl(String cathDownloadUrl) voidsetCathVersion(String cathVersion) voidsetInstalledDomainDescription(AtomicBoolean installedDomainDescription) voidsetInstalledDomainList(AtomicBoolean installedDomainList) voidsetInstalledDomall(AtomicBoolean installedDomall) voidsetInstalledNodeList(AtomicBoolean installedNodeList)
-
Field Details
-
DEFAULT_VERSION
- See Also:
-
domainListFileName
- See Also:
-
domainDescriptionFileName
- See Also:
-
nodeListFileName
- See Also:
-
domallFileName
- See Also:
-
CATH_DOWNLOAD_URL
- See Also:
-
CATH_DOWNLOAD_ALL_RELEASES_DIR
- See Also:
-
CATH_DOWNLOAD_CLASSIFICATION_DATA_DIR
- See Also:
-
NEWLINE
-
FILESPLIT
-
-
Constructor Details
-
CathInstallation
-
CathInstallation
-
CathInstallation
public CathInstallation()
-
-
Method Details
-
getDomainListFileName
-
getDomainDescriptionFileName
-
getNodeListFileName
-
getDomallFileName
-
getCathDownloadUrl
-
setCathDownloadUrl
-
getCacheLocation
-
setCacheLocation
-
getInstalledDomainList
-
setInstalledDomainList
-
getInstalledDomainDescription
-
setInstalledDomainDescription
-
getInstalledNodeList
-
getInstalledDomall
-
setInstalledNodeList
-
setInstalledDomall
-
getCathVersion
Description copied from interface:CathDatabaseReturn the CATH release version.- Specified by:
getCathVersionin interfaceCathDatabase- Returns:
- CATH version
-
getCathNode
Description copied from interface:CathDatabaseReturn the CathNode for a node ID.- Specified by:
getCathNodein interfaceCathDatabase- Parameters:
nodeId-- Returns:
- CATH node
-
getByCategory
Description copied from interface:CathDatabaseReturn list of CATH descriptions for node representatives at a CATH category (e.g. "T").- Specified by:
getByCategoryin interfaceCathDatabase- Parameters:
category-- Returns:
- CATH descriptions
-
filterByCathCode
Description copied from interface:CathDatabaseReturn list of CATH descriptions whose CATH codes (e.g. 1.4.6.10) start with the query. This is currently redundant with getDescriptionsByNodeId.- Specified by:
filterByCathCodein interfaceCathDatabase- Parameters:
query-- Returns:
- CATH descriptions
-
getTree
Description copied from interface:CathDatabaseReturn the CATH sub-tree for a particular domain.- Specified by:
getTreein interfaceCathDatabase- Parameters:
domain-- Returns:
- CATH sub-tree
-
filterByNodeName
Description copied from interface:CathDatabaseReturn list of CATH domains whose node name (e.g. Orthogonal Bundle) starts with the query.- Specified by:
filterByNodeNamein interfaceCathDatabase- Parameters:
query-- Returns:
- CATH domains
-
filterByDescription
Description copied from interface:CathDatabaseReturn list of CATH descriptions whose descriptions (name field) starts with the query.- Specified by:
filterByDescriptionin interfaceCathDatabase- Parameters:
query-- Returns:
- CATH descriptions
-
getDescriptionByNodeId
Description copied from interface:CathDatabaseReturn CATH description for node representative by node ID.- Specified by:
getDescriptionByNodeIdin interfaceCathDatabase- Parameters:
nodeId-- Returns:
- CATH description
-
getDomainsForPdb
Description copied from interface:CathDatabaseReturn all CATH domains for a PDB ID.- Specified by:
getDomainsForPdbin interfaceCathDatabase- Parameters:
pdbId-- Returns:
- CATH domains
-
getDomainByCathId
Description copied from interface:CathDatabaseReturn CATH domain for CATH domain ID.- Specified by:
getDomainByCathIdin interfaceCathDatabase- Parameters:
cathId-- Returns:
- CATH domain
-
getDescriptionByCathId
Description copied from interface:CathDatabaseReturn CATH description for CATH domain ID.- Specified by:
getDescriptionByCathIdin interfaceCathDatabase- Parameters:
cathId-- Returns:
-
getDomainsByNodeId
Description copied from interface:CathDatabaseReturn all CATH domains for a particular CATH node.- Specified by:
getDomainsByNodeIdin interfaceCathDatabase- Parameters:
nodeId-- Returns:
-
getFragmentsByPdbId
- Specified by:
getFragmentsByPdbIdin interfaceCathDatabase
-
downloadFileFromRemote
- Throws:
IOException
-
downloadDomainListFile
- Throws:
IOException
-
downloadDomainDescriptionFile
- Throws:
IOException
-
downloadNodeListFile
- Throws:
IOException
-
downloadDomallFile
- Throws:
IOException
-
ensureDomainListInstalled
-
ensureDomainDescriptionInstalled
-
ensureNodeListInstalled
-
ensureDomallInstalled
-
setCathVersion
-