Skip to content

Commit f0ec3f2

Browse files
committed
Update crystal-contacts.md
1 parent 54dcfa6 commit f0ec3f2

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

structure/crystal-contacts.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
A protein structure is determined by X-ray diffraction by producing a crystal - an infinite lattice of molecules - of the protein. Thus the end result of the diffraction experiment is a crystal lattice and not just a single molecule. However the PDB file only contains the coordinates of the Asymmetric Unit, defined as the minimum unit needed to reconstruct the full crystal using symmetry operators.
66

7-
[here](http://www.wwpdb.org/news/news_2013.html#22-May-2013)
8-
9-
107

118
## Getting the set of unique contacts in the crystal lattice
129

@@ -21,11 +18,15 @@ This code snippet will produce a list of all non-redundant interfaces present in
2118

2219
CrystalBuilder cb = new CrystalBuilder(structure);
2320

21+
// 6 is the distance cutoff to consider 2 atoms in contact
2422
StructureInterfaceList interfaces = cb.getUniqueInterfaces(6);
23+
24+
System.out.println("The crystal contains "+interfaces.size()+" unique interfaces");
2525

26+
// this calculates the buried surface areas of all interfaces and sorts them by areas
2627
interfaces.calcAsas(3000, 1, -1);
2728

28-
// now interfaces are sorted by areas, we can get the largest interface in the crystal and look at its area
29+
// we can get the largest interface in the crystal and look at its area
2930
interfaces.get(1).getTotalArea();
3031

3132
```

0 commit comments

Comments
 (0)