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

igvtools count --minMapQuality command line option broken #16

Closed
sg550 opened this issue Sep 3, 2012 · 3 comments
Closed

igvtools count --minMapQuality command line option broken #16

sg550 opened this issue Sep 3, 2012 · 3 comments

Comments

@sg550
Copy link

sg550 commented Sep 3, 2012

Hi IGV Team,

There seems to be a command line parsing error in igvtools when using --minMapQuality option.

Program: igvtools. IGV Version 2.1.7 (2413)04/27/2012 11:47 PM

$ ~/src/IGVTools/igvtools count -z 5 -w 25 -e 250 --minMapQuality 1 test.bam test.tdf hg19
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at org.broad.igv.tools.IgvTools.run(IgvTools.java:297)
at org.broad.igv.tools.IgvTools.main(IgvTools.java:192)

Best regards,
Stefan

jsilter pushed a commit that referenced this issue Sep 4, 2012
MinMapQuality is now declared as an integer argument so it can be parsed correctly (was string). Add test for minMapQuality consistency across different strand options (BAM and wig only), just to make sure the argument is parsed.
@jsilter
Copy link
Contributor

jsilter commented Sep 4, 2012

Thanks for letting us know. Will be fixed in the next release

@jsilter jsilter closed this as completed Sep 4, 2012
@sg550
Copy link
Author

sg550 commented Oct 17, 2012

I have just downloaded and tested version 2.1.24 and it doesn't seem to be
fixed yet. I still get:

$ ~/src/IGVTools/igvtools count -z 5 -w 1000 -e 250 --minMapQuality 37
reads/Project_ALANGLEY/bam/Sample_ARL01_HiSeq.regions_excluded.bam
Sample_ARL01_HiSeq.regions_excluded.bam.wig hg19
Exception in thread "main" java.lang.ClassCastException: java.lang.String
cannot be cast to java.lang.Integer
at org.broad.igv.tools.IgvTools.run(IgvTools.java:297)
at org.broad.igv.tools.IgvTools.main(IgvTools.java:192)

BW,
Stefan

On 4 September 2012 16:03, Jacob Silterra notifications@github.com wrote:

Thanks for letting us know. Will be fixed in the next release


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-8266150.

@jsilter
Copy link
Contributor

jsilter commented Oct 17, 2012

Point releases don't contain all bugfixes. The fix is in the github source tree, and in the EA build of igvtools at http://www.broadinstitute.org/software/igv/download_dev.

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

2 participants