public interface PdbWebService
The Interface for the RCSB PDB WebService.
A number of different functions are provided. The most important one is the runXmlQuery(java.lang.String), which allows to run any of the RCSB advanced queries via SOAP.
| Method Summary | |
|---|---|
String |
blastPDB(String sequence,
double eCutOff,
String matrix,
String outputFormat)
BLASTs the given sequence against the sequences in the RCSB PDB and returns the output |
String |
blastPDB(String structureId,
String chainId,
double eCutOff,
String matrix,
String outputFormat)
BLASTs the sequence of the given chain against the sequences in the RCSB PDB and returns the output |
String |
blastQueryXml(String sequence,
double eCutOff)
BLASTs the given sequence against the sequences in the RCSB PDB and returns the output as XML |
String |
blastStructureIdQueryXml(String structureId,
String chainId,
double eCutOff)
BLASTs the sequence of the given chain against the sequences in the RCSB PDB and returns the output as XML |
String[] |
fastaQuery(String sequence,
double eCutOff)
Runs FASTa against the given sequence and returns an array of matching PDB IDs |
String[] |
fastaStructureIdQuery(String structureId,
String chainId,
double eCutOff)
Runs FASTa against the sequence of the given chain and returns an array of matching PDB IDs |
Atom_siteWS |
getAtomSite(String structureId)
Returns the first atom site object for a structure. |
Atom_siteWS[] |
getAtomSites(String structureId)
Returns the atom site objects for a structure. |
int |
getChainLength(String structureId,
String chainId)
Finds the length of the given chain. |
String[] |
getChains(String structureId)
Finds all the chain identifiers for a given structure. |
String |
getCifChain(String structureId,
String chainId)
Converts author-assigned chain identifiers into their corrected (mmCIF) equivalents. |
int |
getCifChainLength(String structureId,
String chainId)
|
String[] |
getCifChains(String structureId)
Finds all the mmCIF chain identifiers for a given structure. |
int |
getCifResidue(String structureId,
String chainId,
String residueId)
Converts an author-assigned residue identifier into its corrected (mmCIF) equivalent. |
String[] |
getCurrentPdbIds()
Finds all the PDB Identifiers (aka PDB IDs) that are "current" structures - not obsolete, models, etc. |
String[] |
getDbRefIds(String in0,
String in1,
String in2)
|
String |
getDisorder(String in0,
String in1)
|
DomainFragmentWS[] |
getDomainFragments(String structureId,
String chainId,
String method)
Find all structural protein domain fragments for a given structureId |
String[] |
getEcNums()
Finds all the Enzyme Classification numbers associated with all PDB strucutures |
String[] |
getEcNumsForStructures(String[] structureIds)
Finds all the Enzyme Classification numbers associated with the given PDB strucutures. |
int[] |
getEntities(String structureId)
Finds the mmCIF entity IDs for a given structure |
String[] |
getGenomeDetails()
Finds genome details for all PDB structures |
String |
getIdStatus(String structureId)
Finds the status of the given structure - one of CURRENT, OBSOLETE, UNRELEASED, MODEL, or UNKNOWN |
String |
getKabschSander(String structureId,
String chainId)
Finds secondary structure for the given chain |
String[] |
getObsoletePdbIds()
Gets the list of obsolete PDB ids |
String |
getPdbChain(String in0,
String in1)
Finds the length of the given chain, where the chain identifier is the mmCIF version. |
String |
getPrimaryCitationTitle(String structureId)
For structures with a primary citation, will find the title of the citation |
String[] |
getPubmedIdForAllStructures()
Finds all the Pubmed IDs associated with PDB structures |
String |
getPubmedIdForStructure(String structureId)
Finds a Pubmed ID for the given structure. |
String[] |
getReleaseDates(String[] structureIds)
Finds the release dates for the given structures |
String |
getSequenceForStructureAndChain(String structureId,
String chainId)
Finds the sequence for the given chain |
SnpInfo[] |
getSnpInfo(String structureId)
Get SnpInfo for a PDB id |
String[] |
getSnps()
Return all PDBs that have SNPs in the database. |
String |
getSpaceGroupForStructure(String structureId)
Finds the symmetry.space_group_name_H_M field for a structure (see mmCIF dictionary for more info) |
String[] |
getStructureGenomicsPdbIds()
Finds info for structural genomics structures |
String[] |
getSwissProtIds()
Returns the mapping from PDB and chain ID to UniProtKB entries. |
int |
isStructureIdObsolete(String structureId)
Determines if the given structure is obsolete |
String[] |
keywordQuery(String keywordExpression,
boolean exactMatch,
boolean restrictToAuthors)
Runs a keyword query, like what would happen if you entered a search phrase in the search box at the top of the RCSB PDB web site. |
String[] |
pubmedAbstractQuery(String keywordExpression)
Runs a keyword query, like what would happen if you entered a search phrase in the search box on the Pubmed Abstract page (e.g., http://www.pdb.org/pdb/explore/pubmed.do?structureId=4HHB) |
String[] |
runXmlQuery(String xmlQuery)
This is the most important web service call provided by RCSB-PDB, since it allows to access all of the advanced search functionality via a web service. |
| Method Detail |
|---|
String[] runXmlQuery(String xmlQuery)
throws RemoteException
See also the RESTful web service documentation: /pdb/rest.
xmlQuery - The XML representing a RCSB advanced query.
RemoteException
String blastPDB(String sequence,
double eCutOff,
String matrix,
String outputFormat)
throws RemoteException
sequence - A protein sequenceeCutOff - See BLAST documentation for detailsmatrix - See BLAST documentation for detailsoutputFormat - See BLAST documentation for details
RemoteException
String blastPDB(String structureId,
String chainId,
double eCutOff,
String matrix,
String outputFormat)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain IdentifiereCutOff - See BLAST documentation for detailsmatrix - See BLAST documentation for detailsoutputFormat - See BLAST documentation for details
RemoteException
String blastQueryXml(String sequence,
double eCutOff)
throws RemoteException
sequence - A protein sequenceeCutOff - See BLAST documentation for details
RemoteException
String blastStructureIdQueryXml(String structureId,
String chainId,
double eCutOff)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain IdentifiereCutOff - See BLAST documentation for details
RemoteException
String[] fastaQuery(String sequence,
double eCutOff)
throws RemoteException
sequence - A protein sequenceeCutOff - See FASTa documentation for details
RemoteException
String[] fastaStructureIdQuery(String structureId,
String chainId,
double eCutOff)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain IdentifiereCutOff - See FASTa documentation for details
RemoteException
Atom_siteWS getAtomSite(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
Atom_siteWS[] getAtomSites(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
int getChainLength(String structureId,
String chainId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain Identifier
RemoteException
String[] getChains(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
String getCifChain(String structureId,
String chainId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An Author-Assigned Chain Identifier
RemoteException
String getPdbChain(String in0,
String in1)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An mmCIF Chain Identifier
RemoteException
int getCifChainLength(String structureId,
String chainId)
throws RemoteException
RemoteException
String[] getCifChains(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
int getCifResidue(String structureId,
String chainId,
String residueId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain IdentifierresidueId - An author-assigned Residue Identifier including insertion code (if present)
RemoteException
String[] getCurrentPdbIds()
throws RemoteException
RemoteException
DomainFragmentWS[] getDomainFragments(String structureId,
String chainId,
String method)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain Identifier (may be null if domain fragments of all chains are
required)method - A domain prediction method (one of 'SCOP', 'CATH', 'dp' and 'pdp' -- may be null if all are
required)
RemoteException - if the supplied PDB id is null, or if there was an internal server error
String[] getEcNums()
throws RemoteException
RemoteException
String[] getEcNumsForStructures(String[] structureIds)
throws RemoteException
structureIds - An array of PDB IDs
RemoteException
int[] getEntities(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
String[] getGenomeDetails()
throws RemoteException
RemoteException
String getIdStatus(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
String getKabschSander(String structureId,
String chainId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain Identifier
RemoteException
String getDisorder(String in0,
String in1)
throws RemoteException
RemoteException
String[] getDbRefIds(String in0,
String in1,
String in2)
throws RemoteException
RemoteException
String[] getObsoletePdbIds()
throws RemoteException
RemoteException
String getPrimaryCitationTitle(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
String[] getPubmedIdForAllStructures()
throws RemoteException
RemoteException
String getPubmedIdForStructure(String structureId)
throws RemoteException
structureId -
RemoteException
String[] getReleaseDates(String[] structureIds)
throws RemoteException
structureIds - An array of PDB IDs
RemoteException
String getSequenceForStructureAndChain(String structureId,
String chainId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)chainId - An author-assigned Chain Identifier
RemoteException
SnpInfo[] getSnpInfo(String structureId)
throws RemoteException
structureId -
RemoteException
String[] getSnps()
throws RemoteException
RemoteException
String getSpaceGroupForStructure(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
String[] getStructureGenomicsPdbIds()
throws RemoteException
RemoteException
String[] getSwissProtIds()
throws RemoteException
RemoteException
int isStructureIdObsolete(String structureId)
throws RemoteException
structureId - A PDB Structure Identifier (aka PDB ID)
RemoteException
String[] keywordQuery(String keywordExpression,
boolean exactMatch,
boolean restrictToAuthors)
throws RemoteException
keywordExpression - A search phrase - uses lucene syntaxexactMatch - determines if lucene should do an exact word match or notrestrictToAuthors - if true then only the author fields will be searched
RemoteException
String[] pubmedAbstractQuery(String keywordExpression)
throws RemoteException
keywordExpression - A search phrase - uses lucene syntax
RemoteException