Skip to content

Commit ae2c3bd

Browse files
committed
Increasing the default num cells to explore in crystal reconstruction
1 parent 4c7c62e commit ae2c3bd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

biojava-structure/src/main/java/org/biojava/nbio/structure/xtal/CrystalBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ public class CrystalBuilder {
5959
// is enormously long in comparison with the dimensions of the unit cell, some interfaces come at the 7th neighbor.
6060
// After a scan of the whole PDB (Oct 2013) using numCells=50, the highest one was 4jgc with
6161
// interfaces up to the 11th neighbor. Other high ones (9th neighbors) are 4jbm and 4k3t.
62-
// We set the default value to 12 based on that (having not seen any difference in runtime)
63-
public static final int DEF_NUM_CELLS = 12;
62+
// We set the default value to 20 to be on the safe side. Runtime does not seem to be affected at all - JD 2020-01-12
63+
// Some good examples in this posting in CCP4: https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=CCP4BB;45b2755d.2001
64+
// in any case the 5m3h example in the posting seems to have contacts only up to the 11th neighbor.
65+
public static final int DEF_NUM_CELLS = 20;
6466

6567
/**
6668
* Default maximum distance between two chains to be considered an interface.

0 commit comments

Comments
 (0)