-
Notifications
You must be signed in to change notification settings - Fork 587
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
samtools-1.6 and 1.9: plot-bamstats generates broken gnuplot script #1065
Comments
I am on Centos7 Linux. |
Looks like this behavior is specific to the most recent versions of gnuplot. @mmokrejs can you try if the script works after removing the extra |
@pd3 Sorry, I forgot to mention that explicitly, I did that already on the two places and it helped. That is actually why I wrote that supposedly the perl code does not output the |
Thanks. You don't happen to have the source file that was used to generate the stats by any chance? I failed to reproduce the problem with gnuplot 5.2 patchlevel 6. |
Right, I do: |
I can confirm this is a problem with 5.2.7 but not with 5.2.6. Unfortunately, versions prior to 5.2.7 require the two |
This is probably related to this fix in 5.2.7 (from the release notes) :
In 5.2.2 I can get it to work by putting a blank line between the end of the matrix and a single
Does that work in 5.2.7 as well? |
You mean this?
|
Try doing the same thing for the second matrix. |
Right.
Actually that is why I mentioned initially extraneous (or out-of-order) |
It works in 5.0.0 and 5.2.7, thanks! |
Hi Peter,
I am getting errors when gnuplot is executed on the script generated by plot-bamstats on Linux.
I tried also samtools-1.6 but it breaks on the same error (extraneous
end
commands in two places). It seems they are printed by the perl code due to some missing checks somewhere for some sections.I see in issue #183 that there is (or used to be) some develop branch, I will test it later.
plot-quals-hm.gp.txt
The text was updated successfully, but these errors were encountered: