Added code to run SGA error correction in assembly pipeline if SGA parameter is set