Skip to content

Commit

Permalink
add option for sort by start location in the right click options (#1656)
Browse files Browse the repository at this point in the history
* add option for sort by start location in the right click options

* Update bamTrack.js

rearrange menu order

---------

Co-authored-by: Jim Robinson <933148+jrobinso@users.noreply.github.com>
  • Loading branch information
wilsonGen and jrobinso authored Jun 28, 2023
1 parent fdad3b5 commit 2b5b2fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/bam/bamTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,7 @@ class AlignmentTrack {
list.push('<b>Sort by...</b>')
list.push({label: '&nbsp; base', click: () => sortByOption("BASE")})
list.push({label: '&nbsp; read strand', click: () => sortByOption("STRAND")})
list.push({label: '&nbsp; start location', click: () => sortByOption("START")})
list.push({label: '&nbsp; insert size', click: () => sortByOption("INSERT_SIZE")})
list.push({label: '&nbsp; gap size', click: () => sortByOption("GAP_SIZE")})
list.push({label: '&nbsp; chromosome of mate', click: () => sortByOption("MATE_CHR")})
Expand Down

0 comments on commit 2b5b2fe

Please sign in to comment.