public class FlatFileInstallation extends java.lang.Object implements PDBInstallation
PrepareIndexFile| Modifier and Type | Field and Description |
|---|---|
static java.text.SimpleDateFormat |
dateFormat
Deprecated.
|
static java.lang.String |
DEFAUL_CHAIN_FILE
Deprecated.
|
static java.lang.String |
DEFAULT_INDEX_FILE
Deprecated.
|
static java.util.logging.Logger |
logger
Deprecated.
|
| Constructor and Description |
|---|
FlatFileInstallation(java.io.File filePath)
Deprecated.
create a new FlatFile Installation and point it to the directory that contains all PDB files
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPDBFilter(PDBFilter filter)
Deprecated.
add a filter for PDB files.
|
void |
applyFilters()
Deprecated.
|
void |
clearFilters()
Deprecated.
remove all filters, next time getAll is called, it will return all available PDBs
|
java.util.List<PDBHeader> |
getAll()
Deprecated.
get all PDBHeaders that pass the added Filters, if no filters have been added returns all available PDBs
|
java.io.File |
getChainInfoFile()
Deprecated.
|
java.io.File |
getFilePath()
Deprecated.
|
PDBHeader |
getPDBHeader(java.lang.String pdbId)
Deprecated.
get the PDB header for a single protein structure
|
java.io.File |
getPDBInfoFile()
Deprecated.
|
Structure |
getStructure(java.lang.String pdbId)
Deprecated.
request a structure by its PDB identifier
|
boolean |
hasNext()
Deprecated.
return if the iteration over all structures will return another structure
|
Structure |
next()
Deprecated.
iterate over all structures in this Installation that pass the provided filters and
return the next one in the list.
|
void |
setChainInfoFile(java.io.File chainInfoFile)
Deprecated.
|
void |
setFilePath(java.io.File filePath)
Deprecated.
|
void |
setPDBInfoFile(java.io.File indexFile)
Deprecated.
|
public static final java.util.logging.Logger logger
public static final java.lang.String DEFAULT_INDEX_FILE
public static final java.lang.String DEFAUL_CHAIN_FILE
public static java.text.SimpleDateFormat dateFormat
public FlatFileInstallation(java.io.File filePath)
filePath - public java.io.File getPDBInfoFile()
public void setPDBInfoFile(java.io.File indexFile)
public java.io.File getChainInfoFile()
public void setChainInfoFile(java.io.File chainInfoFile)
public java.io.File getFilePath()
public void setFilePath(java.io.File filePath)
public void addPDBFilter(PDBFilter filter)
PDBInstallationaddPDBFilter in interface PDBInstallationfilter - the filter to apply when getAll is being called.PDBInstallation.getAll()public void clearFilters()
PDBInstallationclearFilters in interface PDBInstallationpublic void applyFilters()
public java.util.List<PDBHeader> getAll()
PDBInstallationgetAll in interface PDBInstallationpublic PDBHeader getPDBHeader(java.lang.String pdbId)
PDBInstallationgetPDBHeader in interface PDBInstallationpublic Structure getStructure(java.lang.String pdbId)
PDBInstallationgetStructure in interface PDBInstallationpublic boolean hasNext()
PDBInstallationhasNext in interface PDBInstallationpublic Structure next()
PDBInstallationnext in interface PDBInstallation