Added options for selecting the threshold and whether alignments are included in the output