-
Notifications
You must be signed in to change notification settings - Fork 354
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
Ensure only MuTect 1.1.5+ is used when doing tumor analysis #104
Conversation
it reports the GATK version it is based on instead: until this is fixed, we use a hack knowing that 1.1.4 is based on GATK 2.2 and 1.1.5 on GATK 2.7.
if self._mutect_version is None: | ||
self._set_default_versions(self._config) | ||
if self._mutect_version is not None: | ||
return self._mutect_version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could skip the explicit version checking of the jar and just use the value generated in _set_default_versions(). This is derived from the jar name, which is just another hack but at least we're only hacking the version in one way. Then I'd just return assert that _mutect_version is not None and return that value. We can add an explicit version check if they add it in the future.
Luca; |
As you requested, I removed the running and relied only on the cached version. Let me know if this is what you meant. |
Ensure only MuTect 1.1.5+ is used when doing tumor analysis
Luca -- looks great. Thanks again for adding this in. |
This pull request implements a version check that raises a
ValueError
in case MuTect's version is less than 1.1.5 (1.1.4 had Java incompatibilities), and removes the "error hacks".Unfortunately, due to an issue (broadinstitute/mutect#5) MuTect doesn't properly report its version, so a rather stupid hack is used instead.
Please review and comment on whether this is a good approach.