question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update docs and code to require loqusdb version >= 2.5 if used

See original GitHub issue

This is may be less of a bug report and more of a support issue. But there are some bugs in this as well which I may add to an other issue.

Since the move to using the CLI for LoqusDB we have not been able to configure it properly. We’ve added this to the config.py:

LOQUSDB_SETTINGS = dict(
    binary_path="/correct/path/to/loqusdb"
)

But at this point:

https://github.com/Clinical-Genomics/scout/blob/750c805cefba3e06ca5737d021d71b69bec694e0/scout/server/blueprints/variant/views.py#L53-L57

current_app.config[“LOQUSDB_SETTINGS”] is not set. So data[“observations”] is not populated. I tried printing the whole dictionary and it is really not there!

However if I add {{config}} anywhere in variant.html, it shows that LOQUSDB_SETTINGS is set according to the values in config.py. Why are the config data different in these two places? Do I need to configure loqusdb somewhere else as well?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ewelscommented, Mar 18, 2020

Ugh, click and its locale settings 🤦‍♂ I would be careful about writing that py3.7 is a requirement - might be worth checking that it wasn’t to do with creating or changing your environment somehow (as a side effect of updating to 3.7). I’ve seen similar bugs crop up and be fixed with some extremely random behaviour in the past. No tips really apart from trial and error. See this old PR: https://github.com/bioconda/bioconda-recipes/pull/5541 for some previous experience if it helps.

1reaction
bjhallcommented, Mar 18, 2020

Just FYI, I solved the locale/encoding problem by updating to Python 3.7. Maybe it should be noted somewhere that python>=3.7 is a requirement for loqusdb if you want the scout integration to work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clinical-Genomics/loqusdb: A simple observation count ...
These instructions were written and tested using a conda environment with a version of Python >=3.9, which is required by the installer file...
Read more >
Loqusdb: added value of an observations database of local ...
In conclusion, we show that a local frequency database is an attractive, and a necessary addition to the publicly available databases that ...
Read more >
Changelog - BALSAMIC documentation
Issue 448 with lingering tmp_dir. It is not deleted after analysis is properly finished. Changed¶. All variant calling rules use proper tumor.merged.bam ...
Read more >
(PDF) Loqusdb: Added value of an observations database ...
PDF | Background: Exome and genome sequencing is becoming the method of choice for ... databases loqusdb can be updated continuously and does...
Read more >
VarNote Documentation
You are expected to see java version "1.8.x" or above. If not, you may need to update your version; see the Oracle Java...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found