Apologies for missing data - this was already confirmed by @jkbonfield .
samtools sort -n sorts on name. Its secondary sort does not guarantee that within-group (the same read with multiple alignments) the primary alignment sorts before secondary and supplementary alignments. This affects stream processing as the primary alignment has the read sequence.
Apologies for missing data - this was already confirmed by @jkbonfield .
samtools sort -nsorts on name. Its secondary sort does not guarantee that within-group (the same read with multiple alignments) the primary alignment sorts before secondary and supplementary alignments. This affects stream processing as the primary alignment has the read sequence.