tools-devteam icon indicating copy to clipboard operation
tools-devteam copied to clipboard

Unsorted BAM output for bwa mem?

Open dpryan79 opened this issue 8 years ago • 2 comments

We have a HiC-related tool that's available in Galaxy that requires SAM/BAM input that is not coordinate sorted. As input, we normally use BAM files produced by bwa mem, which work well except for the fact that one needs to undo the coordinate sorting. Would people be open to me making a PR that adds a "do not sort the output BAM file" option? I would propose to hide this under a conditional (as is done with all of the "analysis_type" stuff currently) and have it default to "No", so people are less likely to accidentally select it.

This would save people time and disk space when doing this sort of analysis.

dpryan79 avatar Jul 25 '17 12:07 dpryan79

I would support this, but we should perhaps also introduce an unsorted BAM datatype for this purpose.

mvdbeek avatar Jul 25 '17 13:07 mvdbeek

I think the new datatype ship has already sailed, though that would be a nice orthogonal change.

dpryan79 avatar Jul 25 '17 13:07 dpryan79