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

Using dbtitle in blast-results.js is awkward #321

Open
mpoelchau opened this issue Feb 9, 2021 · 0 comments
Open

Using dbtitle in blast-results.js is awkward #321

mpoelchau opened this issue Feb 9, 2021 · 0 comments
Assignees
Labels

Comments

@mpoelchau
Copy link
Contributor

So if I understand blast-results.js correctly (and I might not), it uses the title field in blast_blastdb to build the URL string that will display the blast results in the genome browser (jbrowse/apollo). The title field value is (I think) automatically generated from the fasta file path in manage.py addblast. Usually we can add in just the file name, and, if you're in the i5k root directory, you're good, but it is not unreasonable to assume that sometimes we'll forget that and use the full path when we're loading the data. That breaks the URL generated in blast-results.js, since it's looking for a file with the extra file path info loaded in.

Is there a more elegant way to handle this? I guess we could update manage.py addblast to also add the title - or instead perhaps blast-results.js could strip the path info from the fasta url path info?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants