Skip to content

Commit 24ba882

Browse files
authored
Update structure-data-model.md
1 parent 12a993e commit 24ba882

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

structure/structure-data-model.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The detection of the groups works really well in connection with the [Chemical C
126126

127127
## Entities and Chains
128128

129-
Entities (in the BioJava API called compounds) are the distinct chemical components of structures in the PDB.
129+
Entities are the distinct chemical components of structures in the PDB.
130130
Unlike chains, entities do not include duplicate copies and each entity is different from every other
131131
entity in the structure. There are different types of entities. Polymer entities include Protein, DNA,
132132
and RNA. Ligands are smaller chemical components that are not part of a polymer entity.
@@ -140,15 +140,15 @@ and beta. Each of the entities has two copies (= chains) in the structure. IN 4H
140140
has the two chains with the IDs A, and C and beta the chains B, and D. In total, hemoglobin is
141141
built up out of four chains.
142142

143-
This prints all the compounds/entities in a structure
143+
This prints all the entities in a structure
144144
```java
145145
Structure structure = StructureIO.getStructure("4hhb");
146146

147147
System.out.println(structure);
148148

149-
System.out.println(" # of compounds (entities) " + structure.getCompounds().size());
149+
System.out.println(" # of compounds (entities) " + structure.getEntityInfos().size());
150150

151-
for ( Compound entity: structure.getCompounds()) {
151+
for ( EntityInfo entity: structure.getEntityInfos()) {
152152
System.out.println(" " + entity);
153153
}
154154
```

0 commit comments

Comments
 (0)