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.

Href passing to IGV too large - refactor jinja URL build

See original GitHub issue

Passing href to IGV is a large chunk of nearly identical information. Is there a way to make Jinja accept a higher order structure?

Reference: https://github.com/Clinical-Genomics/scout/pull/1548#discussion_r370552457

Example:

<a class="btn btn-outline-secondary btn-sm" href="/igv?sample=NA12878&amp;build=37&amp;bam=%2FUsers%2FMikael%2FWork%2Fgenomes%2FHG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam&amp;bam=%2FUsers%2FMikael%2FWork%2Fgenomes%2FHG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam&amp;bam=%2FUsers%2FMikael%2FWork%2Fgenomes%2FHG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam&amp;bai=%2FUsers%2FMikael%2FWork%2Fgenomes%2FHG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam.bai&amp;bai=%2FUsers%2FMikael%2FWork%2Fgenomes%2FHG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam.bai&amp;bai=%2FUsers%2FMikael%2FWork%2Fgenomes%2FHG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam.bai&amp;rhocall_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;rhocall_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;rhocall_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;rhocall_wig=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest.bw&amp;rhocall_wig=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest.bw&amp;rhocall_wig=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest.bw&amp;tiddit_coverage_wig=&amp;upd_regions_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;upd_regions_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;upd_regions_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;upd_sites_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;upd_sites_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;upd_sites_bed=%2FUsers%2FMikael%2FWork%2Fscout_dev2%2Fscout%2Fscout%2Fdemo%2Ftest_upd.sites.bed&amp;contig=7&amp;start=124491922&amp;stop=124492022&amp;center_guide=T" target="_blank">IGV viewer</a>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dnilcommented, Jan 24, 2020

Ah, actually it’s not the igv.js call directly that is the Problem. It’s one step before! We are quite free to modify our view in alignviewers to accept post requests, which would take care of the absolute length issue.

0reactions
northwestwitchcommented, Jan 24, 2020

What about creating a soft link to the folder where the data is?

But it’s not a good solution 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

scout/CHANGELOG.md at main · Clinical-Genomics ... - GitHub
Fix the link to Ensembl for SV variants when genome build 38. Arrange information in columns on variant page; Fix so that new...
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
EasyBuild v4.6.2 documentation (release 20221021.0)
The latest version of EasyBuild provides support for building and installing 2,798 different software packages, including 37 different (compiler) toolchains ...
Read more >
conda-forge - :: Anaconda.org
A software package for algebraic, geometric and combinatorial problems... 7za, 9.20, LGPL, X, A file archiver with a high compression ratio. 7zip, 19.00 ......
Read more >
Debian -- Source Packages in "sid"
... gnome-panel (3.46.0-1); gnome-pass-search-provider (0.0~20191115+da2db41-1.1) ... golang-github-tent-http-link-go (0.0~git20130702.0.ac974c6-6) ...
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