Skip to content

Commit c1c45fb

Browse files
committed
explaining chain -> seqres -> atom groups
1 parent 7f5ea04 commit c1c45fb

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

structure/seqres.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ The sequence that has been used in the experiment is stored in the **Seqres** re
2222

2323
The **Atom** records provide coordinates where it was possible to observe them.
2424

25+
<pre>
26+
Seqres groups -> sequence that has been used in the experiment
27+
Atom groups -> subset of Seqres groups for which coordinates could be obtained
28+
</pre>
29+
2530
The *mmCIF/PDBx* file format contains the information how the Seqres and atom records are mapped onto each other. However the *PDB format* does not clearly specify how to resolve this mapping. BioJava contains a utility class that maps the Seqres to the Atom records when parsing PDB files. This class performs an alignment using dynamic programming, which can slow down the parsing process. If you do not require the precise Seqres to Atom mapping, you can turn it off like this:
2631

2732
```java
@@ -35,6 +40,21 @@ The *mmCIF/PDBx* file format contains the information how the Seqres and atom re
3540

3641
```
3742

43+
## Accessing Seqres and Atom groups
44+
45+
By default BioJava loads both the Seqres and Atom groups into the [Chain](http://www.biojava.org/docs/api/org/biojava/bio/structure/Chain.html)
46+
objects.
47+
48+
<pre>
49+
Chain -> Seqres groups
50+
-> Atom groups
51+
</pre>
52+
53+
Groups that are part of the Seqres sequence as well as of the Atom records are mapped onto each other. This means you
54+
can iterate over all Seqres groups in a chain and check, if they have observed atoms.
55+
56+
57+
3858
## Mapping from Uniprot to Atom records
3959

4060
The mapping between PDB and UniProt changes over time, due to the dynamic nature of biological data. The [PDBe](http://www.pdbe.org) has a project that provides up-to-date mappings between the two databases, the [SIFTs](http://www.ebi.ac.uk/pdbe/docs/sifts/) project.

0 commit comments

Comments
 (0)