-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
The pileup.c code implicitly relies on alphabetical ordering of the SQ entries in the input sam/bam header, at least for the tsv display.
The data columns in the tsv file are displayed in rows corresponding to the order of the SQ entries in the header. However, the names in the rows are always alphabetized.
This leads to wrong association of names versus data if the entries in the header are not in alphabetical order.
How to reproduce? Create a bam input with header SQ lines for chr1 and chr2 and corresponding data. Then re-run with only the two header SQ lines in opposite order (chr2 before chr1). The tsv output will then display the chr1 data under name chr2 and the chr2 data under name chr1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels