@@ -54,8 +54,11 @@ public class AsaCalculator {
5454
5555 private static final Logger logger = LoggerFactory .getLogger (AsaCalculator .class );
5656
57- // Bosco uses as default 960, Shrake and Rupley seem to use in their paper 92 (not sure if this is actually the same parameter)
58- public static final int DEFAULT_N_SPHERE_POINTS = 960 ;
57+ /**
58+ * The default value for number of sphere points to sample.
59+ * See this paper for a nice study on the effect of this parameter: https://f1000research.com/articles/5-189/v1
60+ */
61+ public static final int DEFAULT_N_SPHERE_POINTS = 1000 ;
5962 public static final double DEFAULT_PROBE_SIZE = 1.4 ;
6063 public static final int DEFAULT_NTHREADS = 1 ;
6164
@@ -112,10 +115,11 @@ public void run() {
112115 * Constructs a new AsaCalculator. Subsequently call {@link #calculateAsas()}
113116 * or {@link #getGroupAsas()} to calculate the ASAs
114117 * Only non-Hydrogen atoms are considered in the calculation.
115- * @param structure
116- * @param probe
117- * @param nSpherePoints
118- * @param nThreads
118+ * @param structure the structure, all non-H atoms will be used
119+ * @param probe the probe size
120+ * @param nSpherePoints the number of points to be used in generating the spherical
121+ * dot-density, the more points the more accurate (and slower) calculation
122+ * @param nThreads the number of parallel threads to use for the calculation
119123 * @param hetAtoms if true HET residues are considered, if false they aren't, equivalent to
120124 * NACCESS' -h option
121125 * @see StructureTools#getAllNonHAtomArray
0 commit comments