Currently in the raw NGS pipelines there are a lot of steps for sorting/indexing/converting of BAM/SAM files. These steps can be encapsulated inside elements.
Improve NGS elements (rmdup, bam merge, Filter BAM) so that they understand input format and perform automatic converting/sorting/indexing.