Vikram E. Chhatre


parse output from Hudson's ms

This python script will read output from Hudson's ms program and parse it. The resulting output file will have all segregating sites in a sample concatenated. For example, ms 4 3 -s 1 will generate 3 samples of 4 chromosomes each with one segregating site each. This script will put together all three segregating sites together so it can be used for further downstream analysis e.g. R.