fulcrumgenomics/fgbio

feature request: add option to FilterBam to write filtered reads to separate file

eboyden opened this issue · 0 comments

Self-explanatory. Useful for example for preserving unmapped reads, operating on aligned reads, and then adding the unmapped reads back to create a "lossless" bam. Command could be run serially if finer control is desired, e.g. permanently discard secondary alignments and preserve unmapped reads only.