Hi.
I wrote a batch script to load three bam files at a time (I'm doing trio analysis) and take snapshots of given locations.
The problem I'm having is that the track heights for of the three panels seem to be random. Sometimes one track will take up the whole screen and the other two are squished at the bottom, and sometimes all three are evenly distributed.
Usually, the first load looks good, but each subsequent load has randomly sized track heights.
I've extensively changed the Tracks Preferences for default height before running the script (I've tried multiple different values, etc), and I've also used the MaxPanelHeight (again with multiple values) command in my script-- they both seem to do nothing.
How can I solve this so that they are all evenly sized so that I can see a maximum amount of data for all three?
I'm running IGV 2.2 and the latest version of java 7 either on my Mac or on a linux server with X11 forwarding-- same issues with both.
I tried using an earlier version of IGV for testing, 1.5, and placing a "goto All" line after "new" seemed to help a little bit, but it wasn't consistent. (also, "goto All" in IGV 2.2 does not go to the whole chromosome view anymore-- it goes to chr2).
Can anybody help?
Thanks,
Jason
Here's an example of my script:
new
snapshotDirectory /path/to/dir
maxPanelHeight <some integer--it doesn't seem to matter what number>
load /path/to/bam1,/path/to/bam2,/path/to/bam3
goto chr19:3113483
collapse
snapshot
new
snapshotDirectory /path/to/dir
load /path/to/bam4,/path/to/bam5,/path/to/bam6
goto chr15:32928983
collapse
snapshot
new
etc........