Skip to content

Commit 46c4e73

Browse files
author
Andreas Prlic
committed
new page for working with PDB status
1 parent a4c9844 commit 46c4e73

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

structure/lists.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Lists of PDB IDs and PDB Status Information
2+
3+
## Get a list of all current PDB IDs
4+
5+
The following code connects to one of the PDB servers and fetches a list of all current PDB IDs.
6+
7+
```java
8+
SortedSet<String> currentPDBIds = PDBStatus.getCurrentPDBIds();
9+
```
10+
11+
## The current status of a PDB entry
12+
13+
The following provides information about the status of a PDB entry
14+
15+
```java
16+
Status status = PDBStatus.getStatus("4hhb");
17+
18+
// get the current ID for an obsolete entry
19+
String currentID = PDBStatus.getCurrent("1hhb");
20+
```
21+

0 commit comments

Comments
 (0)