Added a gff output option. Cleaned up the peak trimming