Skip to content

Commit

Permalink
Add TemplateCoordinate sort order to the usage of SortBam (#993)
Browse files Browse the repository at this point in the history
* Add TemplateCoordinate sort order to the usage of SortBam
  • Loading branch information
nh13 authored May 30, 2024
1 parent d5b38ca commit 8d31cf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scala/com/fulcrumgenomics/bam/SortBam.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ import com.fulcrumgenomics.util.Io
|and several
|4. **RandomQuery**: sorts the reads into a random order but keeps reads with the same
| queryname together. The ordering is deterministic for any given input.
|5. **TemplateCoordinate**: The sort order used by `GroupReadByUmi`. Sorts reads by
| the earlier unclipped 5' coordinate of the read pair, the higher unclipped 5' coordinate of the
| read pair, library, the molecular identifier (MI tag), read name, and if R1 has the lower
| coordinates of the pair.
|
|Uses a temporary directory to buffer sets of sorted reads to disk. The number of reads kept in memory
|affects memory use and can be changed with the `--max-records-in-ram` option. The temporary directory
Expand Down

0 comments on commit 8d31cf3

Please sign in to comment.