moved all scientific stuff into a module that can be used by the 1000genomes web code