-
Notifications
You must be signed in to change notification settings - Fork 369
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
UpdateVcfSequenceDictionary cannot write index #863
Comments
@ronlevine even better, if the output file is |
@ronlevine I have added a potential fix into htsjdk so that |
Reverted the non-test changes from #741 and fixed/expanded tests on https://github.com/broadinstitute/picard/compare/rhl_uvsd_fix_stdout. samtools/htsjdk#933 should fix the stdout test failure. |
I checked out both your htsjdk and picard branches and got the following when testing it:
|
The Picard branch should get that NPE since the htsjdk fix from nh_vcf_to_stdout is not yet in. Update nh_vcf_to_stdout and try again, it should work fine. nh_vcf_to_stdout runs without error locally for me as well as on travis, the automated testing framework. |
Still getting the NPE. I checked out the branch in htsjdk, ran |
I am getting the same error. VCFWriter is trying to write a buffer to a null |
I made a change in
The following command successfully wrote to stdout without error: |
@ronlevine can you take a look at this? |
@cmnbroad feel like taking this one too? |
@ronlevine looks like you introduced a bug, can you fix? Try writing it to a file with
CREATE_INDEX=true
. Since you wrapped it with an output stream :/. I am curious as to why the change was made at all, since shouldn'tVariantContextWriterBuilder.determineOutputTypeFromFile
handle this? What was the original problem?https://github.com/broadinstitute/picard/blob/master/src/main/java/picard/vcf/UpdateVcfSequenceDictionary.java#L92-L99
The text was updated successfully, but these errors were encountered: