timoast / sinto

Tools for single-cell data processing
https://timoast.github.io/sinto/
MIT License
112 stars 24 forks source link

Is the bam filtered by barcodes still sorted? #66

Closed jase11 closed 2 months ago

jase11 commented 2 months ago

Hello, I used sinto filterbarcodes to split CellRanger's position-sorted bam file in multiprocess mode.

Even though there is a "SO:coordinate" tag in the output bam file, I would like to know if the contents of bam are still sorted by positions/coordinates, given the parallelization of the splitting and merging.

timoast commented 2 months ago

Yes, it is still sorted