|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava.bio.structure.scop.RemoteScopInstallation
public class RemoteScopInstallation
A class that fetches information about SCOP from a remote data-source. It requires port 80 to open for HTTP connection.
| Field Summary | |
|---|---|
static String |
DEFAULT_SERVER
|
| Constructor Summary | |
|---|---|
RemoteScopInstallation()
|
|
| Method Summary | |
|---|---|
List<ScopDescription> |
filterByClassificationId(String query)
Get all scop descriptions that start with a classifcation ID, e.g. |
List<ScopDescription> |
filterByDescription(String query)
Get all scop descriptions that start with a certain name. |
List<ScopDomain> |
filterByDomainName(String query)
search through SCOP and filter based on domain name |
List<ScopDescription> |
getByCategory(ScopCategory category)
Get all records of a particular classification. |
ScopDomain |
getDomainByScopID(String scopId)
get a ScopDomain by its SCOP ID (warning, they are not stable between releases!) |
List<ScopDomain> |
getDomainsForPDB(String pdbId)
Get a list of ScopDomains that have been assigned to a PDB ID |
ScopDescription |
getScopDescriptionBySunid(int sunid)
Return the SCOP description for a node in the hierarchy by its "sunid" id. |
List<ScopDomain> |
getScopDomainsBySunid(Integer sunid)
Get a SCOP domain by its sunid |
ScopNode |
getScopNode(int sunid)
Access a particular ScopNode. |
String |
getScopVersion()
Returns the SCOP version |
String |
getServer()
|
List<ScopNode> |
getTree(ScopDomain domain)
get the SCOP sub-tree for a particular domain. |
static void |
main(String[] args)
|
void |
setServer(String server)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_SERVER
| Constructor Detail |
|---|
public RemoteScopInstallation()
| Method Detail |
|---|
public static void main(String[] args)
public String getServer()
public void setServer(String server)
public List<ScopDescription> getByCategory(ScopCategory category)
ScopDatabase
getByCategory in interface ScopDatabasecategory - e.g. "superfamily"
public List<ScopDescription> filterByClassificationId(String query)
ScopDatabase
filterByClassificationId in interface ScopDatabasepublic List<ScopNode> getTree(ScopDomain domain)
ScopDatabase
getTree in interface ScopDatabasepublic List<ScopDomain> filterByDomainName(String query)
ScopDatabase
filterByDomainName in interface ScopDatabasequery - a (part) of a name
public List<ScopDescription> filterByDescription(String query)
ScopDatabase
filterByDescription in interface ScopDatabasepublic ScopDescription getScopDescriptionBySunid(int sunid)
ScopDatabase
getScopDescriptionBySunid in interface ScopDatabasepublic List<ScopDomain> getDomainsForPDB(String pdbId)
ScopDatabase
getDomainsForPDB in interface ScopDatabasepdbId - the PDB entry
public ScopDomain getDomainByScopID(String scopId)
ScopDatabase
getDomainByScopID in interface ScopDatabasescopId - e.g. d2bq6a1
public ScopNode getScopNode(int sunid)
ScopDatabase
getScopNode in interface ScopDatabasesunid - the scop unique id
public String getScopVersion()
ScopDatabase
getScopVersion in interface ScopDatabasepublic List<ScopDomain> getScopDomainsBySunid(Integer sunid)
ScopDatabase
getScopDomainsBySunid in interface ScopDatabasesunid - the scop unique id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||