Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: tsorter fails to sort sequence BLAST links #189

Open
ChrisKeefe opened this issue Sep 28, 2018 · 0 comments
Open

BUG: tsorter fails to sort sequence BLAST links #189

ChrisKeefe opened this issue Sep 28, 2018 · 0 comments

Comments

@ChrisKeefe
Copy link
Collaborator

Bug Description
tsorter, the sort script used on visualizations produced by feature-table tabulate-seqs, fails to sort sequence links in an expected manner. Other column headers, when clicked, produce clean alphabetical sorts, but the "Sequence" column does not.

Steps to reproduce the behavior

  1. Open a .qzv produced by feature-table tabulate-seqs. (e.g. Moving Pictures)
  2. Click on column header "Sequence". Note that sequences alternate between "TACGT..." and "TACGG..." intermittently as you scroll.
  3. Click on the same column header again. Note the same behavior when sorted in reverse.
  4. Click on the "Feature ID" column header. Nice, clean sort.

Expected behavior
When user clicks the Sequence header, sequences sort alphabetically.

Computation Environment
Failure to sort appears on both OSX v? and LinuxMint 18.3 Cinnamon

Comments

  1. The problematic column contains a series of hrefs to NCBI BLAST. I have experimented with tsorter's data-tsorter="link" attribute, with no improvement in functionality. YMMV.
  2. If it proves easiest to replace tsorter here, the column sorter used in q2-metadata metadata-tabulate may be an option.

References

  1. Moving Pictures viz from feature-table tabulate-seqs
  2. Moving Pictures vis from q2-metadata metadata-tabulate
  3. source html for feature-table tabulate-seqs vis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant