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

Batch command bug (regarding goto for multi-loci view) #1676

Open
soymintc opened this issue Mar 18, 2025 · 5 comments
Open

Batch command bug (regarding goto for multi-loci view) #1676

soymintc opened this issue Mar 18, 2025 · 5 comments
Assignees
Milestone

Comments

@soymintc
Copy link

Previously in version 2.14.1, batch command with
goto 19:16780041-16782041 19:17553189-17555189
used to show two panels for the two regions, like

Image

However in version 2.19.2, batch command with the same goto line would just show the whole chromosome view which is kind of weird.

Image

@soymintc soymintc changed the title Batch command bug Batch command bug (regarding goto for multi-loci view) Mar 18, 2025
@helgathorv
Copy link
Contributor

It works for me. If you share a batch script that displays the error we can take a look.

@soymintc
Copy link
Author

soymintc commented Mar 18, 2025

@helgathorv Interesting. Thank you for the quick response! Here's the batch script I was trying out.
The first snapshot is being created fine (single locus), but the second snapshot with 2 loci creates the erroneous (semantically) output.
I wonder if I screwed up something in the batch script.
What's even more weird is that the same script used to work with 2.14.1; I realized that there was a semantic error only after I upgraded my IGV version to 2.19.2.

new
snapshotDirectory ./
genome hg19
load test/test_tumor.bam
load test/test_normal.bam
goto 8:32534767-32536767
squish
maxPanelHeight 200
snapshot 8-32534767-32536767.png
goto 19:16780041-16782041 19:17553189-17555189
squish
maxPanelHeight 200
snapshot 19-16780041-16782041.19-17553189-17555189.png
exit

@helgathorv
Copy link
Contributor

@soymintc Thanks for the test script. It does seem that there is a problem in the latest releases and we will look into it, but I don't have a timeline. In the meantime, 2.17.4 is the last release that does not have the problem, so if you want to update to a more recent version than 2.14.1 you can install 2.17.4 from here.

@helgathorv
Copy link
Contributor

For debugging: This script shows how the view is not updated when the goto command has multiple loci - except after the last command of the script.

setSleepInterval 1000
snapshotDirectory /Users/helga/Downloads/BatchTest2
goto 1:16780041-16782041 1:17553189-17555189
goto 2:16780041-16782041 2:17553189-17555189
goto 3:16780041-16782041 3:17553189-17555189
goto 8:16780041-16782041 
goto 7:16780041-16782041
goto 1:16780041-16782041 1:17553189-17555189
goto 2:16780041-16782041 2:17553189-17555189

@soymintc
Copy link
Author

@helgathorv Sounds great, thank you for looking into this matter quickly and providing me a workaround! Please feel free to close the ticket if you want.

@jrobinso jrobinso self-assigned this Mar 19, 2025
@jrobinso jrobinso added this to the 2.19.3 milestone Mar 19, 2025
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

3 participants