Skip to content

Commit 5099a7e

Browse files
committed
merging with upstream
2 parents 50ba1fb + c693411 commit 5099a7e

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

structure/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ Chapter 12 - Bonds
5353

5454
Chapter 13 - [Special Cases](special.md)
5555

56+
Chapter 14 - [Lists](lists.md) of PDB IDs and PDB [status information](lists.md).
5657
Chapter 14 - Working with representative subsets of PDB
5758

5859

60+
61+
5962
### Author:
6063

6164
[Andreas Prlić](https://github.com/andreasprlic)

structure/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ You can add the BioJava repository by adding the following XML to your project p
2525
-->
2626
<groupId>org.biojava</groupId>
2727
<artifactId>biojava3-structure</artifactId>
28-
<version>3.0.8-SNAPSHOT</version>
28+
<version>3.0.8</version>
2929
</dependency>
3030
<!-- if you want to use the visualisation tools you need also this one: -->
3131
<dependency>
3232
<groupId>org.biojava</groupId>
3333
<artifactId>biojava3-structure-gui</artifactId>
34-
<version>3.0.8-SNAPSHOT</version>
34+
<version>3.0.8</version>
3535
</dependency>
3636
<!-- other biojava jars as needed -->
3737
</dependencies>

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)