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

Error when reading a VCF 4.3 file with spaces in INFO field values #1667

Open
jkmatila opened this issue May 26, 2023 · 1 comment
Open

Error when reading a VCF 4.3 file with spaces in INFO field values #1667

jkmatila opened this issue May 26, 2023 · 1 comment

Comments

@jkmatila
Copy link

According to the VCF 4.3 specification, spaces are allowed in INFO field values (unlike in VCF 4.2). However, trying to parse such a file fails with an error message "The VCF specification does not allow for whitespace in the INFO field", which seems to come from AbstractVCFCodec.java:515.

See VCF 4.3 spec, Section 1.6.1:

  1. INFO — [...] Space characters are allowed in values.
@cmnbroad
Copy link
Collaborator

cmnbroad commented Jun 1, 2023

Yes, thanks for reporting this. This is fixed in #1581 (and the commit with the fix is also in #1596).

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