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

svtk vcfcluster creates lists of INFO values when Number = 1 #659

Open
epiercehoffman opened this issue Mar 26, 2024 · 1 comment
Open
Labels

Comments

@epiercehoffman
Copy link
Collaborator

When svtk vcfcluster merges records, it creates lists of INFO values from the member records, even when the Number for the INFO key defined in the header is 1 (link). This can create issues down the line when the INFO values don't match the Number, so this behavior should be fixed.

@mwalker174
Copy link
Collaborator

I think the best options are:

  1. Choose a representative record and fill unrecognized fields with that or
  2. Use empty value .

The latter is a bit "safer" in terms of possibly propagating bad information. This issue could take significant time/testing to ensure it doesn't cause any issues downstream of CombineBatches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants