added collapseTranscripts to collate