multi-threading the WGS metrics tool