10-stage mg-rast pipeline template