xyz2rch.hs Usage: ./xyz2rch.exe Haskell Script to convert a file of xyz coordinates to Recursive convex hulls Requires QHull to be installed: http://www.qhull.org/ Compile using Glasgow Haskell Compiler: http://www.haskell.org/ghc/ ghc -o xyz2rch.exe --make xyz2rch.hs Input is a comma separated file. Each line consists of the residue label and the x,y,z coordinates: R,5.009,32.3,50.934 T,4.452,31.426,46.229 D,2.951,36.717,47.185 C,8.597,37.815,46.045 Y,7.599,38.124,41.282 G,2.986,39.221,41.892 N,-1.372,37.625,42.536 V,-0.51,34.194,38.027 N,-5.453,35.209,40.525 R,-4.096,40.343,40.107 Usage: ./xyz2rch.exe Outputs (corresponding hull numbers -- one line per residue): 6 5 6 6 4 4 5 3 6 6 . . .