Sphere Generation
From Rizzo_Lab
Analyzing number of spheres
Average number of spheres from reorg_testset. This works because wc -l prints the total number of lines at the end. The -1 removes the first line in the sph files which is not a sphere coordinate.
wc -l */002_spheres/cut10_max400/*.rec.clust.close.sph | tail -1 | awk '{print $1/781-1}'