If no chromorder is given, this PR makes sure that that data loaded by BAM files is returned in its "natural" order (e.g. "chr1", "chr2",..., "chr10", "chr11",... "chrX", "chrY", "chrM".
Why is it necessary?
So that the behavior is consistent with bigWig and bigBed files.
Description
What was changed in this pull request?
If no chromorder is given, this PR makes sure that that data loaded by BAM files is returned in its "natural" order (e.g. "chr1", "chr2",..., "chr10", "chr11",... "chrX", "chrY", "chrM".
Why is it necessary?
So that the behavior is consistent with bigWig and bigBed files.
Fixes #___
Checklist
black .