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

VariantEval Error if output file does not pre-exist #5674

Closed
1 of 2 tasks
kloot opened this issue Feb 14, 2019 · 1 comment
Closed
1 of 2 tasks

VariantEval Error if output file does not pre-exist #5674

kloot opened this issue Feb 14, 2019 · 1 comment
Assignees

Comments

@kloot
Copy link

kloot commented Feb 14, 2019

Bug Report

Affected tool(s) or class(es)

VariantEval, -O, --output

Affected version(s)

  • Latest public release version [4.1.0.0]
  • Latest master branch as of [date of test?]

Description

Program starts then terminates with error:
***********************************************************************
A USER ERROR has occurred: Couldn't read file file:///[.....]/X034.eval.grp. Error was: It doesn't exist.
***********************************************************************

Note: The error is not thrown, and VariantEval completes successfully, if a zero-byte file with the name passed with the -o or --output arguments is created before executing VariantEval
For this example: touch X034.eval.grp

Steps to reproduce

Command line:
gatk VariantEval -R $ref -L autosomes.list --eval W034.raw.annotated.vcf.gz --dbsnp dbsnp.vcf.gz -O X034.eval.grp

Expected behavior

Expect the program to create its own output file (as other GATK tools do)

Actual behavior

Terminates with error (above)


@cmnbroad cmnbroad self-assigned this Feb 14, 2019
@cmnbroad
Copy link
Collaborator

cmnbroad commented Feb 14, 2019

Yup, thx for the report. Unfortunately our test framework always creates an output file first, so it doesn't catch this. Should be an easy fix.

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