Package org.biojava.nbio.structure.rcsb
Class PdbIdLists
- java.lang.Object
-
- org.biojava.nbio.structure.rcsb.PdbIdLists
-
public class PdbIdLists extends java.lang.ObjectUtility classes for retrieving lists of PDB IDs.- Since:
- 4.2.0
- Author:
- Andreas Prlic
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICELOCATION
-
Constructor Summary
Constructors Constructor Description PdbIdLists()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.InputStreamdoPOST(java.net.URL url, java.lang.String data)do a POST to a URL and return the response stream for further processing elsewhere.static java.util.Set<java.lang.String>getAllViruses()Get the PDB IDs of all virus structures in the current PDBstatic java.util.Set<java.lang.String>getCurrentPDBIds()get the list of current PDB IDsstatic java.util.Set<java.lang.String>getGagPolyproteins()get all PDB IDs of gag-polyproteinsstatic java.util.Set<java.lang.String>getNMRStructures()get list of all current NMR structuresstatic java.util.Set<java.lang.String>getNucleotides()static java.util.Set<java.lang.String>getRibosomes()static java.util.Set<java.lang.String>getTransmembraneProteins()get all Transmembrane proteinsstatic voidmain(java.lang.String[] args)static java.util.Set<java.lang.String>postQuery(java.lang.String xml)post am XML query (PDB XML query format) to the RESTful RCSB web service
-
-
-
Field Detail
-
SERVICELOCATION
public static final java.lang.String SERVICELOCATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCurrentPDBIds
public static java.util.Set<java.lang.String> getCurrentPDBIds() throws java.io.IOExceptionget the list of current PDB IDs- Returns:
- list of current PDB IDs
- Throws:
java.io.IOException
-
getAllViruses
public static java.util.Set<java.lang.String> getAllViruses() throws java.io.IOExceptionGet the PDB IDs of all virus structures in the current PDB- Returns:
- list of all virus structures
- Throws:
java.io.IOException
-
getNMRStructures
public static java.util.Set<java.lang.String> getNMRStructures() throws java.io.IOExceptionget list of all current NMR structures- Returns:
- list of NMR structures
- Throws:
java.io.IOException
-
getGagPolyproteins
public static java.util.Set<java.lang.String> getGagPolyproteins() throws java.io.IOExceptionget all PDB IDs of gag-polyproteins- Returns:
- list of PDB IDs
- Throws:
java.io.IOException
-
getTransmembraneProteins
public static java.util.Set<java.lang.String> getTransmembraneProteins() throws java.io.IOExceptionget all Transmembrane proteins- Returns:
- list of PDB IDs
- Throws:
java.io.IOException
-
getNucleotides
public static java.util.Set<java.lang.String> getNucleotides() throws java.io.IOException- Throws:
java.io.IOException
-
getRibosomes
public static java.util.Set<java.lang.String> getRibosomes() throws java.io.IOException- Throws:
java.io.IOException
-
postQuery
public static java.util.Set<java.lang.String> postQuery(java.lang.String xml) throws java.io.IOExceptionpost am XML query (PDB XML query format) to the RESTful RCSB web service- Parameters:
xml-- Returns:
- a list of PDB ids.
- Throws:
java.io.IOException
-
doPOST
public static java.io.InputStream doPOST(java.net.URL url, java.lang.String data) throws java.io.IOExceptiondo a POST to a URL and return the response stream for further processing elsewhere.- Parameters:
url-- Returns:
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args)
-
-