Added ploidy calling to Haloplex pipeline.